Peter,

Amongst trying out your code I realized the target site no longer available.  I 
appreciate it very much though.

Don
> >two things I can see  ...
> >    Should   width=   not be   width:   ?
> 
> Yes, since inside the style="..." attribute you are using CSS, and CSS 
> does not use = to delimit properties and values.
> 
> 
> 
> >    Does onclick need the semicolon  ;   ?
> 
> Makes no difference. Again, inside onclick you are using JS, which 
> generally accepts the command terminator (semi-colon) to be skipped 
> when it is not necessary.
> 
> 
> 
> > Try adding a 'return false' to the onclick.
> 
> The purpose of 'return false' is to cancel whatever default event was 
> occurring:
 
> - if a link was clicked then the browser will not follow the href
 
> - if a form was submitted this action will be cancelled
 
> - if an input value was changed, the value will be reverted
> etc.
> 
> Since this is a generic button, it has no default event, so returning 
> false has nothing to prevent from occuring. 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321264
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to