JSFiddle - React, Tailwind, and code Playground

HTML

<div id="jsonp"></div>

JavaScript

$(function(){

        $.ajax({
            type:'get',
            dataType: 'jsonp',
            jsonp: 'callback',
            jsonpCallback: 'sotip_callback',
            cache:true,
            url: 'http://local.yahooapis.com/LocalSearchService/V3/localSearch?appid=YahooDemo&query=pizza&zip=10504&results=2&output=json',
            success: function (data) {
                $('#jsonp').html(data);
            }
        });


});
// open console, you can see "i != data.i".
/*chrome: Uncaught TypeError: Property 'sotip_callback' of object [object DOMWindow] is not a function*/
/*firefox: sotip_callback is not a function*/