Hi,
I'm working on upgrading UI for an existing web forms application; I have this line of code in an .aspx file:
<input type="text" id="txtCreditCardNumber" name="billing-cc-number" runat="server" class="form-control" placeholder="Credit Card Number" />
The html rendered for this line is below. As you can see, the value of "name" is replace by the value of id. I tried to add "clientidmode="static" to it, but it did not help. Can someone suggest a way that will prevent the value of "name" being changed here?
I want to keep the value of name as "billing-cc-number".
<input name="txtCreditCardNumber" type="text" Go to the complete details ...