T
Tom
I've got a weird error that I just cannot figure out and hope that
somebody has an idea of what to try next. I've got a global variable
that I am assiging a new value to within a function which is tied to
the onclick event of a html list. No javascript errors, etc. as a
matter of fact I can "alert" the value of the global variable at the
end of the function and sure enough it's contains the new value, and
everything works like it should. Turn off the alert and the assignment
doesn't happen?
Just to add confusion, the global variable will actually contain the
value of the previously clicked item in the list - if you click on the
list a 2nd time on the same value, the global variable will "pick up"
the correct value?
Driving me nuts, any ideas?
somebody has an idea of what to try next. I've got a global variable
that I am assiging a new value to within a function which is tied to
the onclick event of a html list. No javascript errors, etc. as a
matter of fact I can "alert" the value of the global variable at the
end of the function and sure enough it's contains the new value, and
everything works like it should. Turn off the alert and the assignment
doesn't happen?
Just to add confusion, the global variable will actually contain the
value of the previously clicked item in the list - if you click on the
list a 2nd time on the same value, the global variable will "pick up"
the correct value?
Driving me nuts, any ideas?