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

Web Development

 
AnswerRe: Web Site Optimization and Verification Pin
Pete O'Hanlon27-Nov-06 9:28
mvePete O'Hanlon27-Nov-06 9:28 
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 
Whatever is happening, it isn't in the code you posted. So, let's try a little psychic debugging... Wink | ;)
howardjr wrote:
I'm adding the combobox helper objects using this code:
comboboxlist[ combobox.Name ] = combobox;

Obviously, this has to happen prior to the code that checks for it.
howardjr wrote:
function IsComboBoxInList( Name ) { return ( comboboxlist[ Name ] != comboboxlist.UNDEFINED ); }

Presumably, comboboxlist.UNDEFINED is either undefined, or set to null or undefined. Anything else is asking for trouble.

howardjr wrote:
for( var Name in comboboxlist )
   msg += '\n ' + Name;

This will build a string of all property names in comboboxlist, separated by newlines. Since the resulting string is empty, comboboxlist has no properties. Therefore, either there are no combo boxes, or the initialization code hasn't run yet.
howardjr wrote:
// alert( 'comboboxes in comboboxlist: ' + msg );

if( IsInComboBoxInList( 'ComboBox2' ) ) {

You say that uncommenting the alert causes the IsInComboBox() condition to evaluate true. Therefore, following the alert, there must exist combo boxes, and the initialization code for comboboxlist must have run.

Check your initialization.



GeneralRe: Why would uncommenting an alert statement cause my code to work? Pin
howardjr24-Nov-06 15:05
howardjr24-Nov-06 15:05 
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 

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.