Topic awaiting preservation: problems with writing variable in windowopen code (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 08-06-2002 18:01
this is the code that im using to pop up a new window: |
Maniac (V) Mad Scientist From: Belgrade, Serbia |
posted 08-06-2002 18:04 |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 08-06-2002 18:06
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 |
posted 08-06-2002 23:06
ahhh. of course! |
Paranoid (IV) Inmate From: Lebanon |
posted 08-07-2002 10:25
Grumble, you can still do that: code: <script language="JavaScript">
|
Paranoid (IV) Mad Scientist From: Omicron Persei 8 |
posted 08-08-2002 13:37
ah, hehe a JS implementation of C's printf. |