Link to home
Start Free TrialLog in
Avatar of ramkisivan
ramkisivan

asked on

communication between javascript and CF ..

How would you pass a javascript variable as a query string in a javascript function ?
Say.,
function funct1()
{
var f = document.forms["WORD_LIST"];
var word=f.elements['CHKCODE'].value;
location.href=<cfoutput>"../file1/subfile.cfm?word1=#urlencodedformat(word)#"</cfoutput>
}
Can this code be implemented ?
Please be fast..!
ASKER CERTIFIED SOLUTION
Avatar of bigbadb
bigbadb

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ramkisivan
ramkisivan

ASKER

Cute the code can be perfectly implemented