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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Ways to Execute Javascript

Status
Not open for further replies.

asdf5678

IS-IT--Management
Dec 1, 2006
5
US
Here's what I'm doing:

I need to assign the value of a text box to a coldfusion variable.


Since javascript is how textbox values are accessed, what are the ways javascript can be executed?

These are the ones I know:

1) in an onclick, onload, etc. event

2) in <script></script> within the body


Here's what I need that these can't work for:

either:
<cfset x= some_javascript/javascript_function's_result>
OR
some javascript or javascript function's result as a URL variable


I'm grateful for any assistance you can give.

Thanks,
Eric
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top