On 2012-08-29 19:14, jags wrote:
> var myvar =
> {
> myfunc1: function {},
> myfunc2: function{}
> };
That's a syntax error. Should be
...
myfunc1: function () {},
myfunc2: function () {}
...
> in html file i include this script through src
>
> then on body onload i call myvar.myfunc1;
>
> in crome dev console i see error near var, why so ?
You could start by telling us what the error message said.
- stefan