Click here to Skip to main content
15,923,557 members
Home / Discussions / Web Development
   

Web Development

 
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 
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 
It does not seem to work. Here is the code. What am I missing. It doesn't clear the list (I tried commenting out the loop that adds to the list) and doesn't add anything to the list either. By the way, this is the last step in the calling function.

function RefreshComboList(sList,sElement, iID)
{
var cbList = document.getElementById(sElement);

// Test to make sure that cbList is the desired control and refresh values
// are correct
alert("Selected ID - " + cbList.options[cbList.selectedIndex].value +
"\n\n" + sList);

cbList.innerHtml=""; // Clear list
var rows = sList.split("||"); // split list into rows

// Loop through rows to load combobox
// Last result is empty
for(var i=0; i< rows.length - 1; i++)
{
var cols = rows[i].split("|"); // split into columns
var opt = document.createElement("option"); // Create new list item
opt.value = cols[1]; // Set value for list item
opt.innerText = cols[0]; // Set the view text for list item
cbList.appendChild(opt); // Add list item to DropDownList
}
}

Thanks,

Leo T. Smith

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 
AnswerRe: Looking for website that does crazy things with JavaScript Pin
David Domingues26-Jan-07 3:14
David Domingues26-Jan-07 3:14 
QuestionRequest Object - # character in the QueryString Pin
Member 121430017-Jan-07 18:11
Member 121430017-Jan-07 18:11 

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.