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

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




Execute Javascript within VBscript

 
Closed TopicStart new topic

Execute Javascript within VBscript

ismailc
13 Oct, 2008 - 10:56 PM
Post #1

New D.I.C Head
*

Joined: 14 Sep, 2007
Posts: 33



Thanked: 1 times
My Contributions
Hi, I need help please:

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

jjsaw5
RE: Execute Javascript Within VBscript
14 Oct, 2008 - 04:26 AM
Post #2

I vill break you
Group Icon

Joined: 4 Jan, 2008
Posts: 1,393



Thanked: 6 times
Dream Kudos: 125
Expert In: HTML, CSS, Database,

My Contributions
Do not double post your questions. Consider this strike one since this is not your 1st offense.
User is offlineProfile CardPM
+Quote Post

Closed TopicStart new topic
Time is now: 12/2/08 03:13AM

Live Help!

Tutorials

Programming

Web Development

Reference Sheets

Code Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month