SL with JQuey

Dec 28, 2015

Hi,
I have read all the previous discussions on how to integrate jquery in SL, but I have resolved my doubts.

I understand the following points:
- SL supports jQuery.
- How to change .story to add libraries js
- How to deliver Values from variables SL
- How to deliver values to variables SL

What I did not understand on these points:
- I have to add the library jquery in .story?
- I have to update the library user.js? If you like!

I would like to have these confirmations. JQuery functions do not have to enter:

- $ (Document) .ready (function () 
- Any type of event, type $ ('# button_send'). On ('click', function ()

I am sure that these answers will help many users.

Thank you very much in advance.

3 Replies
Mike B.

Stefano,

I'm not sure how much I can help, but at least my reply will bump your post back to the top of the list. :)

I'm using jquery in a web object in SL, and yes, I include the jquery library in my web object with "<script type="text/javascript" src="jquery.min.js"></script>".

Also, my jquery commands do have "$" at the beginning. I am a novice at javascript programming so I might not be able to help much beyond that. Can you be more specific about what you are trying to accomplish?

Thanks,

Mike

This discussion is closed. You can start a new discussion or contact Articulate Support.