Results 1 to 2 of 2

Thread: How to pass VBscript variable to Javascript?

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2002
    Posts
    88

    How to pass VBscript variable to Javascript?

    i need to do a popup window to view details on attendance
    the code is :
    <a href="javascriptpopup('ViewSummary.htm',550,400, 'no')">

    inside the ViewSummary.htm, it requires to use session("username") to pick the attendance of the user from a database and perform calculations to display absenteeism, timein, timeout, etc, on the form.

    I can do it using
    <FORM METHOD="Post" ACTION="ViewSummary.htm" TARGET="_Blank">

    but the problem is that the address bar and toolbar appear on the new window which i don't want it to show.

    Do anyone understand my problem? Please help cos i'm doing a school project now. Thanks

  2. #2
    Kitten CornedBee's Avatar
    Join Date
    Aug 2001
    Location
    In a microchip!
    Posts
    11,594
    <a href="javascriptpopup('ViewSummary.htm?varname=value&othervar=otherval',550,400, 'no')">

    Then parse the URI.

    And your thread title is misleading.
    All the buzzt
    CornedBee

    "Writing specifications is like writing a novel. Writing code is like writing poetry."
    - Anonymous, published by Raymond Chen

    Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.

Posting Permissions

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



Click Here to Expand Forum to Full Width