Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
C#
var senderTitle11 = $(sender).attr("title11");
           $(".RoomActiveCkb").prop("checked", "True");

in var sendertitel11 store the value true or false set and i can find the sendertitel11 value in .cs file

And this value set in table checkbox how to set?

XML
<tr>
                                <td align="right">
                                    RoomActive :
                                </td>
                                <td>
                                    <asp:CheckBox ID="RoomActiveCkb" CssClass="RoomActiveCkb" runat="server"  />
                                </td>
                            </tr>



run the page but not checkbox checked when value is true
and above table is open inside one simple popup
Posted

Hello ,

I suggest you to read and understand this article to fix the solution

http://www.mkyong.com/jquery/how-to-check-unchecked-a-checkbox-with-jquery/[^]

All the Best:)pls write back if you need more support in coding.
 
Share this answer
 
Try this

JavaScript
$('.RoomActiveCkb > input:checkbox').attr('checked',true)
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900