JQuery,ajax problem?
Posted
by user303832
on Stack Overflow
See other posts from Stack Overflow
or by user303832
Published on 2010-05-19T04:31:56Z
Indexed on
2010/05/19
4:40 UTC
Read the original article
Hit count: 245
jquery-ajax
Hello,I have one table,and when I click on row,it load some content in another table,problem is,when I first time click on row it loads just one time(message 'Some msg' and message 'Some other msg' is showen one time),when I click on other row,it loads twice(messages is shown twice),third time when I click on row it loads three times,ets.Here is my code.
$.ajax({
url:'<?php echo $full_path_ajax_php; ?>',
data:{'what':'2','mypath':'12345678'},
dataType:'json',
type: 'GET',
beforeSend:function(){alert('Some msg')},
success: function(){alert('Some other msg')}
});
return false;
Can someone help me please to understand this.Tnx in advance.
© Stack Overflow or respective owner