$.post does not work on server
Hi there,
the follwing script works fine on xampp at home:
- $(".SFV_I").live('click',function(event)
- {
-
- whereVal=$(this).attr("whereVal");
- vars=$(this).attr("vars");
- idHtml=$(this).attr("idHtml");
- alert("1111111");
- $.post("do/setFieldVal_Input.php", {whereVal:whereVal, vars:vars}, function(data)
- {
- alert("22222222");
- //document.getElementById('test').innerHTML=data;
- document.getElementById(idHtml).innerHTML=data;
- });
- event.preventDefault();
- });
but on the server it only reaches the first alert, the second does not show up. The Console in Firefox does not show any error???