• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Equivalent functions for cell() ros() in firefox?

 
Ranch Hand
Posts: 50
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I have used cell() and rows() function in javascript in one of my application. These codes run properly on IE but it fails on firefox. please tell me how can I get read of this.

Amitesh K.
 
Rancher
Posts: 43081
77
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
IE has some non-standard methods that should be avoided, and standard DOM functions used instead. Since those are generally supported in IE as well that's most likely mot a problem.

Here is the DOM documentation of HTML tables. Note that "cells" is a property, not a method, so it does not have parentheses after it. Once you have the rows, you can dig into those to get at the cells.

This article is also helpful in creating cross-browser compatible code.
reply
    Bookmark Topic Watch Topic
  • New Topic