[jQuery] Re: jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-25 Thread antcj...@gmail.com
ed that way. > > Another option, is calling preventDefault(); on the event BEFORE your > processing code, so the form won't post, even if an error/exception is > thrown. > > $('#myForm').submit(function(evt){ >    evt.preventDefault(); >    // Other code here > >

[jQuery] Re: jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-25 Thread antcj...@gmail.com
> Another option, is calling preventDefault(); on the event BEFORE your > processing code, so the form won't post, even if an error/exception is > thrown. > > $('#myForm').submit(function(evt){ >    evt.preventDefault(); >    // Other code here > > }); >

[jQuery] Re: jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-25 Thread antcj...@gmail.com
Hey,.. The problem seems weird.. The same page which worked well in IE is not working when I put the file into my server odibab.com and opened the page from IE. So, If i keep the same html page in my local windows and use It works But not when It is coming from odibab.com server. Any idea why t

[jQuery] Re: jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-25 Thread antcj...@gmail.com
Hi , As you said I put the try catch.. Again, I dint even see the alert msg :( It redirected the page to sell.php5 I am once again pasting the exactl code I have for your kind notice. ---

[jQuery] Re: jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-25 Thread antcj...@gmail.com
Hi Mike, Thanks a lot for your reply.. This is what I did exactly I just downloaded jquery.form.js from http://malsup.com/jquery/form/#download The following code works fine in IE (The returned XML from server is displayed through alert() ) But when I use the same code in Mozilla 3.0.6, I

[jQuery] jQuery Form Plugin not working in Mozilla 3.0.6!!

2009-02-25 Thread antcj...@gmail.com
Hi, I just downloaded jquery.form.js from http://malsup.com/jquery/form/#download The following code works fine in IE (The returned XML from server is displayed through alert() ) But when I use the same code in Mozilla 3.0.6, It fails. ( I am getting redirected to the sell.php5 page ) Can anyo

[jQuery] Re: jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-25 Thread antcj...@gmail.com
Hi Thanks for replying back. showRequest doesnt do anything. It just print the returned data. Hey one more thing I noted, this plugin works fine with IE but not Mozilla :( Any workaround?? Thanks On Feb 24, 4:45 am, Mike Alsup wrote: > > I am getting the output xml from the php in the same w

[jQuery] jQuery Form Plugin redirects even if I use return false in $('#myForm2').submit(function()

2009-02-23 Thread antcj...@gmail.com
Hi all, I am using jQuery Form Plugin to submit a form to my php. I am using ajaxSubmit to achieve the same. But when I used it like this, --- $(document).ready(function() { var options = { target:

[jQuery] jQuery Form Plugin redirects even if I use return false

2009-02-23 Thread antcj...@gmail.com
Hi all, I am using jQuery Form Plugin to submit a form to my php. I am using ajaxSubmit to achieve the same. But when I used it like this, --- $(document).ready(function() { var options = { target: