06-12-2008, 10:01 AM
|
#20 (permalink)
|
|
The Frequenter
Join Date: Sep 2007
Location: Denmark
Posts: 352
Thanks: 8
|
You should be using a framework such as mootools to get rid of the many cross browser issues. MooTools "normalizes" alot of standard methods that some browsers may not have or is named differently.
But its also limited what I've run into with cross browser javascript issues even on more advanced tasks, the only potential thing I find is the Mozilla's .textContent vs. the .innerText one. Ofcourse you can say like:
var text = (element.textContent || element.innerText);
__________________
|
|
|