[jQuery] (Validation) How to submit a form without validating

2009-07-16 Thread mnaveed
Hi, I am using the Jquery validationss plugin for my form validations. Now I have a situation where I have two submit buttons in a single form (say button A and button B). For button A, I want to run validations but for button B I don't want to run the validations and submit the form without

[jQuery] Re: (Validation) How to submit a form without validating

2009-07-16 Thread mnaveed
Thanks Jörn , this is exactly what I need. On Jul 16, 12:57 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You can add a class=cancel to that button B. The plugin will then skip the validation. Jörn On Thu, Jul 16, 2009 at 9:05 AM, mnaveedmnaveed...@gmail.com wrote: Hi, I am

[jQuery] (Validation) how to add validation on a select box with auto post

2009-07-13 Thread mnaveed
Hi, I have a select box with and onchange event to get the data from serever, SELECT name=States id=Stateonchange=getData(this.value) Now i want to validate that if no value is selected from the above list, then it should not send the ajax request. How can i apply the Jquery

[jQuery] Re: Dynamic Links

2009-07-13 Thread mnaveed
sorry I did not clear my point, here is what i want to do, I am running a PHP for loop, which generates a table. In the table, I have a column in which links are generated with an onclick event and the item id is set as parameter, so it looks like this, for(x = 0; xitems.length; x++) // this

[jQuery] Re: (Validation) how to add validation on a select box with auto post

2009-07-13 Thread mnaveed
I am using the JQuery Validation plug in to validate my form. How can i do this with that? On Jul 13, 1:34 pm, 刘永杰 liuyongjie...@gmail.com wrote: is it difficult?$(#State).val() 2009/7/13 mnaveed mnaveed...@gmail.com Hi, I have a select box with and onchange event to get the data from

[jQuery] Dynamic Links

2009-07-12 Thread mnaveed
Hi, I am new to JQuery, can anyone help how to generate dynamic links. I have a loop which generate some links and for each, an onclick event is attached, calling a javascript method with some arguments. some thing like this, for(x = 0; xitems.length; x++) a href=#

[jQuery] JQuery Dynamic Validations issue.

2009-07-08 Thread mnaveed
Hi, I am using the JQuery validation plug in for form validations. My page contains a loop in which dynamic forms are generated and within each form some text fields are also dynamically generated. I have assigned the id and name attributes both to form and fields with dynamically appending a

[jQuery] Re: (Validate) - How to apply validations on dynamically generated forms.

2009-07-08 Thread mnaveed
Thanks Jorn, it work fine now...:) On Jul 7, 8:36 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: $(.commForm).each(function() {   $(this).validate(); }); The call tovalidateworks only with the first selected element, so you have to do an explicit loop. Jörn On Tue, Jul 7,

[jQuery] (Validate) - How to apply validations on dynamically generated forms.

2009-07-07 Thread mnaveed
Hi, I am using the JQuery validation plug in for form validations. My page contains a loop in which dynamic forms are generated and within each form some text fields are also dynamically generated. I have assigned the id and name attributes both to form and fields with dynamically appending a