Thanks for reply.
I just figured out that since i have made "totTxt" as "Disabled=true" , whatever value i assign is not taken and reset to original value!!
Then i removed "Disabled=t rue" and made totTxt as Readonly=true. It worked fine.
User Profile
Collapse
-
Actual textbox value not getting set after setting value in Javascript
I set the value of Total texbox through javascript, and Total texbox does show the changed value.
But when i access the textbox while saving in the db, the value is reset to previous value (value before calling javascript). The textbox is in the GridView template column.
...Code:function Total(totTxt,sunTxt,monTxt) { var total=0; var tot=document.getElementById(totTxt); var
No activity results to display
Show More
Leave a comment: