Skip to main content
Inspiring
April 20, 2007
Question

opening link in new window from cfgrid

  • April 20, 2007
  • 1 reply
  • 969 views
Hi all, I am using the following code to create a link to a more info page for the selected row of data:

<cfinput type="button" name="MoreInfo" value="More Info" width="100" tooltip="Click here to view more information on the selected data" onClick="getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'])">

how can I make it open in a new window please?

many thanks
    This topic has been closed for replies.

    1 reply

    BKBK
    Community Expert
    Community Expert
    April 22, 2007
    getURL('moreInfo.cfm?ID='+data.dataProvider[data.selectedIndex]['ID'], "_blank")