I need to modify few feature to a classic ASP page what has 7k+ line of code. In existing code, it has the following HTML code:
<input class="submit" type="submit" name="submit_addupdate" value="Submit">
The "Submit" button works fine with existing feature. But, this submit button doesn't response if I add "id" property to the above tag as follows:
<input class="submit" type="submit" name="submit_addupdate" id="submit_addupdate" value="Submit">
I could not find the cause why it doesn't work if I add same ID property as Name property. Though other classic ASP pages work fine with similar submit button with ID.
Please note that it also works if I write code with different ID property as follows:
<input class="submit" type="submit" name="submit_addupdate" id="submit_addupdate1" value="Submit">
Please let me what the probable cause might be.
submit_addupdate
? Also, have you checked the method of your form? You'll most likely needPOST
if you're going to work with the form data in that way. – Paul