Hi, its been a while since i've attempted to do some js, and i am rusty.
heres the beginning of my loop:
the output i want:Code:for (var i=0; i<=100; i==) { }
incrementing each number in the above until 100Code:var my_staff_1 = new Tooltip ('trigger_1', 'staff_1')
i don't want to document.write this anywhere so that people can see the output (the function is sitting just before the closing </body> tag), but i dont want to copy and paste that line of javascript and increment each number 100 times....
any help appreciated.
what book does someone recommend to someone who is struggling with javascript



Reply With Quote

Bookmarks