Tech
Forums
Jobs
Books
Events
Live
Interviews
More
Learn
Training
Career
Members
Videos
News
Blogs
Login
Sign Up
Ask Question
4
Reply
User checked checkbox then enabled textbox using jquery
kalu singh rao
Sep 26 2014 3:05 AM
2.9k
Reply
Hi,
I am working on vb.net with jquery. I am generating dynamic table with checkbox and textbox. While generate table then i set disabled property for textbox. But right now i want to enabled when user can checked checkbox and user can enter value in textbox. If user can again unchecked then again disabled textbox for user. I want to do this using jquery but how can i apply for this.
This is my dynamically create table code.
<table id="MasterList" style="width:100%;" class="navigateable" border="1"><thead><tr><th class="thd"> </th><th style='display:none'>0ItemID</th><th class="thd">LedgerName</th><th class="thd">SerialFrom</th><th class="thd">SerialTo</th><th class="thd">Qty</th><th class="thd">Rate</th><th class="thd">AddQty</th></tr></thead><tbody><tr id="row0"><td width="0%" class="chk"><input type="checkbox"/></td><td style='display:none'>7</td><td style="white-space:nowrap;">SB FORMS</td><td style="white-space:nowrap;">1</td><td style="white-space:nowrap;">100</td><td style="white-space:nowrap;">10</td><td style="white-space:nowrap;">10.000000</td><td style="white-space:nowrap;" class="txt"><input type="textbox" disabled="disabled" id="txtbox1"/></td>
This is my dynamically create table image.
Any help will appreciate.Thank you
Upload Source Code
Select only zip and rar file.
Post
Reset
Cancel
Answers (
4
)
Next Recommended Forum
Jquery table doesn't show large data in aspx page
javascript to caluculate two textbox values and display