| Author |
Twice Ajax Call on Firefox
|
Abhijit Roy Chowdhury
Greenhorn
Joined: Feb 25, 2009
Posts: 4
|
|
In the form there is one textbox where user will enter a team & besides that there is a <input type='button'/> object is present.
After entering name, when button is clicked, ajax call is occurred, to check whether the name is present in Database.
-The problem is in firefox this calling occurs twice (internally), but in IE it is working fine, i.e. when button is clicked only one server request sent from ajax.
Can anybody shoot some pointer on this?
Thanks in advance.
|
Regards,
@bh!j!+
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56553
|
|
Maybe it might help to see the actual code? (be sure to use code tags)
|
[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
|
 |
pete stein
Bartender
Joined: Feb 23, 2007
Posts: 1561
|
|
cross-post: http://www.java-forums.org/web-frameworks/32027-twice-ajax-call-firefox.html
Original poster, please read the forum FAQ's and in particular this one: BeForthrightWhenCrossPostingToOtherSites
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56553
|
|
|
Please let us know when you've cross-posted a question to other forums.
|
 |
Abhijit Roy Chowdhury
Greenhorn
Joined: Feb 25, 2009
Posts: 4
|
|
|
Saturday, August 28, 2010 9:10:10 PM
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56553
|
|
|
Sarcasm will not endear you to the people who are best able to help you. I suggest a different strategy.
|
 |
Abhijit Roy Chowdhury
Greenhorn
Joined: Feb 25, 2009
Posts: 4
|
|
in jsp,
on clicking the button, i want to check the team name with database through a ajax call....
in firefox, this call happens twice.
- is it clear now?
Please note that, this reply is not cross-posted to any other forums.
can i have any suggestion now on ajax behavior?
|
 |
Bear Bibeault
Author and ninkuma
Marshal
Joined: Jan 10, 2002
Posts: 56553
|
|
|
Ignoring the attitude for the moment, it'd also be helpful if you would post the click hander, and how that handler is established.
|
 |
Lee' Bin
Greenhorn
Joined: May 12, 2010
Posts: 16
|
|
|
put your jquery code. i think it's somewhere worng.
|
 |
 |
|
|
subject: Twice Ajax Call on Firefox
|
|
|