How do I use more than one javascript in my blog?
January 30th, 2010
I can’t get all of my javascript codes to work at the same time. When I added my first java code it worked fine but when I added another code, the first code stopped working and the only the second code worked. Is there a way to get them all to work?
If you name 2 functions the same, only 1 will work. That could be your problem. Just rename the second one. And, if you want one action to run 2 functions, just combine the code for both functions into one.
January 30th, 2010 at 8:38 pm
If you name 2 functions the same, only 1 will work. That could be your problem. Just rename the second one. And, if you want one action to run 2 functions, just combine the code for both functions into one.
References :
January 30th, 2010 at 9:18 pm
the two javascript codes are conflicting one another. you need to merge they functionality or check what’s causing the conflict.
References :