I need to add some library on my app so I am trying to include jquery for testing. can I ask why do I need splunkjs ready!? and why do you change $(window).load() to some other jquery code? I tried to use windows.load but it doesnt work. It is really weird.
also, if I want to use lodash.js how can I add it on splunk? Thanks
The question is, why do you want to use $(window).load()? It does nothing you need to do.
If you want to use lodash.js, you just place it in the same folder you placed your initital .js in (appname/appserver/static), add it to your Simple XML like this:
<form script="your_js.js, lodash.js">
and that's it. Remember to restart your splunk to pick up new files.