Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #15617

Re: javascript in another file

Newsgroups comp.lang.javascript
Date 2012-08-30 05:28 -0700
References <20299183-1ca3-4cd2-b17e-0cc86bf59f22@googlegroups.com> <k1luku$8ce$1@news.albasani.net> <3467f210-aa11-4f8d-8e1f-fd51c3b9aa15@googlegroups.com>
Message-ID <9f9f4fce-802d-4010-b37b-9302464240d5@googlegroups.com> (permalink)
Subject Re: javascript in another file
From jags <jagatm@gmail.com>

Show all headers | View raw


On Thursday, August 30, 2012 4:31:03 PM UTC+5:30, jags wrote:
> it is saying "Syntax Error: Unexpected token var"
> 
> 
> 
> but why is it a syntax error ? in another example it just works fine !
> 
> i picked it from there, just changed names !

ok, sorry, it was showing error at myFunc1(var dataString)

i changed it to myFunc1(dataString) and it worked :)

thanks

Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

javascript in another file jags <jagatm@gmail.com> - 2012-08-29 10:14 -0700
  Re: javascript in another file Stefan Weiss <krewecherl@gmail.com> - 2012-08-29 22:38 +0200
    Re: javascript in another file jags <jagatm@gmail.com> - 2012-08-30 04:01 -0700
      Re: javascript in another file jags <jagatm@gmail.com> - 2012-08-30 05:28 -0700

csiph-web