Hi
Value in alert gets displayed but it displays Blank Value in below code.
document.getElementById('txtBalancedScoreCardAreas').value = BalancedScoreCardAreas;
*
Thanks
Vishal JoshiPosted Oct 7, 2022, 7:52 AM
Hello
In asp.net runtime it will change id. you need to set ClientIDMode="Static". please check below code
Try to replace your code with above and same javascript code you writtern should work.
Thanks
Uday DodiyaPosted Oct 7, 2022, 4:24 AM
It simply means that the element was not found. If its
idvalue is "txtBalancedScoreCardAreas" (check it up, should beid="txtBalancedScoreCardAreas", and see how it looks in raw HTML on the client side, using "View Page Source"), the jQuery selector must be written as:LaxmikantPosted Oct 1, 2022, 12:20 AM
are you your text box id is - txtBalancedScoreCardAreas ? right click on your page select 'view source' and see the exact id of textbox. This id needs to be replaced