Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2006
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Can we use both javascript and vbscript in one asp file

    I am making which is having dependent list boxes values can I use both javascript and vbscript.For ex Mandatory check is written in javascript and dependent fuction in vbscript.

  • #2
    Senior Coder BarrMan's Avatar
    Join Date
    Feb 2005
    Location
    Israel.
    Posts
    1,644
    Thanks
    69
    Thanked 83 Times in 82 Posts
    Yes you can.
    Code:
    <%If i <> 1 Then%>
    <script language="javascript">
    window.alert("Error!")
    </script>
    <%End If%>


  •  

    Posting Permissions

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