|  | Posted by Steve on 03/30/07 04:47 
| In the exact order:|
 | The last update was to the HTML (form page).  I added:
 |
 | <meta http-equiv="Expires" content="Thu, 01 Dec 1994 16:00:00 GMT" />
 | <meta http-equiv="pragma-directive" content="no-cache" />
 |
 | Nothing else.  I continued refreshing and playing with it.
 |
 | Turn JavaScript on, submit, get true.
 | Turn JavaScript off, submit, sometimes get true again.
 | Refresh a thousand times (with JavaScript off) and finally get false.
 |
 | The main problem here was it showing me true, after turning JavaScript
 back off.
 |
 | Then: updated Firefox and NoScript (and HTML Validator).
 |
 | Came back from eating sushi, played with it, and saw that it updated each
 time.
 |
 | Turn JavaScript on, submit, get true.
 | Turn JavaScript off, submit, get false.
 | Repeat.
 |
 | Hope that was clear enough (because I still don't know what cleared it
 up).
 |
 | Thanks again.
 
 no problem. try this as your html. i used ie and my results were:
 
 array()
 back
 
 anyway, try this just for grins and giggles (note the removal of the xml tag
 and placement of the js):
 
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
 <head>
 <title></title>
 <meta http-equiv="content-type" content="text/html; charset=utf-8;" />
 <meta http-equiv="Expires" content="Thu, 01 Dec 1994 16:00:00 GMT" />
 <meta http-equiv="pragma" content="no-cache" />
 </head>
 <body>
 <form id="form1" action="test_for_js_server-side.php" method="post">
 <p id="form-p1">
 <input type="hidden" name="javascript_enabled" value="false" />
 <input type="text" name="text1" value="text 1" />
 <input type="text" name="text2" value="text 2" />
 <input type="text" name="text3" value="text 3" />
 <input type="submit" value="Submit" />
 </p>
 </form>
 </body>
 </html>
 <script type="text/javascript">
 form1.javascript_enabled.value = 'true';
 </script>
  Navigation: [Reply to this message] |