Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rating: Thread Rating: 2 votes, 3.00 average.
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 08-23-2012, 01:25 PM   PM User | #1
uni_asp
New to the CF scene

 
Join Date: Aug 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
uni_asp is an unknown quantity at this point
Using checkboxlist with javascript brings null/undefined error

Hello i am new to asp/javascript word..
I have a web form where i have declared a checkboxlist without any listitems as i dont know in compile time how many i want.In runtime i want to add/append items to my checkboxlist but in client side that means work with javascript.

When i am trying to access my checkboxlist through js i get message error
null/undefined object( "object is null or undefined" )

The checkboxlist is declared in my aspx as:
<asp:CheckBoxList id="cbxlst_Addr" runat = "server">
</asp:CheckBoxList>
So, whats wrong?
uni_asp is offline   Reply With Quote
Reply

Bookmarks

Tags
asp, checkboxlist, javascript, null, runat=server

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 05:02 AM.


Advertisement
Log in to turn off these ads.