1 Reply Latest reply on Nov 24, 2006 7:51 AM by sean69

    re: Outputing CF values to a popup window

    Level 7
      >I am currently trying to pass values to a javascript
      >popup window so they can be utilized by the coldfusion
      >query in the popup window.

      >I tried getting around this by using a view


      Don't use a view. Pass the value to the popup window as a url variable.

      <!--- main page --->
      <cfoutput query="yourQuery">
      <img src="someImage.gif"

      <!--- popup page --->
      <cfparam name="url.yourID" default="0">

      value of url.yourID is #url.yourID#