Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 4 of 4

Thread: calling RADs from javascript

  1. #1
    Member
    Join Date
    Jan 2009
    Posts
    33

    Question calling RADs from javascript

    Hellow;

    I've seen that we can use RADs with javascript. Example:

    var rc;
    var aNames = new Array("text");
    var aValues = new Array("This is the message");
    print(system.functions.rtecall("callrad", rc, "mb.ok", aNames, aValues, true))

    This is the mb.ok rad.

    My question is how can I use the mb.yes.no rad and catch a value true or false depending the button the user pressed??

    I need to take a decision... so... I need to use this function.

    I would like to use it in javascript and not at the conventional way.

    thank.

  2. #2
    Administrator tommy's Avatar
    Join Date
    Nov 2001
    Location
    Copenhagen
    Posts
    4,272

    Default

    You can't do that directly. You will need to call a oldstyle script and this can call the mb.ok and you can then set a variable that can be read from the javascript. There are threads about how to call a oldstyle script from javascript.
    Best regards Tommy
    Blog - - ITIL certified - Accredited Integration Specialist – HP OpenView Service Management

    Want to keep this site alive? Consider making a donation. Click here.

  3. #3
    Member
    Join Date
    Jan 2009
    Posts
    33

    Default

    Ok I'll test.

    Thanks

  4. #4
    Member
    Join Date
    Jan 2009
    Posts
    33

    Default

    Thanks it works

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts