I am creating a jQuery function that (at the moment) calls the function dynamically and prints it with a warning. with firefox, chrome: it works! when I try to use IE7 (first time), it fails. If I reload the page (F5) and repeat, it will work! o_o
I fully understand why this is happening. On my old website, I used the jquery-1.3.2.min.js library. On this I use jquery-1.4.2.js, and in fact it does not work. So what? Error in this new version?
amuses
EDIT
valid features (with Bryan Waters suggestions):
<a href="#" onClick="pmNew('1');return false">prova</a>
function pmNew(mexid) {
var time = new Date;
$.ajax({
type: 'POST',
cache: false,
url: './asynch/asynchf.php' + '?dummy=' + time.getTime(),
data: 'mexid='+escape(mexid)+'&id=pmnew',
success: function(msg) {
alert(msg);
}
});
return false;
}
if($_POST['id']=="pmnew") {
echo "please, i will just print this";
}
Fiddler: http://localhost/website, fiddler . http://ipv4.fiddler/website, , ajax . , , . mah... , ...