urlkiller |
|
---|---|
Hi,
i got the following Problem with the Ajax call here:
$(document).ready(function(){
timestamp = 0;
/* updateMsg();
*/ $("form#myform").submit(function(){
$.post("plug.php?r=dashboard",{
message: $("#sendmessage").val(),
name: $("#gid").val(),
action: "postmsg",
x: $("#x").val(),
time: timestamp
}, function(xml) {
addMessages(xml);
$('#sendmessage').val('');
});
return false;
});
});
when submiting the form i got a complete browser freeze. i circled the problem around the security parameter var X everytime i want to use this i got the complete crash. anybody know where the problem is? URL shortener: <a href="http://bbm.li/!7AD5C7">http://bbm.li/!7AD5C7</a>
|