I`m working with scriptaculous
The input goes to the JS which updates the datestr2 div with an image.Code:<script src='scriptaculous/prototype.js'></script> <script src='scriptaculous/scriptaculous.js'></script> <script language="JavaScript" type="text/javascript"> var ajax; function mydate2() { ajax = new Ajax.Updater( 'datestr2', // DIV id must be declared before the method was called 'getdate.php?namde="'+document.test.hey.value+'"', // URL { // options method:'post' }); } </script> <form name="test"> <p><input type="text" name="hey" id="hey" onChange="mydate2();" size="20"> </form> <div id="datestr2"></div>
Why won't it pass my input via the url?
Any help gets rep





Reply With Quote

