PDA

View Full Version : which is the best


chrisk410
08-19-2006, 07:05 PM
DOM or reg?

jkd
08-19-2006, 08:52 PM
Define reg for us?

Kravvitz
08-20-2006, 04:33 AM
If by "reg" you mean document.all, document.all is obsolete and should only be used if you wish to support IE4 in addition to browsers that support DOM1+.

If by "reg" you mean innerHTML, while being fairly well supported cross-browser, though there are some inconsistencies, it it not part of any standard and should be used with caution.

If you mean something else, please explain.