mrkeck Sharing the Love

13Apr/140

Cross-Browser Testing

I'm using a Mac so no IE to play with, so it got me looking around.

BrowserStack.com opens a dynamic cloud computer with whatever OS, Browser, and Resolution you would like. The remote Browser has dev tools, even Firebug Lite in IE.

You can take screenshots if you want to as well.

I used this instead of BrowserShots.com (which looks cool too, takes screenshots based on different browsers) because I needed to login to the page I was testing.

13Apr/141

jQuery attr vs prop for Checkbox

attr is iffy

$('.checkbox').attr('checked', true);      //Doesn't work
$('.checkbox').attr('checked', 'checked'); //Sometimes works
$('.checkbox').attr('checked', false);     //Works

but prop works every time

$('.checkbox').prop('checked', true);  //Works
$('.checkbox').prop('checked', false); //Works
Filed under: HTML, jquery 1 Comment