cancel
Showing results for 
Search instead for 
Did you mean: 

Help! Novice trying to get a SetText alternative to work in Firefox

nicolel
Dabbler
Posts: 15
Registered: ‎27-08-2008

Help! Novice trying to get a SetText alternative to work in Firefox

Hi Everybody. I am still a beginner at HTML and Javascript coding, and i need some help with something! I have a form on an online store in setting up. (All the heavy stuff is being set up somewhere else - phew)
Basically, i have a standard billing address form, with a delivery address underneath. Between them i have a checkbox that copies the delivery address to the billing if the customer clicks it. Works perfectly in IE, Safari, Chrome, apart from Firefox.
What do i use instead of setText? I have been searching but i can't seem to get my head around it. The code i am using is this:
<input type="checkbox" name="checkbox" value="checkbox" onclick="setText();" />
          Same as above?</div></td>

Hope thats the bit of code you need - as i say I am completely utterly confused.  Cheesy Any help would be great!
Thanks, Nicole
1 REPLY 1
samuria
Grafter
Posts: 1,581
Thanks: 3
Registered: ‎13-04-2007

Re: Help! Novice trying to get a SetText alternative to work in Firefox

Have you got a page we can look at so we can see whats going on its hard for a doctor to work out whats wrong without seeing the patient.
Settext() normally has a variable to pass as a parameter or it passes null string but it depend what you are using Java, javascript etc