Click here to Skip to main content
16,007,126 members
Home / Discussions / Web Development
   

Web Development

 
GeneralRe: javascript click button Pin
eggsovereasy19-Jan-07 10:36
eggsovereasy19-Jan-07 10:36 
AnswerRe: javascript click button Pin
Guffa19-Jan-07 12:16
Guffa19-Jan-07 12:16 
AnswerRe: javascript click button Pin
RichardGrimmer20-Jan-07 5:42
RichardGrimmer20-Jan-07 5:42 
AnswerRe: tap control Pin
Christian Graus18-Jan-07 22:03
protectorChristian Graus18-Jan-07 22:03 
JokeRe: tap control Pin
DavidNohejl18-Jan-07 23:26
DavidNohejl18-Jan-07 23:26 
QuestionDisable Right Click, Problem Javascript Code Pin
varshavmane18-Jan-07 18:11
varshavmane18-Jan-07 18:11 
AnswerRe: Disable Right Click, Problem Javascript Code Pin
Shog919-Jan-07 7:15
sitebuilderShog919-Jan-07 7:15 
QuestionDHTML and DropDownLists Pin
Leo Smith18-Jan-07 15:08
Leo Smith18-Jan-07 15:08 
I am having a problem in some javascript. I am trying to avoid using a postback to a server to update a dropdownlist box on the client machine. I have already managed to get a new list of items and have them parsing fine on the client machine. The problem though is I cannot find anything on how to delete the current contents and build a new list inside. So here are the two questions:

First what call from javascript would clear the current contents? (I have the control).

Second, do I create new "option" objects assign them the new values and add them to the controls through obj.options.add() or something else?

And finally, does there need to be some sort of refresh to the control to view when it opens next.

Final note: this needs to work with both IE 6+ and Firefox (latest version).

Thanks,

Leo T. Smith

AnswerRe: DHTML and DropDownLists Pin
Christian Graus18-Jan-07 18:32
protectorChristian Graus18-Jan-07 18:32 
GeneralRe: DHTML and DropDownLists Pin
Leo Smith19-Jan-07 2:33
Leo Smith19-Jan-07 2:33 
GeneralRe: DHTML and DropDownLists Pin
RichardGrimmer19-Jan-07 6:48
RichardGrimmer19-Jan-07 6:48 
GeneralRe: DHTML and DropDownLists Pin
Leo Smith19-Jan-07 9:26
Leo Smith19-Jan-07 9:26 
QuestionFirefox Extensions Pin
Richard Andrew x6418-Jan-07 14:54
professionalRichard Andrew x6418-Jan-07 14:54 
QuestionChange activex security for htm client side Pin
Will6618-Jan-07 13:51
Will6618-Jan-07 13:51 
AnswerRe: Change activex security for htm client side Pin
Will6618-Jan-07 13:54
Will6618-Jan-07 13:54 
QuestionApache serving files with query strings in their name Pin
Paul Watson18-Jan-07 12:23
sitebuilderPaul Watson18-Jan-07 12:23 
GeneralRe: Apache serving files with query strings in their name Pin
George L. Jackson18-Jan-07 12:56
George L. Jackson18-Jan-07 12:56 
GeneralRe: Apache serving files with query strings in their name Pin
Paul Watson18-Jan-07 13:08
sitebuilderPaul Watson18-Jan-07 13:08 
AnswerRe: Apache serving files with query strings in their name Pin
Bradml18-Jan-07 13:49
Bradml18-Jan-07 13:49 
GeneralRe: Apache serving files with query strings in their name Pin
Paul Watson18-Jan-07 22:14
sitebuilderPaul Watson18-Jan-07 22:14 
GeneralRe: Apache serving files with query strings in their name Pin
Bradml19-Jan-07 1:38
Bradml19-Jan-07 1:38 
GeneralRe: Apache serving files with query strings in their name Pin
Paul Watson19-Jan-07 3:31
sitebuilderPaul Watson19-Jan-07 3:31 
GeneralRe: Apache serving files with query strings in their name Pin
Bradml19-Jan-07 4:30
Bradml19-Jan-07 4:30 
QuestionLooking for website that does crazy things with JavaScript Pin
Joe Woodbury18-Jan-07 5:24
professionalJoe Woodbury18-Jan-07 5:24 
AnswerRe: Looking for website that does crazy things with JavaScript Pin
MatrixCoder18-Jan-07 6:07
MatrixCoder18-Jan-07 6:07 

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.