clicking “login” opens (ajax) a login form (partial) on my site.
looks like this:
the problem is: if i try to call the validate-function from inside the
form (<input onkeyup=“validate()”…) i’m getting a js error:
validate() is not defined
Why isn’t that function available on my site after the partial is loaded