Question
Javascript and CF
I get javascript code off the net, and sometimes it is
written for me, to incorporate into the cf applicaton.
Sometimes, in the form statement, onClick ="return functionname() - or functionname(this)" is used, sometimes it is onSubmit.
Other times, the onClick and/or onSubmit is used in the input type="submit" button, other times the type is defined as a button and the submit part is called in the javascript.
What is the proper way to call javascript from coldfusion ?
Sometimes, in the form statement, onClick ="return functionname() - or functionname(this)" is used, sometimes it is onSubmit.
Other times, the onClick and/or onSubmit is used in the input type="submit" button, other times the type is defined as a button and the submit part is called in the javascript.
What is the proper way to call javascript from coldfusion ?
