Test Case Boilerplate

Fork this way...

HTML

<html> 

 <head> 
 </head> 

 <body> 

 <div myAttribute="">zxc</div> 

 

 </body> 

 </html>

JavaScript

$('[myAttribute]').live('click', function () {alert('qq');}); //this doesnt work in Opera (but works in FF/Chrome) 

//$('[myAttribute]').each(function () {$(this).click(function () {alert('qq');})}); //this works 

//$("[myAttribute*='']").live('click', function () { alert('qq'); }); //this works in Opera, but doesnt in FF/Chrome