SitePoint Sponsor |
|
User Tag List
Results 1 to 3 of 3
Thread: setTimeout help (annoyed)
-
Oct 22, 2007, 23:43 #1
- Join Date
- Oct 2007
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
setTimeout help (annoyed)
setTimeout is causing me grief. The damn syntax is playing tricks on me. Whats wrong with the following:
Code:<img src="images/trans.gif" onload="setTimeout("doCalc('re_val*313')", 313);">
-
Oct 23, 2007, 00:22 #2
- Join Date
- Nov 2004
- Location
- Ankh-Morpork
- Posts
- 12,158
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
You can't have double quotation marks within an attribute value that is itself enclosed in double quotation marks.
Code:<img src="images/trans.gif" onload="setTimeout('doCalc(\'re_val*313\')', 313)">
Birnam wood is come to Dunsinane
-
Oct 23, 2007, 09:22 #3
- Join Date
- Oct 2007
- Posts
- 16
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Bookmarks