No problem. Re: How to set and get ASP.net MVC Hidden Field values. Found inside – Page 106iiEVENTARGUMENT.value = eventArgument; theform.submit(); } // ——> As you can see, there is nothing magic here. ... What the idoPostBack actually does is to set two hidden input controls, with the values passed in the input. Found insideWith this book, you will: Learn about AJAX and ASP.NET server controls included with Visual Studio 2008 Discover how to use the DataSource and data-bound controls in ADO.NET Use the new LINQ API and learn how to make use of it within ASP ... Here the SQL that I am generating from the query, Do it in php by using $id_action = $_POST["id_action"]. Note: While the value is not displayed to the user in the page's content . Don't tell someone to read the manual. Last post Sep 24, 2011 03:45 PM by tvb2727. I'm trying to set a hidden field within my jsp page with a value retrieved from my javascript. Whenever a couple suits and comes in love, circumstances require a little more thought This will likely look serious, nevertheless it truly rewards thewhen one or all of them have got children. There might be cases where you might want to set a field value without actually displaying the field on the issue collector. Mr. Malcoms function is working well with static grid. What to do? Solution 1. wrote a function to display confirm popup box which uses javascript .set's the value of hidden variable to true or false based on clicking OK or Cancel. Found inside – Page 249You might sometimes want to put more than one submit button on a single form, each instructing the server-side code to ... One common technique to accomplish this is to use JavaScript to set the value of a hidden field on the form, ... Found inside – Page 108Use the element with its type attribute set to hidden. 2. Supply the name and value pair you want to send to the form handler. Here's an example of markup for a hidden field: