Try wrapping the variable with the CF Function jsstringformat() My bet is that the / or \ characters in the path are making trouble for you.
Thanks, Joshua Miller Head Programmer / IT Manager Garrison Enterprises Inc. www.garrisonenterprises.net [EMAIL PROTECTED] (704) 569-0801 ext. 254 ************************************************************************ ************* Any views expressed in this message are those of the individual sender, except where the sender states them to be the views of Garrison Enterprises Inc. This e-mail is intended only for the individual or entity to which it is addressed and contains information that is private and confidential. If you are not the intended recipient you are hereby notified that any dissemination, distribution or copying is strictly prohibited. If you have received this e-mail in error please delete it immediately and advise us by return e-mail to [EMAIL PROTECTED] ************************************************************************ ************* -----Original Message----- From: Stan Winchester [mailto:[EMAIL PROTECTED] Sent: Monday, July 14, 2003 11:52 PM To: CF-Talk Subject: iframe & form javascript Tim, Changed it to ImageName and still the same thing. Thanks, Stan >First thing I would do would be to change the field name to something >other than Image. IMage is an object in js and that may be a cause for >your problem. Even if you just try changing all refrences to it to img >or imgField or something. > >Tim >----- Original Message ----- >From: "Stan Winchester" <[EMAIL PROTECTED]> >To: "CF-Talk" <[EMAIL PROTECTED]> >Sent: Monday, July 14, 2003 10:38 PM >Subject: iframe & form javascript > > >> I've got a form with two nested iframes that are side-by-side. The >> one of the left shows a directory listing of images, the one on the >> right is an image viewer. Below is the link that is used in the left >> iframe (this is inside a cfloop). When a user clicks on the link the >> image views properly, but I also want the image path & name values to >> be passed to a form field name "Image" that resides the form. >> >> <a href="viewer.cfm?image=#subDir##name#" target="viewer" >> >onClick="top.mainFrameSet.main.document.frmAddItem.Image.value=#subDir# >#name >> #;">#name#</a> >> >> The problem is the path & name values are not getting passed to the >> field name "Image". I'm not getting any javascript errors, but it >> does not work. >> >> Thank you, >> Stan Winchester >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq 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 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

