<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
	<title>jQuery Grid Plugin - jqGrid - Topic: Jquery Form Validation Plugin Not Working</title>
	<link>http://www.trirand.com/blog/?page_id=393/help/jquery-form-validation-plugin-not-working-5</link>
	<description><![CDATA[Grid plugin]]></description>
	<generator>Simple:Press Version 5.7.5.3</generator>
	<atom:link href="http://www.trirand.com/blog/?page_id=393/help/jquery-form-validation-plugin-not-working-5/rss" rel="self" type="application/rss+xml" />
        <item>
        	<title>nayanjyotionline on Jquery Form Validation Plugin Not Working</title>
        	<link>http://www.trirand.com/blog/?page_id=393/help/jquery-form-validation-plugin-not-working-5#p17455</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquery-form-validation-plugin-not-working-5#p17455</guid>
        	        	<description><![CDATA[<p>I try to validate a simple Form but the Jquery Validation Plugin not woking when I use only Button not The Submit Button.<br />
I can not use the Submit button there Because If I use submit Button After Submitting the form It take the Action and goes to Default page while my current form is comes from Ajax. I am very new to Jquery. Please Help its Urgent...<br />
I am giving the files here.<br />
index.html</p>
<p><html><br />
<head><br />
<script src="jquery.js"><br />
<script="jquery-validate-min.js"><br />
<script="validation.js><br />
</script></head><br />
<body></body></html></p>
<form id="contact_form">
<table>
<tr>
<th>Name</th>
<td><input name="name" /></td>
</tr>
<tr>
<th>E Mail</th>
<td><input name="email" /></td>
</tr>
<tr>
<th><input type="button" name ="submit" id="form_sub" onclick="save"/></th>
<td><input name="email" /></td>
</tr>
</table>
</form>
<p>
</p>
<p>Now the validation.js file</p>
<p>function save(){</p>
<p>$("#form_sub").click(function(){<br />
$("#contact_form").validate({<br />
'rules':{<br />
'name':{<br />
'required':true,<br />
'minlength':5<br />
},<br />
'email':{<br />
'required':true,<br />
'email':true<br />
}<br />
}<br />
})<br />
}</p>
<p>Everything works fine when we use input type="submit"...<br />
But it not working when we use input type="button"</p>
<p>Any Idea how can Fix this?<br />
I am new to Jquery ... Please Help</p>
]]></description>
        	        	<pubDate>Tue, 25 May 2010 22:49:12 +0300</pubDate>
        </item>
</channel>
</rss>