Hey guys,
I have a little problem with a simple ajax request. I can’t figure it out why jquery ajax method doesn’t work with the last version of chrome … on ff work great so as on opera but on chrome i don’t get any response and no errors. This is my js code:
function load(idno){
var url = 'index.php';
$.get(
url,
{
pagina:"ajax",
show:"cars",
brand:idno
},
function(data) { document.getElementById("model").innerHTML=data },
"html"
);
}
After a long long nith I’ve managed to resolve the problem. My JS code is good and maybe Phil’s too … I didn’t try that in this version but the real problem in Chrome is that onclick attributes on option tags aren’t allowed. So I made the event
and it is working great. Thank you Phil anyway.