[jQuery] Preventing double submits

2009-10-13 Thread Mark Smith
Hi, I am using jQuery and blockUI to prevent the user from submitting a form twice by double clicking on the interface: This is in my global js file and is called on every pages document.ready: $('form').submit(function(){$.blockUI({message:'', overlayCSS: {opacity:0.2}})}); This was working r

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Mark Smith
> > page in it's response, parse for this and then use it - is that feasible? > > > SUBMIT FORM > > PARSE RESPONSE WHICH WILL CONTAIN NEW PAGE URL IN IT > > > window.location = newPage; > > > Regards, > > Michael Price > > > -Origin

[jQuery] Re: How to POST using jQuery?

2009-08-12 Thread Mark Smith
But then the page that gets served to the user with have no parameters posted to it. On Aug 12, 3:50 pm, Liam Potter wrote: > well, on the post callback, forward the browser to the page? > > window.location="/page.php" > > Mark Smith wrote: > > Hi, > > >

[jQuery] How to POST using jQuery?

2009-08-12 Thread Mark Smith
Hi, I know you can use jquery to post data from a json object ajaxly. However I want to redirect the browser to the new page (like submitting a form) only passing the values explicitly from javascript rather than actually submitting a form. Is this possible using jquery? Thanks

[jQuery] Select box .show problem

2009-06-05 Thread Mark Smith
Hi , I'm just trying jQuery out for the first time... Is this a bug in jQuery or am I doing something wrong? I am trying to chain together a bunch of drop down select boxes. Whenever I just use .hide() and .show() it works fine. But if I use .show("slow") it adds big gaps between some of the s