zzhang2006
asked on
Javascript modify table on the documents -- inconsistent betwee fireFox and IE
See this example:
http://cs330.blueearthconnections.org/Josh/classwork/student_grades.html
You can enter name/scores and then hit "print table" to print a grade table below the buttons.
It seems working for fireFox, but if you use IE it gives you a run-time error. What can I do on the IE settings to get around this?
The code seem suppose to insert rows in a table already exist on the page.
Please help and thanks in advance
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER
Thanks
You MIGHT have better luck adding a TBODY and add to that, but using the DOM is much safer and much more correct as jman56 suggested
Additional make a function that passes in the grade so you do not have to repeat all that html
For example:
Open in new window