Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Mac > Internet Explorer for Mac > innerHTML bug i...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 177 of 192
Post > Topic >>

innerHTML bug in Mac IE 5

by "carrera" <jen6575@[EMAIL PROTECTED] > Oct 20, 2005 at 03:24 PM

I have seen solutions for this all over but none of them work.  Any
ideas?

I'm trying to add rows to a table so that users can apply more than one
gift certificate to their order, but they don't want to show all tem
rows, they want me to have a link to click and add a new row.  So far
it works in all browsers except IE5.  I have seen the "append /n" fix
but it doesn't work.

Here's a sample:
var x=document.getElementById('GC').insertRow(-1)
var x2=document.getElementById('GC').insertRow(-1)
var x3=document.getElementById('GC').insertRow(-1)
var a=x2.insertCell(0)
var b=x2.insertCell(1)
var y=x.insertCell(0)
var z=x.insertCell(1)
var c=x3.insertCell(0)

c.colSpan = 2;
y.innerHTML = '';
y.innerHTML="Gift Card/Certificate Number:\n"
z.innerHTML = '';
z.innerHTML="*Pin Number (4 digits):\n"
a.innerHTML = '';
b.innerHTML = '';
c.innerHTML = '';
a.innerHTML="<input type='text' name='gc_nbr_2' size='22'
maxlength='19'>\n"
b.innerHTML="<input type='text' name='gc_pin_2' size='5'
maxlength='4'>&nbsp;<a href='javascript:gcpin_popup()'>what's
this?</a>\n"
c.innerHTML="<div align=center><img
src=/assets/images/checkout/gray_spacer.gif width=300 height=1 border=0
vspace=5></div>\n"

I tried taking the div out as well.  HOpe someone can help! TIA!
 




 1 Posts in Topic:
innerHTML bug in Mac IE 5
"carrera" <j  2005-10-20 15:24:01 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Jul 9 9:05:01 CDT 2008.