javascript - Getting ID from asp.net runat server in jQuery - Stack Overflow

javascript - Getting ID from asp.net runat server in jQuery - Stack Overflow

瀏覽:1433
日期:2025-04-26
Use Control.ClientIDMode Property Static so the HTML becomes and the js can call it as it is named of var value = $('#txtTest').val(); The problem with this solution is that you need to be very careful to avoid duplicity on the ......看更多