473,387 Members | 1,290 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Some help on defining & passing a parameter in text HTML?

200 100+
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
Expand|Select|Wrap|Line Numbers
  1. <a href="test.htm?test=100','','height=300,width=300">
Page2
Expand|Select|Wrap|Line Numbers
  1. <html>
  2. <head>
  3. <param name="test" value=""/>
  4. </head>
  5. <body>
  6. <cfoutput>
  7. #test#
  8. </cfoutput>
  9. </body>
  10. </html>
Jan 9 '08 #1
1 1403
Markus
6,050 Expert 4TB
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>
You can't do that with HTML: you need to use something like PHP or JavaScript - both have GET functions which get the parameters from the url.
Jan 14 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

12
by: jeffc | last post by:
Can anyone point me to a web site that gives technical reasons that pass by value is preferred over pass by reference when the value is not to be changed? Actually it could be any built-in "small"...
193
by: Michael B. | last post by:
I was just thinking about this, specifically wondering if there's any features that the C specification currently lacks, and which may be included in some future standardization. Of course, I...
1
by: JC - home | last post by:
This is driving me mad!! I have a report viewer on a form that is bound to a sql stored procedure that has one parameter. I just can't seem to find a way of passing a parameter to the report...
7
by: barrett bonden | last post by:
Is there any way to pass parameters to a function and simply know there will get there without the silly (C like ) complexity of worring about byval and or perhaps byref ? (Why bother to...
2
by: FP | last post by:
I have a javascript variable set to the contents of a database comments field. To set the js variable I used the PHP addslashes function which encodes the apostrophe, double quotes and the...
2
by: ragged_hippy | last post by:
Hi, If I have a method that has string reference as a parameter, what happens if I pass a const char* variable to this method? One thought is that a temporary string will be created in the...
4
by: moondaddy | last post by:
I have a situation where I will collect text from a textbox and pass that text as one of the parameters in another pages query string. the problem is that if the user types in a '&' as part of the...
9
by: ismailc | last post by:
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...
2
by: david.karr | last post by:
Ok, I'm sure that subject is confusing, but I noticed the following curious code on the main page of the "Vitamin" web developer's page <http://www.thinkvitamin.com/>: <script...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.