Click here to Skip to main content
15,898,723 members
Home / Discussions / ASP.NET
   

ASP.NET

 
AnswerRe: Local Client printin using .net Pin
Ed.Poore26-Jun-07 10:38
Ed.Poore26-Jun-07 10:38 
AnswerRe: Local Client printin using .net Pin
Christian Graus26-Jun-07 11:05
protectorChristian Graus26-Jun-07 11:05 
QuestionFill gridview with other form's data Pin
kjosh26-Jun-07 8:49
kjosh26-Jun-07 8:49 
AnswerRe: Fill gridview with other form's data Pin
Christian Graus26-Jun-07 11:06
protectorChristian Graus26-Jun-07 11:06 
QuestionUpdatePanel with Radio buttons Pin
cisco210326-Jun-07 7:54
cisco210326-Jun-07 7:54 
QuestionLarge Stored Proceedure Pin
oskardiazdeleon26-Jun-07 5:57
oskardiazdeleon26-Jun-07 5:57 
AnswerRe: Large Stored Proceedure Pin
Christian Graus26-Jun-07 11:12
protectorChristian Graus26-Jun-07 11:12 
QuestionHow can I get an attribute of a DropDownList item using javascript? Pin
Martin_26-Jun-07 5:40
Martin_26-Jun-07 5:40 
Hi,
I added an attribute to the items of a DropDownList.

cbBudget.Items(0).Attributes.Add("bLocked", true)
cbBudget.Items(1).Attributes.Add("bLocked", false)

Now I want to get the value of the selected item in the DropDownList using javascript.

I tried something like this:
document.getElementById("cbBudget").selectedItem.getAttribute("bLocked")
but it doesn't work.

The source looks like this:

Class1
Class 2

Thank you for your suggestions.
AnswerRe: How can I get an attribute of a DropDownList item using javascript? Pin
kubben26-Jun-07 7:49
kubben26-Jun-07 7:49 
GeneralRe: How can I get an attribute of a DropDownList item using javascript? Pin
Martin_26-Jun-07 7:54
Martin_26-Jun-07 7:54 
GeneralRe: How can I get an attribute of a DropDownList item using javascript? Pin
Martin_27-Jun-07 3:24
Martin_27-Jun-07 3:24 
GeneralRe: How can I get an attribute of a DropDownList item using javascript? Pin
kubben27-Jun-07 3:27
kubben27-Jun-07 3:27 
QuestionSending Data Pin
boyindie26-Jun-07 5:03
boyindie26-Jun-07 5:03 
AnswerRe: Sending Data Pin
Not Active26-Jun-07 5:09
mentorNot Active26-Jun-07 5:09 
AnswerRe: Sending Data Pin
Fred_Smith26-Jun-07 5:18
Fred_Smith26-Jun-07 5:18 
GeneralRe: Sending Data Pin
boyindie26-Jun-07 6:01
boyindie26-Jun-07 6:01 
GeneralRe: Sending Data Pin
Fred_Smith26-Jun-07 6:09
Fred_Smith26-Jun-07 6:09 
GeneralRe: Sending Data Pin
boyindie26-Jun-07 6:28
boyindie26-Jun-07 6:28 
GeneralRe: Sending Data Pin
Fred_Smith26-Jun-07 6:53
Fred_Smith26-Jun-07 6:53 
QuestionExport & Import Pin
Sinchan Nikam26-Jun-07 4:01
Sinchan Nikam26-Jun-07 4:01 
AnswerRe: Export & Import Pin
Not Active26-Jun-07 5:05
mentorNot Active26-Jun-07 5:05 
Questionauto response of mails. Pin
hkchauhan26-Jun-07 3:40
hkchauhan26-Jun-07 3:40 
AnswerRe: auto response of mails. Pin
Not Active26-Jun-07 5:01
mentorNot Active26-Jun-07 5:01 
AnswerRe: auto response of mails. Pin
Venkatesh Mookkan26-Jun-07 18:16
Venkatesh Mookkan26-Jun-07 18:16 
Questionform EncType="Multipart/Form-Data" Pin
Brendan Vogt26-Jun-07 3:31
Brendan Vogt26-Jun-07 3:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.