Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,250 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,207 people online right now. Registration is fast and FREE... Join Now!




Execute Javascript within VBscript

 
Reply to this topicStart new topic

Execute Javascript within VBscript

ismailc
13 Oct, 2008 - 11:02 PM
Post #1

New D.I.C Head
*

Joined: 14 Sep, 2007
Posts: 33



Thanked: 1 times
My Contributions
Hi, I need help please: ( i hope this is the correct forum as i could not find Vbscript)

The foll code works within a WebTextEdit - ClientSideEvents: (javascript)
var edit = igedit_getById("FG1010NItemD"); edit.Element.style.backgroundColor = '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("FG1010NItemD")" = "avar1" then
fcTrigger = "ERR: Description is a required field"

var edit = igedit_getById("FG1010NItemD"); edit.Element.style.backgroundColor = 'red';
End If

Please Assist, Regards


User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 04:07AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month