Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


popup window and parm passing problem ( VB- or JavaScript )

For a web app, I need to create a pop-up window which displays some results of a query which will execute server-side in the asp page to be displayed in the window. The query requires a variable parameter which comes from the calling page. This is for an intranet app running under IE ( no need to deal with Netscape here ). The page in the popup queries a SQL Server db server-side.

What approach is best/easiest for creating this pop-up window ?

I am trying to use showModalDialog with a variable parameter, but the parameter is not received by the asp page opened in the window. I used the showModalDialog method with a literal parameter successfully in a similar case, but not with the variable name, even when forced to be received 'byVal' in the VBScript function which calls showModalDialog ( that calling function is called from a button 'onclick' event which passes a value from a form field, and I know the variable is received from the onclick command ).

I also started trying to use the popup object but do not see how to pass the parameter so the asp code can use it as the window is opened with the asp page.

Any help will be much appreciated.


  • Justin BibJustin Bib USAMember Posts: 0

    ____ { } free ebooks and video tutorials about // MATLAB JavaScript Go Scratch Delphi R Perl Python C Ruby Visual Basic C++ Swift Assembly Objective-C PL/SQL Visual Basic .NET C# Java PHP Alice COBOL Julia Scala VBScript Fortran ABAP Lisp Dart Rust Kotlin Transact-SQL Ada Scheme LabVIEW Apex Clojure Lua SAS D Erlang Awk Hack FoxPro Bash F# Prolog Logo Crystal ML //

Sign In or Register to comment.