Note that there are some explanatory texts on larger screens.

plurals
  1. POIssue using jquery on Internet Explorer
    primarykey
    data
    text
    <p>Jquery does not work on the Internet explorer . However it runs on other webbrowsers . The code which I wrote is </p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script type="text/javascript" src="http://code.jquery.com/jquery-1.4.2.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript"&gt; $(document).ready(function(){ $("#myform").validate({ debug: false, rules: { name: "required", email: { required: true, email: true } }, messages: { name: "Please let us know who you are.", email: "A valid email will help us get in touch with you.", }, submitHandler: function(form) { $.post('process.php', $("#myform").serialize(), function(data) { $('#results').html(data); }); } }); }); &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form name="myform" id="myform" action="" method="POST"&gt; &lt;label for="name" id="name_label"&gt;Name&lt;/label&gt; &lt;input type="text" name="name" id="name" size="30" value=""/&gt; &lt;br&gt; &lt;label for="email" id="email_label"&gt;Email&lt;/label&gt; &lt;input type="text" name="email" id="email" size="30" value=""/&gt; &lt;br&gt; &lt;input type="submit" name="submit" value="Submit"&gt; &lt;/form&gt; &lt;div id="results"&gt;&lt;div&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>process.php</p> <pre><code>&lt;?php print "Form submitted successfully: &lt;br&gt;Your name is &lt;b&gt;".$_POST['name']."&lt;/b&gt; and your email is &lt;b&gt;".$_POST['email']."&lt;/b&gt;&lt;br&gt;"; ?&gt; </code></pre> <p>How do I run this code on INTERNET EXPLORER .Any help is very much appreciated on this </p>
    singulars
    1. This table or related slice is empty.
    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