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!

JavaScript Error in ColdFusion ?

Status
Not open for further replies.

tlhawkins

Programmer
Dec 28, 2000
797
US
I'm working on a Coldfusion app that seemed simple to begin with but I've got an error that will not go away but does not seem to harm anything. Everything still works fine but when I submit my form a Javascript error pops up like this:

A Runtime Error has occurred
Do you wish to Debug?

line: 19
Error: 'value.length' is not an object


I am not using any of my own javascript it is all ColdFusion . From what little I know of Javascript it looks like it is trying to verify that there is content in a variable called value.length.

If Anyone can help with this I would really appreciate it.

 
Do you have all of the necessary attributes set on the <input ...> tags??
I am guessing that you may have missed a name?? If this is not the case, can you post the page that is giving errors so I can take a look??
Simon
 
Great Guess SWilliams,

Sorry I didn't give more information to begin with. I actually had named two CFinputs the same, one was required so the java script errored out on the other name.

Thanks for the help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top