DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   Java (http://www.daniweb.com/forums/forum9.html)
-   -   pass variable (http://www.daniweb.com/forums/thread37894.html)

jgraca Jan 11th, 2006 7:28 am
pass variable
 
hi

how to pass a variable (click a link) from page1.html to page2.html, and than according with the variabel execute a certain function?

(this will be my script in java :o )

Thanks

server_crash Jan 11th, 2006 4:27 pm
Re: pass variable
 
I believe you want javascript, but not sure. Unless you want to use JSP.

jwenting Jan 12th, 2006 12:59 am
Re: pass variable
 
passing data between pages is always a matter of setting that data up as request parameters, either using a script to create the request string on the fly or by sending it as html form fields.

jgraca Jan 12th, 2006 5:03 am
Re: pass variable
 
Thank you both.

i'll return with a more specific question, i need to search more information.

Anyway, what i trying to do is:

I have an swf file embed in lets say xxx.html, an what i want is that when i click a link in yyy.html the swf file goes to a certain label or label or ...

the file where the swf is embeb already has buttons whit javascrit to control the swf, i thought ...

if by chance you understand, my bad english and what i need, maybe you can point me a tutorial.

thank you once more.

JGraca


All times are GMT -4. The time now is 7:56 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC