Hi guys.
I'm tryin tu import some html file using JQuery and it's impossible for me, also using the direct AJAX metod i can't do this.
Here is my code...
function GM_wait() {
if(typeof unsafeWindow.jQuery == 'undefined'){
window.setTimeout(GM_wait,100);
}
else {
$ = unsafeWindow.jQuery; letsJQuery();
}
}
GM_wait();
function letsJQuery() {
$(document).ready(function(){
alert("va"); //Works
$.get(working_url_of_my_file, function(data){
$(".column:last").prepend(data);
alert("yendo"); //Doesn't work :(
});
alert("fue"); //Works
});
}
Any idea??