![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hi All, I put up a toy webpage to test the use of various javascript functions, etc.: http://home.comcast.net/~CaptQueeg/JavaScriptDemo3.html It has three links: #1 clears a Trace area and adds three lines #2 appends another line #3 invokes functions 1 & 2 (with their respective arguments), but it only presents the results of #1. It seems as though #2 never gets invoked. I tested this in both Firefox2 and IE7, as well my IDE, Aptana. Did I make some dumb mistake, as usual :-( ? Thanks in Advance, Richard P.S. I posted a version of this question on JavaScript Forum, but it has very low traffic and waits upon moderator-review before actually posting anything. I prefer this forum. |
#3
| |||
| |||
|
|
Line 68 is: var iCount = arElements.length This fails because arElements is not defined. [snip] |
|
In Firefox: Tools Error console will show you any JavaScript parsing or execution errors. This is where to start looking for this sort of thing. |
![]() |
| Thread Tools | |
| Display Modes | |
| |