javascript - Difference in onload from a 'link' or 'button' -
When I click on link , then I load a form. After saving, the form is reloaded with the edited values in the form. Is there any difference in loading both of these, which is loading the form with link and loading a form with the button is? The difference is when you load the hyperlink with new httprequest and a new request is made by the browser (client). When you submit the form using the button, it calls your form saving code and redirects to reload the same form which means that after submitting this form Redirects to httprequest and to redirect the server or httprequest to reload your code. Hyper link - & gt; Step 1 - & gt; Client to server - & gt; New request to load form button - & gt; Step 1 - & gt; Client to server - & gt; New request from submission - & gt; Then step 2 - & gt; Server to server - & gt; Request Loading
When I load the form I get value from Java Hashp for which the price is taken from the table. To save the form, I click on the button . Upon submitting, that value is changed to another table, so I can not use the key of the same hash mark and thus there is not a single variable within the value attribute of the input tag.
Comments
Post a Comment