I have no javascript knowledge. I am responsible for a website that includes a small amount of javascript, that stops working in firefox. The script begins like this:
Expand|Select|Wrap|Line Numbers
- <script = javascript>
- }
- function SameShipping() {
- if (document.Form1.Checkbox1.checked)
- {
- document.Form1.shipping_fname.value = document.Form1.fname.value;
- document.Form1.shipping_lname.value = document.Form1.lname.value;
- <BLAH BLAH>
- </script>
The <form> line looks like this:
Expand|Select|Wrap|Line Numbers
- <form id="Form1" name="FrontPage_Form1" onsubmit="return FrontPage_Form1_Validator(this)" action='createaccount.asp?comments=<%=comments & "&shipping=" & shipping%>' method="post">
Expand|Select|Wrap|Line Numbers
- <INPUT id="Checkbox1" onclick="SameShipping();" type="checkbox" value="ON" name="sameshipping">
Expand|Select|Wrap|Line Numbers
- if (document.Form1.Checkbox1.checked)
Can anyone help me get this script working in firefox? I repeat. . . I have no Javascript skills, and minimal VB script.
Thanks
ddiabetes