I have this on my browse page:
<input type="checkbox" id="toggle_SITEID" name="@@toggle_SITEID" onclick="toggle_SITEID(this)" /> New <br />
then in my js file i have this:
toggle_SITEID = function (chk) {
}
and then I check the box, "something" will not work. I check the firebug console error message:
toggle_SITEID is not a function
So why is that?
source
share