send get parameters using action attribute of form and even send the form elements
html
Solution
Use `hidden` input. This will work for get/post methods. Example:
<form id="update" action="ajaxify/modify.php">
<input type="hidden" name="id" value="5"/>
<input type="hidden" name="f" value="update"/>
<input type="text" name="edit" value="something"/>
<input type="submit" value="update"/>
</form>
Problem
I want to sent parameters using action and even the value of input name=edit parameters but only ``` ajaxify/modify.php?edit=something is sent instead of ajaxify/modify.php?f=update&id=5&edit=something ``` Is there any solution for this or I am doing some blunder. Please help me. ``` <form id="update" action="ajaxify/modify.php?f=update&id=5"> <input type="text" name="edit" value="something"/> <input type="submit" value="update"/> </form> ```