Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

assign a value

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0

How to assign a javascript object to cf variable?

For example,

<cfset text=document.form.value>
How to make this workable?

 
It is important to remember that CF runs exclusively on the web server and Java/JavaScript runs exclusively in the clients web browser... what you are trying to do is &quot;impossible&quot;

Of course, with CF Everything is possible (if you know how).

If you have a value in a form that you would like to pass to CF, you can only do that after the form is submitted.

I bet if you post &quot;what&quot; you are trying to accomplish someone will be able to tell you an appropriate workaround.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top