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.
| LedgerName | SerialFrom | SerialTo | Qty | Rate | AddQty | |
|---|---|---|---|---|---|---|
| SB FORMS | 1 | 100 | 10 | 10.000000 |
Dorababu MekaPosted Sep 28, 2014, 9:10 AM
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm2.aspx.cs" Inherits="AjaxTab.WebForm2" %>
protected void btnCreate_Click(object sender, EventArgs e)
{
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl(""));
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl(""));
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl(""));
Panel1.Controls.Add(new LiteralControl("
Panel1.Controls.Add(new LiteralControl(""));
Panel1.Controls.Add(new LiteralControl("
}
Change as per your requirement
Dorababu MekaPosted Sep 28, 2014, 9:02 AM
kalu singh raoPosted Sep 26, 2014, 7:25 AM
Dorababu MekaPosted Sep 26, 2014, 5:01 AM