jQuery.ajax({
type: 'POST',
dataType: 'html',
url: $url,
success: function(result)
{
result // html
jQuery.ajax({
type: 'GET',
dataType: 'script',
url: $url,
success: function(result)
{
//the result is js and is availble in browser if you return
//a function you can execute this now
}
});
}
});
Hope someone find his answer here :) gl & hf & nice day