40
rated 0 times
[
42]
[
2]
/ answers: 1 / hits: 50654
/ 11 Years ago, thu, may 30, 2013, 12:00:00
I'm trying to load JS scripts dynamically, but using jQuery is not an option.
I checked jQuery source to see how getScript was implemented so that I could use that approach to load scripts using native JS. However, getScript only calls jQuery.get()
and I haven't been able to find where the get method is implemented.
So my question is,
What's a reliable way to implement my own getScript method using native JavaScript?
Thanks!
More From » jquery