Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by awieland

  1. awieland

    Javascipt Syntax

    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 --> {...
  2. awieland

    Javascipt Syntax

    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...
  3. awieland

    Syntax Help

    cLFlaVA I want to add additional options i.e. Option "C" <td> <select query="list_groups" name="group_name" value="group_name" onchange="whichColour(this.form)"> <option>--- Select ---</option> <option value="A">A</option> <option...
  4. awieland

    Syntax Help

    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/"...
  5. awieland

    Syntax Help

    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...
  6. awieland

    Anyone? How To Modify a File on the Server using CFILE?

    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
  7. awieland

    Anyone? How To Modify a File on the Server using CFILE?

    j4606, Did you have a chance to see my response? Thanks, awieland
  8. awieland

    How To Use CFILE Upload to Modify and Existing File

    GUJUm0del, The permissions on the folder are set for 'Everyone' and 'Full Control', which includes modify? Do you have any other ideas? Thanks, awieland
  9. awieland

    How To Use CFILE Upload to Modify and Existing File

    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
  10. awieland

    Anyone? How To Modify a File on the Server using CFILE?

    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
  11. awieland

    Anyone? How To Modify a File on the Server using CFILE?

    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"...
  12. awieland

    How To Use CFILE Upload to Modify and Existing File

    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...
  13. awieland

    Pass a value using the onFocus event handler

    mbrooks, I am getting a javascript error, Error Expected ';' line 43 41 <script type="text/javascript"> 42 <!--// 43 getValue(value) { 44 var result = (value == 'SEARCH') ? ";" : value; 45 alert(result); 46 } 47 //--> 48 </script> Thank you, awieland
  14. awieland

    Pass a value using the onFocus event handler

    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...
  15. awieland

    Pass a value using the onFocus event handler

    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...

Part and Inventory Search

Back
Top