Q8Y
Q8Y

Reputation: 4001

How do i know if there is some syntax in javascript or html doesn't works in some browser?

the question as you all know, its for the IE :), because as usual, it doesn't follow the standards in some times. So, I need to know before I write some code, I need to know if its supported in the other browser or not. and the one that I need to check for it as usual is IE, because chrome & firefox most of the times they worked the same & gives a great result, while in IE it gives a rubbish & some wired stuff.

So, I need a site that can tells me for JS,jQuery,Html & Css which syntax that its not working in other browser & in a specific versions.

Also, is there is a way to test the code on different browser(and versions) without needing to install them all on the computer ??

Thanks alot...

Upvotes: 1

Views: 100

Answers (6)

Jochen
Jochen

Reputation: 1853

Maybe you should look into Selenium testing. There are some sites where you can run these tests online, for example http://testingbot.com

Upvotes: 0

El Kabong
El Kabong

Reputation: 717

For CSS compatibility issues you can also check out modernizr.js (http://www.modernizr.com/). It's pretty slick and allows you to use feature detection for browsers, as opposed to checking for client version. That and JQuery can really reduce bug/hack insanity.

Upvotes: 0

kolin
kolin

Reputation: 2344

I use http://www.quirksmode.org/compatibility.html as a basis for checkign whether a specific css syntax is supported in a particular browser, or if there is a css issue i can't seem to solve, i'll look here.

also, microsoft do have virtual images XP IE6, XP IE7, etc that get updated every couple of months, that web developers can download to test their sites.

Upvotes: 1

Evan Davis
Evan Davis

Reputation: 36592

http://www.w3schools.com/ has compatibility tables for CSS, JS, and HTML.

jQuery is normalized to work pretty much the same everywhere.

Upvotes: 0

Fabrizio Calderan
Fabrizio Calderan

Reputation: 123377

I suggest http://www.quirksmode.org/compatibility.html (css2.1 and javascript) http://findmebyip.com/litmus and http://caniuse.com/ (for css3 and html5)

besides there is also http://www.positioniseverything.net/ for an explanation of most common bugs on old IE versions

Upvotes: 3

alessioalex
alessioalex

Reputation: 63663

You can use websites like http://www.browserstack.com/ or http://browserling.com/ for cross-browser testing. Testling is also a good fit for this.

Upvotes: 0

Related Questions