View Single Post
Old May 19th, 2008, 8:42 PM   #3
Logical1
Programmer
 
Logical1's Avatar
 
Join Date: Apr 2008
Posts: 47
Rep Power: 0 Logical1 is on a distinguished road
Re: Passing a variable to a pop up window

Thank you for your answer.
I had tried that but it does not work becasue somehow URL gets added to the end of it!
If Id was 200 I get: 200?url=http://www.---.com/----print.php
The red part gets added by itself to the end of number!!!

With my limited understanding of JS I think function OSUGGEST(url) is expecting t get one variable (URL) and adding the number to it just messes it up. But my knowledge in JS is not enough to fix the script.
Any suggestions is appreciated?
Is it possible to pass 2 vraiable to a JS function?
__________________
^c^

Last edited by Logical1; May 19th, 2008 at 8:56 PM.
Logical1 is offline   Reply With Quote