Change the code to something like:
        <input type="button" value="Refresh" class="navlinks"
                onClick="parent.middle.document.history.go(0);">

Note the removal of the TARGET attribute as this doesn't apply to INPUT
tags.  Also, note the removal of the "javascript:" from the onClick
definition.  It's assumed and, therefore, no necessary.  And finally, note
the code used in the onClick definition.

--
Mosh Teitelbaum
evoch, LLC
Tel: (301) 625-9191
Fax: (301) 933-3651
Email: [EMAIL PROTECTED]
WWW: http://www.evoch.com/


> -----Original Message-----
> From: FlashGuy [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 10:28 AM
> To: CF-Talk
> Subject: <input tag
>
>
> I'm using 3 column frames on my site with the following names.
>
> | left |  middle  |  right  |
>
> I have this <input> line on a page in the "right" frame. When I
> click on the "Refresh" button I want the "middle" frame refreshed.
> The below only refreshes the "right" frame when clicked. Whats
> wrong with my syntax or JS?
>
>
>               <input type="button" value="Refresh"
> class="navlinks" onClick="javascript:history.go(0);" target="middle">
>
>
> ---------------------------------------------------
> Colonel Nathan R. Jessop
> Commanding Officer
> Marine Ground Forces
> Guatanamo Bay, Cuba
> ---------------------------------------------------
>
>
>
> 
______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to