You are trying to combine script and tag based syntax. This will not work. Below would be the proper syntax based on your code.
var myname= arguments.input;
You might want to take a look at Learn CF in a Week . That should get you on the right track to what you are trying to do.