Click to See Complete Forum and Search --> : javascript problem


oceanmaid
12-13-2003, 02:03 AM
One of my webpage consists of a few javascripts already. Currently, tried to insert one and it works....BUT one of them stopped showing up. Why? Is there a solution?

neil9999
12-13-2003, 03:06 AM
I'm not sure exactly what you mean, but if you've got a javascript on a page, you insert another and it stops working, check for things like the same variable names aren't being used, two textboxes don't have the same name etc.

Neil

fredmv
12-13-2003, 10:19 AM
Without seeing your source code it would be just about impossible to accurately help you out. However, as Neil implied, you most ikely have two functions/variables in which have the same name. This is a very common problem in many Web development forums and is why people should make their scripts more object oriented so they can be reused over and over on the same page easily.