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...
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...
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...
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...
Okay, First let me thank everyone who help me correct my JavaScript issue laet week.
My next issue is not being able to update a varible to my database. Using the code below I am able to write a 'Y' to the DB field, but I am not able to update the same field to an 'N' using a single check box.
I...
I am receiving a JavaScript error and not able to send my varible to the database. The code that is giving me trouble is . Please know that I am using XML and the code sits in an XML template called W4Page and in that XML template the form W4Form is being used. I apologize for the large post...
I am receiving the following JavaScript error:
'document.W4Form.Married' is null or not an object.
Here is my code:
<xsl:choose>
<xsl:when test="(MarriedFileSingle)='Y'">
<INPUT type="checkbox" name="fMarriedFileSingle" onClick="javascript:marriedSingle()" checked="yes"></INPUT>...
I have a single checkbox that will pass a 'Y' when it is checked and a 'N' when unchecked.
I can get the 'Y' to pass when the box is checked, but when the box is unchecked I can NOT get the variable 'N' to pass, it passes nothing only a blank variable causing the application to crash...
I have a single checkbox that will pass a 'Y' when it is checked and a 'N' when unchecked.
I can get the 'Y' to pass when the box is checked, but when the box is unchecked I can NOT get the variable 'N' to pass, it passes nothing only a blank variable causing the application to crash...
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.