<?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</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/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#p17397</link>
        	<category>Help</category>
        	<guid isPermaLink="true">http://www.trirand.com/blog/?page_id=393/help/jquery-form-validation-plugin-not-working#p17397</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&#8230;<br />I am giving the files here. <br />index.html</p>
<p>&#60;html&#62;<br />&#60;head&#62;<br />&#60;script src="jquery.js"&#62;<br />&#60;script="jquery-validate-min.js"&#62;<br />&#60;script="validation.js&#62;<br />&#60;/head&#62;<br />&#60;body&#62;<br />&#60;form id="contact_form"&#62;<br />&#60;table&#62;<br />&#60;tr&#62;&#60;th&#62;Name&#60;/th&#62;&#60;td&#62;&#60;input name="name" /&#62;&#60;/td&#62;&#60;/tr&#62;<br />&#60;tr&#62;&#60;th&#62;E Mail&#60;/th&#62;&#60;td&#62;&#60;input name="email" /&#62;&#60;/td&#62;&#60;/tr&#62;<br />&#60;tr&#62;&#60;th&#62;&#60;input type="button" name ="submit" id="form_sub" onclick="save"&#62;&#60;/th&#62;&#60;td&#62;&#60;input name="email" /&#62;&#60;/td&#62;&#60;/tr&#62;<br />&#60;/table&#62;<br />&#60;/form&#62;<br />&#60;/body&#62;<br />&#60;/html&#62;</p>
<p>Now the validation.js file</p>
<p>function save(){</p>
<p>$("#form_sub").click(function(){<br />$("#contact_form").validate({<br />&#39;rules&#39;:{<br />&#39;name&#39;:{<br />&#39;required&#39;:true,<br />&#39;minlength&#39;:5<br />},<br />&#39;email&#39;:{<br />&#39;required&#39;:true,<br />&#39;email&#39;:true<br />}<br />}<br />})<br />}</p>
</p>
<p>Everything works fine when we use input type="submit"&#8230;<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>Mon, 24 May 2010 13:48:06 +0300</pubDate>
        </item>
</channel>
</rss>