Execute Javascript within VBscript

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ismailc
    New Member
    • Sep 2006
    • 200

    Execute Javascript within VBscript

    Hi, I need help please:

    The foll code works within a WebTextEdit - ClientSideEvent s: (javascript)
    var edit = igedit_getById( "FG1010NItemD") ; edit.Element.st yle.backgroundC olor = 'red';

    I need to execute this code within a VBscript code window:

    I would like to add the above code & set the WebTextEdit object:

    If "aObjects("FG10 10NItemD")" = "avar1" then

    var edit = igedit_getById( "FG1010NItemD") ; edit.Element.st yle.backgroundC olor = 'red';

    End If

    Please Assist, Regards
Working...