jQuery

 2 Replies
 1 Subscribed to this topic
 12 Subscribed to this forum
Sort:
Author
Messages
Robert Spurr
Veteran Member
Posts: 130
Veteran Member
    Has anyone utilized jQuery within design studio modifications?  If so I would be interested on how that was accomplished.
    Markus
    Posts: 3
      I'm looking at doing this right now, but so far without any luck. Did you accomplish this?
      Markus
      Posts: 3
        I just realised that Lawson actually uses jQuery for their reqToPay contextual app for Ming.le.
        I have no idea if these files exist on the lawson server if you don't have Ming.le installed or what version of LSF & Ming.le is required.

        But this code works for me in the FORM_OnInit() function:


        if (!window.jQuery) {

           var jq = document.createElement('script');
           jq.type = 'text/javascript';
           jq.src = 'http://yourserver/lawson/portal/theme/jquery.min.js';
           document.getElementsByTagName('head')[0].appendChild(jq);