VBScript to JavaScript

Results 1 to 3 of 3

Thread: VBScript to JavaScript

  1. #1
    minnie Guest

    Default VBScript to JavaScript

    I know nothing of JAVAScript therefore I need a little help Please!<BR>I have the following code in VBScript<BR>&#060;Script Language="VBScript"&#062;<BR>location.href = "approveUsers.asp"<BR>&#060;/Script&#062;<BR>Since VBScript just restricts my page to IE browser I want to replace it with JavaScript. How would I achieve the same thing in JavaScript. Help!!<BR>

  2. #2
    Join Date
    Dec 1969
    Posts
    2,849

    Default RE: VBScript to JavaScript

    &#060;SCRIPT LANGUAGE=JavaScript&#062;<BR>&#060;!--<BR>document.location.href = "http://www.somewhere.com";<BR>// --&#062;<BR>&#060;/SCRIPT&#062;<BR><BR>Happy Programming!

  3. #3
    minnie Guest

    Default RE: VBScript to JavaScript

    thank you very much!

Posting Permissions

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