I was not able to use your previous reference. I need to stay with the javascript format in my new thread. The switch syntax you reffered me to did not work in my case.
<!-- Javascript -->
function whichColour(obj){
if(obj.group_name.selectedIndex == 1)
<!-- Section 1 -->
{...
In my Javascript I want to add a third section, which calls a "option C" in my select statement. I am not able to get the correct syntax in the Javascript. Using the return in the javascript in the current location will show the first and second section, but when I add the third section nothing...
cLFlaVA,
I am not sure so let me give you the function and the call to the function:
Function:
<script language="JavaScript1.2">
function whichColour(obj){
if(obj.group_name.selectedIndex == 1){
obj.directory.length=4
obj.directory.options[0].value="msds_pds/QEP Product Data Sheets/"...
If want to add a third section to this function what is the syntax?
function whichColour(obj){
if(obj.group_name.selectedIndex == 1){
obj.directory.length=4
obj.directory.options[0].value="msds_pds/QEP Product Data Sheets/"
obj.directory.options[0].text="msds_pds/QEP Product Data...
Wullie,
I am already using this code to upload files and it works, but when I want to overwrite the same file with a new file the code does nothing?
Thanks, awieland
GUJUm0del,
The permissions on the folder are set for 'Everyone' and 'Full Control', which includes modify? Do you have any other ideas?
Thanks, awieland
GUJUm0del,
I am not receiving any errors. I tryed inserting the <cftry> and <cfcatch> tags and nothing came back. I did not receive an error and the page launched successfully, but the files did not update on the server? Any other suggestion or code you need to see?
Thanks,awieland
j4606,
Sorry about that I forgot to include the javascript, here it is.
<script language="JavaScript">
function setValue(obj1, obj2)
{
obj2.value = obj1.value;
return true;
}
</script>
Thanks
I am using the following code to modify or overwrite an existing file on the server, but the code does not when I click the submit button.
Any Ideas, Anyone?
CODE:
<!--- Modify Small Image files --->
<cfif #FORM.hsmFileName# NEQ '' >
<cffile
action="upload"...
I am using the following code to Upload files to the server with no problems, but when I try to use this code to modify an existing file nothing happens on the server and the file is not updated?
Thanks In Advanced
CODE:
<cfif #FORM.hsmFileName# NEQ '' >
<!--- Modify Small Image files...
mbrooks,
Can you leave my onFocus="if(this.value=='SEARCH')this.value='';" as is because on my next page index.cfm I am using the following to call the SERACH variable. So, I am only looking to adjust my javascript function on the form page to pass the variable...
I need a function for my onFocus call, see below. I am trying to pass the text in my search box and assign it to the variable labeled SEARCH. This varible will be called by another page, which uses the following <cfoutput>#search#</cfoutput> to call the variable.
I just need to get the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.