Skip to content Skip to sidebar Skip to footer

Javascript Function Says That Is Undefined

all I've written a function in order to calculate many things, so I've put the value of my vars in input of type hidden, so we have this code:

Solution 1:

language="text/javascript" is wrong it should be language="JavaScript" but thats old/outdated/obsolete/depreciated so use type="text/javascript" instead

Solution 2:

At first glance, I noticed you have your script attributes wrong.

<scriptlanguage="text/javascript">

should be:

<scripttype="text/javascript">

Post a Comment for "Javascript Function Says That Is Undefined"