Note that there are some explanatory texts on larger screens.

plurals
  1. POAuto Submitting the Form
    primarykey
    data
    text
    <p>I am facing one problem in the following code , Form is going to submit when i press enter in Keyword text field. there no such enter event bind in java script. Still this problem is happing</p> <p>But when I remove the <code>&lt;form&gt;</code> tag it works fine , </p> <p>Please help .. if there is any mistake</p> <pre><code>&lt;form action="" method="post" id="businessSearchForm" name="businessSearchForm"&gt; &lt;TABLE CELLPADDING="0" CELLSPACING="0" BORDER="0" HEIGHT="100%" WIDTH="100%" CLASS="searchproperty"&gt; &lt;TR&gt; &lt;TD ALIGN="left" COLSPAN="4" class="boldText"&gt;&amp;nbsp;Business Search&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt; &lt;TD ALIGN="left" WIDTH="20%" class="boldText"&gt;&amp;nbsp;Search For&lt;/TD&gt; &lt;TD WIDTH="25%"&gt;&lt;INPUT TYPE="radio" NAME="searchfor" VALUE="1" checked="checked"&gt;Product&amp;nbsp;&lt;INPUT TYPE="radio" NAME="searchfor" VALUE="2"&gt;Company&lt;/TD&gt; &lt;TD ALIGN="left" WIDTH="20%" class="boldText"&gt;&amp;nbsp;Business Type&lt;/TD&gt; &lt;TD WIDTH="30%"&gt;&amp;nbsp;&lt;SELECT NAME="businessType" ID="businessType" CLASS="dropDown"&gt;&lt;/SELECT&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt; &lt;TD ALIGN="left" class="boldText"&gt;&amp;nbsp;Country&lt;/TD&gt; &lt;TD&gt;&amp;nbsp;&lt;SELECT ID="country" NAME="country" CLASS="dropDown"&gt;&lt;/SELECT&gt;&lt;/TD&gt; &lt;TD ALIGN="left" class="boldText"&gt;&amp;nbsp;State&lt;/TD&gt; &lt;TD&gt;&amp;nbsp;&lt;SELECT ID="state" NAME="state" CLASS="dropDown"&gt;&lt;/SELECT&gt;&lt;/TD&gt; &lt;/TR&gt; &lt;TR&gt; &lt;TD ALIGN="left" class="boldText"&gt;&amp;nbsp;Keywords&amp;nbsp;&lt;span class="mendotory"&gt;*&lt;/span&gt;&lt;/TD&gt; &lt;TD COLSPAN="3"&gt;&amp;nbsp;&lt;INPUT TYPE="text" maxlength="40" SIZE="40" tabindex="1" name="keywords" id="keywords" value=""&gt;&amp;nbsp;&amp;nbsp;&lt;INPUT TYPE="button" CLASS="btn" VALUE="Search" ONCLICK="javascript:processBusinessSearch();"/&gt;&amp;nbsp;&lt;a href='#' onclick='javascript:clearBusinessSearch();' &gt;&lt;img src="images/clear.gif" border="0"&gt;&lt;/a&gt;&amp;nbsp;&lt;/TD&gt; &lt;/TR&gt; &lt;/TABLE&gt; &lt;/form&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload