Anyone have any idea why it will not work as designed?
-----Original Message-----
From: CF Developer [mailto:[EMAIL PROTECTED]
Sent: Friday, November 02, 2007 3:05 PM
To: CF-Talk
Subject: CFGrid issue
I am having an issue with using a CFGRID. I am display the grid with maybe
4 columns of data.
My first column is an ID column.
My goal is to click on a row and it will send the user to a new page with
the ID value being part of the URL.
such as: onClick url would be: test.cfm?id=1 or 2 whichever the ID value
is.
Any idea why this will not work and will just add a # to the existing URL?
<cfgrid
name="datatrack"
format="HTML"
query="qGetAllDataTracks"
selectmode="row"
onchange="getURL('test.cfm?ID=' +
datatrack.dataProvider[datatrack.selectedIndex]['ID']);"
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Enterprise web applications, build robust, secure
scalable apps today - Try it now ColdFusion Today
ColdFusion 8 beta - Build next generation apps
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:292616
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4