Hey thanks Dookie2k2, I tried your code and the only thing I had to change was to place the 'document.Sales.user_name.focus();' under the 'return false;' line............now when I close the alert box the cursor is focused back onto the field that is not correctly filled in.
Thanks again
I am using the validation script below as part of a larger script for a sales form. At the bottom of the sales page I have a button that runs a function to open a printable page. I need to validate the form fields on the form before proceeding to the printable page. If I leave one of the fields...
Hey found the problem after much searching........
The enclosing brackets ( should be [
document.getElementById("Title").options[document.getElementById("Title").selectedIndex].text
works fine now
I am trying to write a value into another page with the section of code below but I am getting an error in the Netscape 7 javascript console saying ' Error: document.getElementById("Title") has no properties
It works ok in IE6 but not NS7
list += "<table width='100%'...
Hi there,
I have found a great ASP shopping cart with heaps of features and not difficult to set up
Check out www.comersus.com
The software is Open Source....Free Distribution
palbano........is that HTML or is it the javascript code that I need to add into the script??
and do I need to add it into the lines of code that refer to the other text fields etc as shown below.
list += "<html><body><font color='#ff9900' face='Verdana, Arial, Helvetica'...
Hey thanks Raxg,
If I use radio buttons do I need to use a list like below except with radio buttons or does it write the value like a text field or option box does?
list += "</table>";
var nametitle = "";
if(document.all.MR.checked) { nametitle = "Mr."; }...
I am trying to write the checkbox value into another popup window but it does not work in Netscape 7. I get an error in the javascript console saying.... ' document.all has no properties '. Below is an example of the section of code I am using.
list += "</table>";
var nametitle =...
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.