Any help to let's me know how i can get the input text typed by user to include into the form post action? ex: <form method="post" action="images-XXXXXX.html"> <input name="keyword" size="30"> <input type="submit" class="button" value="Search"> </form> Code (markup): I want to have XXXXXX replaced by the keyword element. So when user type apple it post to images-apple.html JAP
I've not tested that, but it should work.. You must add a onsubmit event to the submit buttton. The code that should be executed onsubmit is something like that: document.forms[0].action = "images-"+document.forms[0].keyword.value+".html"; Code (markup):