have written a code for textbox in jsp
[HTML]<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>[/HTML]
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?
[HTML]<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>[/HTML]
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