472,976 Members | 1,438 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,976 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 1390
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: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
3
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
0
isladogs
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.