Answer the question
In order to leave comments, you need to log in
Loading JavaScript into local context?
I have a JavaScript file with content like
var param1=function<br/>
var param2=100500<br/>
(function(){<br/>
// load script file<br/>
}())<br/>
Answer the question
In order to leave comments, you need to log in
You can't, wrap your content in a function and then call it in the right context so that it returns the right data.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question