9月
09
09
Passing JavaScript arguments via the src attribute
Posted by YuanYuanA little project need this. (non jQuery)
include an js with parameter, ex: all.js?a=1&b=2&v=1
and you can control all.js with parameter with dymanic js, css
ex: if v=1, include v1.js realtime. v=2, include v2.js …
- Passing JavaScript arguments via the src attribute - step1. pass js params.
or how-to-pass-params-to-javascript-file - dynamically-including-javascript-and-css-files - step2. dymanic include js,css
- make your $ - step3, make your $ (Prototype function $)
now, you can do anything, that you want to do.
others read.
- Remotely called JavaScript with local configuration
- Query catching for fun and profit
- greeking
- select-functions
that’s it!
Add A Comment