[jQuery] Re: Form Plugin issue with multiple submit buttons

2009-10-03 Thread Evgeny
perfect, thanks I got it fixed. On Oct 3, 6:39 am, Mike Alsup wrote: > > Sure, here it is. Thank you! > > >http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/... > > Ok, so here is the source for one of your forms: > > Administrator (1) > >     >     >     >     >     >  

[jQuery] Re: Form Plugin issue with multiple submit buttons

2009-10-03 Thread Mike Alsup
> Sure, here it is. Thank you! > > http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/... > Ok, so here is the source for one of your forms: Administrator (1) That is not valid markup. If you look at Firebug you will

[jQuery] Re: Form Plugin issue with multiple submit buttons

2009-10-02 Thread Evgeny
Sure, here it is. Thank you! http://test.nmrwiki.org/wiki/index.php?title=Special:People&command=/people/moderate/ there are many identical forms with different data. javascript submission goes to a different url -> to wsgi application, which is set in the script /pywiki/media/scripts/people.js

[jQuery] Re: Form Plugin issue with multiple submit buttons

2009-10-02 Thread Mike Alsup
> I've used $(#myform).ajaxForm(options) > method to make the form submittable with ajax. > > the problem is that no matter what button I click the > form data is the same and element is not > included > into the form data, as if it were not a "successul control". > > so at this point form doesn'

[jQuery] Re: Form Plugin issue

2009-09-11 Thread Mike McNally
If your AJAX call returns a fragment with a script tag in it, then dropping it into the page via the jQuery html(fragment) method should run the script. On Fri, Sep 11, 2009 at 9:36 AM, Jan wrote: > > I'm stuck with the same problem, i'm also trying return a 'partial > page' containing a script

[jQuery] Re: Form Plugin issue

2009-09-11 Thread Jan
I'm stuck with the same problem, i'm also trying return a 'partial page' containing a script tag with some javascript i would like to see excecuted .. I've tried the textarea suggestion but can't seem to get it to work (i tried the dataTypes 'json' and 'script' and even 'xml' out of sheer despera

[jQuery] Re: Form Plugin issue

2009-08-26 Thread Lay András
Hello! On Wed, Aug 26, 2009 at 9:04 PM, Mike Alsup wrote: > Kostya is correct.  Try embedding the response in a textarea element - > the plugin will automatically extract if for you and no escaping is > needed. This don't works, because response embedding in a textarea only needs, if the respon

[jQuery] Re: Form Plugin issue

2009-08-26 Thread Mike Alsup
> It looks like the problem is that the form is submitted into generated > Iframe, which doesn't have references to jquery or other JS libraries > that you might be using. Kostya is correct. Try embedding the response in a textarea element - the plugin will automatically extract if for you and n

[jQuery] Re: Form Plugin issue

2009-08-24 Thread kostjazz
It looks like the problem is that the form is submitted into generated Iframe, which doesn't have references to jquery or other JS libraries that you might be using. I'm not too sure if there is an easy way around it as my JS/jquery skills are far from perfect. One of the dodgy solutions that com

[jQuery] Re: Form Plugin issue

2009-08-24 Thread Lay András
Hello! On Mon, Aug 24, 2009 at 9:46 AM, kostjazz wrote: > Hi All, > > I also experience the very same problem. > > I also found that when it happens it submits the form twice. For me not need to submit twice the form, only one submit enough to produce the error. > I haven't tried upgrading the

[jQuery] Re: Form Plugin issue

2009-08-24 Thread kostjazz
Hi All, I also experience the very same problem. I also found that when it happens it submits the form twice. I haven't tried upgrading the version but the one I'm using is 2.10 (05/08/2008) Cheers Kostya

[jQuery] Re: Form Plugin Issue in IE (resolved, sort of)

2009-02-19 Thread James
Yeah, these are nasty alright. I had a hell of a time on someone's code where the input submit button's name was 'submit'. On Feb 19, 1:43 pm, Mike Alsup wrote: > > After spending literally hours tracking down the problem, I found it. > > One of the form's input name and id is set to 'length' in

[jQuery] Re: Form Plugin Issue in IE (resolved, sort of)

2009-02-19 Thread Mike Alsup
> After spending literally hours tracking down the problem, I found it. > One of the form's input name and id is set to 'length' in the HTML. > Once I changed it to something different, it worked fine. > > Has anybody seen this issue before? Ooh, that's nasty. You must have had fun with that one