I have written a code for textbox injsp
<td><input type="text" class="textBox" name="potCommis sion" id="potCommissi on" size="10" value='<%=commi ssion%>'
<% if(!commissionF lag.equals("NG" )){ %> disabled="true" <%}%> ></td>
whenever the page loads the textbox contains the same value the user has typed in. I want it to be defaulted it to '0.00' whenever the page is refreshed. any inputs?
<td><input type="text" class="textBox" name="potCommis sion" id="potCommissi on" size="10" value='<%=commi ssion%>'
<% if(!commissionF lag.equals("NG" )){ %> disabled="true" <%}%> ></td>
whenever the page loads the textbox contains the same value the user has typed in. I want it to be defaulted it to '0.00' whenever the page is refreshed. any inputs?
Comment