Click here to Skip to main content
15,924,679 members
Home / Discussions / Web Development
   

Web Development

 
Questiondeploy web service on remote computer Pin
steve_rm24-Nov-06 21:51
steve_rm24-Nov-06 21:51 
Questiondelete cookie manuel and javascript error Pin
karanba24-Nov-06 5:07
karanba24-Nov-06 5:07 
AnswerRe: delete cookie manuel and javascript error Pin
MatrixCoder24-Nov-06 8:49
MatrixCoder24-Nov-06 8:49 
GeneralRe: delete cookie manuel and javascript error Pin
karanba24-Nov-06 9:15
karanba24-Nov-06 9:15 
AnswerRe: delete cookie manuel and javascript error Pin
Nisha_D19-Dec-06 1:26
Nisha_D19-Dec-06 1:26 
QuestionWhy would uncommenting an alert statement cause my code to work? Pin
howardjr24-Nov-06 2:43
howardjr24-Nov-06 2:43 
AnswerRe: Why would uncommenting an alert statement cause my code to work? Pin
Shog924-Nov-06 10:05
sitebuilderShog924-Nov-06 10:05 
GeneralRe: Why would uncommenting an alert statement cause my code to work? Pin
howardjr24-Nov-06 15:05
howardjr24-Nov-06 15:05 
Thanks for the psychic analysis Smile | :)

I figured out that the problem was I was using a javascrpt url in the onload of an html image to create the combobox helper objects. The javascript url code executed when the graphic finished loading, so the code at the bottom of the page generally would execute before this, and the list would be empty.

The reason uncommenting the alert "fixed" the problem was the images would finish loading and the component's onload events would fire while the pop-up waited for me to press its OK button. Then the rest of the code would see the combobox objects in the list and work properly.

The solution was to move the javascript code to the end of each set of html components rendered by the custom component. This ensured that all of the html components were present and could have their properties assigned by the combobox objects constructor, and the combobo object could be added to the list. Then because all of the initization was completed before the code at the bottom of the page was executed, everything work.

Oh, and comboboxlist.UNDEFINED is undefined. I don't even have it as a property of comboboxlist. I just code the test that way so it would be more obvious what I'm testing for.

Again, thanks for the analysis Smile | :)
GeneralRe: Why would uncommenting an alert statement cause my code to work? Pin
Guffa24-Nov-06 23:42
Guffa24-Nov-06 23:42 
GeneralRe: Why would uncommenting an alert statement cause my code to work? Pin
howardjr25-Nov-06 17:29
howardjr25-Nov-06 17:29 
Generalundefined Pin
Shog926-Nov-06 9:49
sitebuilderShog926-Nov-06 9:49 
QuestionBest video encoder Pin
Steven J Jowett24-Nov-06 1:45
Steven J Jowett24-Nov-06 1:45 
AnswerRe: Best video encoder Pin
Bradml24-Nov-06 2:19
Bradml24-Nov-06 2:19 
AnswerRe: Best video encoder Pin
l a u r e n24-Nov-06 17:24
l a u r e n24-Nov-06 17:24 
Questionpdf file is not opening in windows 2003 Pin
sanju1423-Nov-06 22:06
sanju1423-Nov-06 22:06 
GeneralControlling Firefox Pin
Brady Kelly23-Nov-06 19:09
Brady Kelly23-Nov-06 19:09 
GeneralRe: Controlling Firefox Pin
Bradml23-Nov-06 19:16
Bradml23-Nov-06 19:16 
GeneralRe: Controlling Firefox Pin
Brady Kelly23-Nov-06 19:30
Brady Kelly23-Nov-06 19:30 
GeneralRe: Controlling Firefox Pin
Bradml23-Nov-06 19:42
Bradml23-Nov-06 19:42 
GeneralRe: Controlling Firefox Pin
Brady Kelly23-Nov-06 21:16
Brady Kelly23-Nov-06 21:16 
GeneralRe: Controlling Firefox Pin
Bradml23-Nov-06 21:46
Bradml23-Nov-06 21:46 
GeneralRe: Controlling Firefox Pin
Brady Kelly23-Nov-06 22:10
Brady Kelly23-Nov-06 22:10 
GeneralRe: Controlling Firefox Pin
Bradml24-Nov-06 2:15
Bradml24-Nov-06 2:15 
GeneralRe: Controlling Firefox Pin
Brady Kelly24-Nov-06 2:31
Brady Kelly24-Nov-06 2:31 
Questionhow browsers render pages Pin
karanba23-Nov-06 12:12
karanba23-Nov-06 12:12 

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.