I have this input in a form:
<input name="keywords" type="text" id="keywordSearch" value="Enter keywords / publication number" class="watermark" />
I then have an click function that gets called when the user submits the form. How do I get the value of the keywords and change it in the click submit function in my code behind?
Is it Form.keywords.value = ‘my keywords’;?
Use
Request.Form["keywords"]to retrieve the value that was posted.