This started working after I cleared my mid-tier cache once more. Thanks for your input Fred. Murtuza.
________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Grooms, Frederick W Sent: Thursday, November 01, 2007 5:09 PM To: arslist@ARSLIST.ORG Subject: Re: Error calling Javascript ** I just checked and my commands look like javascript: window.myJavaScriptFunction(); I also don't use the DIV tag and put my JS code in the Window Footer area if that makes a difference. Fred ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Murtuza B Sent: Thursday, November 01, 2007 11:02 AM To: arslist@ARSLIST.ORG Subject: Re: Error calling Javascript ** Hi Frederick, Tried with the colon too. Also tried varying capitalization: JAVASCRIPT JavaScript etc... Does not seem to help... Thanks ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Grooms, Frederick W Sent: Thursday, November 01, 2007 4:58 PM To: arslist@ARSLIST.ORG Subject: Re: Error calling Javascript ** I believe the Run Process should be javascript: printMsg(); ________________________________ From: Action Request System discussion list(ARSList) [mailto:[EMAIL PROTECTED] On Behalf Of Murtuza B Sent: Thursday, November 01, 2007 10:52 AM To: arslist@ARSLIST.ORG Subject: Error calling Javascript ** Hello Listers, I want to execute some custom javascript in a Remedy form. I went to the 'Edit Web Header Content' in View Properties -> Appearance and pasted the following sample code: <div> <script language="JavaScript"> function printMsg() { alert ("This is a test"); } </script> </div> I have a button on the same form, which has an active link, with a RUN PROCESS action. The command line is: javascript printMsg(); When I press this button in the mid-tier page of the form, I expect the alert dialog, but instead I get the error: Caught Exception: Object Expected Can anyone help me with this error?? Thanks, Murtuza. ARS 6.3 Mid-tier 7.0 Solaris 8 Websphere __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ __20060125_______________________This posting was submitted with HTML in it___ _______________________________________________________________________________ UNSUBSCRIBE or access ARSlist Archives at www.arslist.org ARSlist:"Where the Answers Are"