Tags

    HREF OpenWindow

    A very common and useful construction is to create a link a user can click on to open a new window. Not only is a new window opened, but values from the current form are passed so that the window can perform a query based on the passed values.

    The first step is to use the HTML A tag. This is placed on the originating page. You have considerable control over how this link is displayed, from color to the style of the cursor.









    When the link is clicked, a javascript is invoked that defines the data to be passed (href_cus_discounts) as well as window parameters such as size, toolbar, scrollbar, etc.

    cusDiscount1.tiff





    The values of cus_number and order_number will be passed to the Discounts window. Note however, these values must exist or be passed from the originating page or the onClick event will fail.

    cusDiscount2.tiff

    Comments

    /groups/commonground/search/index.rss?tag=hotlist/groups/commonground/search/?tag=hotWhat’s HotHotListHot!?tag=hot0/groups/commonground/sidebar/HotListNo items tagged with hot.hot/groups/commonground/search/index.rss?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomelist/groups/commonground/search/?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcomeRecent ChangesRecentChangesListUpdates?sort=modifiedDate&kind=all&sortDirection=reverse&excludePages=wiki/welcome0/groups/commonground/sidebar/RecentChangesListmodifiedDateallRecent ChangesRecentChangesListUpdateswiki/welcomeNo recent changes.reverse5search