Note that there are some explanatory texts on larger screens.

plurals
  1. POJQuery button does not work
    text
    copied!<p>it use PHP, JQuery and HTML but the problem is in the button what use JQuery and HTML:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt; &lt;head&gt; &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8" /&gt; &lt;title&gt;New Aircraft Fleet&lt;/title&gt; &lt;link rel="stylesheet" type="text/css" href="./css/style.css"&gt; &lt;link rel="stylesheet" href="./css/flick/jquery.ui.all.css"&gt; &lt;script src="./jquery-ui.js"&gt;&lt;/script&gt; &lt;script src="./ui/jquery.ui.core.js"&gt;&lt;/script&gt; &lt;script src="./ui/jquery.ui.widget.js"&gt;&lt;/script&gt; &lt;script src="./ui/jquery.ui.button.js"&gt;&lt;/script&gt; &lt;script&gt; $(function() { $( "input[type=submit], a, button" ) .button() .click(function( event ) { event.preventDefault(); }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form action="new_aircraft_fleet_process.php" method="post"&gt; &lt;table&gt; &lt;tr&gt;&lt;td class="forms"&gt;Registration: &lt;/td&gt;&lt;td&gt;&lt;input maxlength="6" type="text" name="registration" size="15"/&gt;&lt;/td&gt;&lt;/tr&gt; &lt;tr&gt;&lt;td&gt;&lt;/td&gt;&lt;td&gt;&lt;input type="submit" value="Insert Submit"/&gt;&lt;/td&gt;&lt;/tr&gt; &lt;/table&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>The button does not work. If you push it, there isn't any reaction. I want what the button do the form.</p>
 

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