SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Sep 2010
    Posts
    111
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Access a vbscript from a Javascript program

    Can you access a vbscript from a Javascript program.

    Code:
    <script type="text/vbscript">
    function fn1()
         msgbox("Over the Limit")
    end function
    </script>
    <script type="text/javascript">
         function month(){
                var m=Number(window.document.myform.mo.value);
                if (m>12){
                     "call fn1 to display msgbox;
                     "exit function month;
                }
         }
     </script>

  2. #2
    SitePoint Guru Jason__C's Avatar
    Join Date
    Oct 2009
    Location
    Racoon City
    Posts
    656
    Mentioned
    1 Post(s)
    Tagged
    0 Thread(s)
    Short anwser, no.
    Chuck Norris is so tough, mosquitos ask for permission before they bite him


Bookmarks

Posting Permissions

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