Dear all
When I use a CFGRID on a form and then submit the form, all the details
about the current row in the grid are passed through. This is when I
use a 'submit' button which calls a javascript function which does a
submit of the form.
If i replace the 'submit' button with a gif of a button and do the same
onclick event to the same javascript function the details of the grid are
NOT passed through by the form.
The details are :
CF version 4.5 on NT
If the code is :
<a onClick="update_onclick()"><img name="update_btn"
src="buttons/update_btn.gif"></a>
<input type="submit" name="update" value="Update" onclick="update_onclick">
The submit button works ok but the gif doesnt when the javascript function
is :
function update_onclick()
{
the_form.submit()
}
Any ideas????
Phil Palmer
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.