I have a  #url.path# variable that is dynamically populated.  At the end of
the users selection I need to pass that value to a CFFILE tag as a
destination directory.  Given that this occurs on the page before being
passed to the server, JS makes sense here to collect it on the first page
and convert it to a form variable.

I have tried the following to no avail and would appreciate some insight as
to how to do it.  

Thanks

Richard Kern

----------
<SCRIPT LANGUAGE="JavaScript"
        TYPE="text/javascript">
<!--
       function set_path() 
          {document.forms[0].dir.value = "#url.path#"}

//-->           
</SCRIPT>
        
called at 
        <INPUT TYPE="submit"
          NAME="Submit"
          VALUE="Press to upload"
          onsubmit="set_path();">

2nd page - this produces no output

<CFOUTPUT>
        #FORM.DIR#
        ------

</CFOUTPUT>

        
----------------------------------------------------------------------------
--
Archives: http://www.mail-archive.com/[email protected]/
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.


------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
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.

Reply via email to