View Single Post
Unread 01-10-2008, 07:32 AM
ISMAILC ISMAILC is offline
Member
Join Date: Dec 2007
Posts: 45
  #1  
Question Some help on passing a parameter in text HTML(javascript)?

Hi, I need help please

I usually code in coldfusion but now i want to create 2 text html files where i
pass a parameter on href?

This normally works in coldfusion!

Page1
<a href="test.htm?test=100','','height=300,width=300" >

Page2
<html>
<head>
<param name="test" value=""/>
</head>
<body>
<cfoutput>
#test#
</cfoutput>
</body>
</html>

It displays #test# but in the url i can see the value it's passing but the second
page does not pick it up!

Assist"Without some kind of server-side processing (PHP, ColdFusion, etc.) or
some fancy JavaScript, you aren't going to be able to display a URL
variable. Raw HTML can't do that"

Does anyone have an example of some javascript/ or other that can do it?
Regards
Reply With Quote