Your data items would need to be the values in form fields, or be on the url string of the form action or you could look into an ajax style solution which fires a cfm page or cfc function on change of the data in the grid and stores in cf variables (maybe in session) so it is available to other pages.
On 10/24/06, Richard White <[EMAIL PROTECTED]> wrote: > > hi, i am using a dhtml control grid that allows users to enter various > data. i only want to save the data in the grid when the user clicks save. > The save button is on a cfform. > > I would like to do the following: > > a) when the user clicks on the save button a javascript function is called > which somehow saves the data into someform of variables that can be passed > to the cfform action page > b) when the data is saved the data stored in the variables are also passed > to the action page > c) in the action page i can acess this data > > i suppose i can do an onclick event in the cf submit button where i can > save the data before moving to the action page but i am not sure how i need > to save it (i.e. into what variables that can be passed?) and how i can > then pass it to the action page. > > i would appreciate any help and advice > > thanks > > was wondering if there was any way for me to save the data from the grid > in javascript when the user clicks befire > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:257908 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

