Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within HTML Pages with CSS and JavaScript
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
HTML Pages with CSS and JavaScript
Java script problem in firefox
Sai Prasad
Ranch Hand
Posts: 30
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Hi I am using jquery ajax to submit the page to
struts
action class. The same is working fine with ie but failed to work with firefox
Can anyone help me to solve this issue
Take No Challenge Lightly....
Strive for Excellence..!!!
Eric Pascarello
author
Posts: 15385
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Code please...
Eric
Sai Prasad
Ranch Hand
Posts: 30
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Eric Pascarello wrote:
Code please...
Eric
$(document).ready(function(){ $('#filtera').click(function(){ $.ajax({ url : "" , success : function (data) { $("#sampleTale").html(data); } }); }); });
Take No Challenge Lightly....
Strive for Excellence..!!!
Eric Pascarello
author
Posts: 15385
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Have you checked to see if an error was returned?
success : function (data) { $("#sampleTale").html(data); }, error : function(XMLHttpRequest, textStatus, errorThrown){ alert(textStatus + "\n" + errorThrown); }
Eric
Sai Prasad
Ranch Hand
Posts: 30
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
No, but the same is working fine in internet explorer and getting desired out put
Exact prob: when i click button in click function for the button is not identified by firefox
Take No Challenge Lightly....
Strive for Excellence..!!!
Eric Pascarello
author
Posts: 15385
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Well if the click function being called? Have you put an alert in there to see if it pops up?
If there an error in your JavaScript console? Have you used Firebug [http://www.getFirebug.com] to see what is going on?
What type of button is filtera? A submit button, A normal button, an image button, etc.
Eric
Sai Prasad
Ranch Hand
Posts: 30
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
it is ordinary button
<input id="filtera" class="button_css" type="button" value="Filter" />
i tried with alerts also...
No response in firefox
i am using firebug also
Take No Challenge Lightly....
Strive for Excellence..!!!
Eric Pascarello
author
Posts: 15385
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
So you did:
$(document).ready(function() { $('#filtera').click(function() { alert("here"); }); });
Eric
Sai Prasad
Ranch Hand
Posts: 30
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
yes exactly
Take No Challenge Lightly....
Strive for Excellence..!!!
Eric Pascarello
author
Posts: 15385
6
posted 15 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
does alert($('#filtera')); give you info?
You check its length?
Are you cached?
Is the ready being called?
Is there more than one id on the page with the same value?
There is nothing more I can really do for you, without more data to analyze.
Eric
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Strange problem. Formgetting submitted in firefox but not in IE
India Australia cricket
Kid in a bag
Merrill Lynch Or Lehman Brothers
Cricket: India vs. West Indies
More...