PrevPrev Go to previous topic
NextNext Go to next topic
Last Post 03/27/2015 6:36 AM by  Markus
jQuery
 2 Replies
Sort:
You are not authorized to post a reply.
Author Messages
Robert Spurr
Private
Private
Veteran Member
(344 points)
Veteran Member
Posts:130


Send Message:

--
07/16/2013 9:49 AM
    Has anyone utilized jQuery within design studio modifications?  If so I would be interested on how that was accomplished.
    Markus
    Private
    Private
    (9 points)
    Posts:3


    Send Message:

    --
    03/25/2015 10:02 AM
    I'm looking at doing this right now, but so far without any luck. Did you accomplish this?
    Markus
    Private
    Private
    (9 points)
    Posts:3


    Send Message:

    --
    03/27/2015 6:36 AM
    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);

    You are not authorized to post a reply.