![]() Topic awaiting preservation: problems with writing variable in windowopen code (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() this is the code that im using to pop up a new window: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
![]() |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
![]() Remember that that string isn't javascript code; it's a string, a piece of data. If you want to put values in there that you don't know ahead of time, then you must do it like this: |
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() ahhh. of course! |
Paranoid (IV) Inmate From: Lebanon |
![]() Grumble, you can still do that: code: <script language="JavaScript">
|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
![]() ah, hehe a JS implementation of C's printf. |