• 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

List of items that differ in different OS's and browsers

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I need to learn how to write HTML, CSS and JavaScript that will work regardless of operating system and web browser. For example,

Several web sites discuss the best approach to take. (They say that we should check whether browser objects contains needed features, instead of "browser sniffing".) But what I need is a checklist of all items that I need to check.

Does anyone know of a website that has a list of items (ex: event vs window.event) that I need to check?

Thank you.
 
Saloon Keeper
Posts: 7582
176
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
caniuse.com is one such site, although it's geared more towards support for HTML/JavaScript features and APIs across browsers/OSes.

Using a library such as jQuery should let you write cross-browser JavaScript, as it abstracts away those differences.
 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Even with a site such as caniuse and using jQuery to remove most cross-browser issues, do you have to "code down" to support certain functions that don't work on browser X, but work on all other browsers??

I'm a server side guy trying to learn HTML5 and JavaScript2.0 and my limited JS experience (from about 3 years ago) has been that I had to do so.

Thanks!
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Using jQuery, I cannot remember the last time I felt a need to do browser or feature detection. I'm not saying that it's 100% (can anything ever be?), but the likelihood of running into one of the exceptions is miniscule.


 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic