Friendly Url With Get Request Form
i have this simple html form:
Solution 2:
<inputtype="text"name="first"value=""id="first"><inputtype="text"name="second"value=""id="second"><inputtype="text"name="third"value=""id="third"><p><inputtype="button"value="Continue →"onclick="submitFriendly();"></p><scripttype="text/javascript">functionsubmitFriendly() {
window.location.href = window.location.href + document.getElementById('first').value + '/' + document.getElementById('second').value + '/' + document.getElementById('third').value;
}
</script>
This should work. It doesn't check if all inputs are filled.
Post a Comment for "Friendly Url With Get Request Form"