[jQuery] Ajax ie7 $.post
[jQuery] Ajax ie7 $.post
Hi folks
I tried make a simple ajax and didnt work in ie7. FF works fine.
<script>
$(document).ready(function(){
$("#submit").each(function(){
$(this).bind("click", function(){
$.post("../../../submitajax.php",
{
ts: $(".secure").attr("name"),
mytext:$("input#url").val(),
},
function(data){
$('#click10').remove();
$('.share').append(data);
}
);
});
});
});
</script>
I tested $("#submit").each(function(){ $(this).bind("click", function(){ ....
with alert and the "alert" works in ie7
but the problems should be in $.post because I let a debug(DebugBreak())open into my php file and $.post didnt send nothing to there.
I read some asnwers about "chache" and headers but I couldnt understand.
Regards
Mario Moura
macm