Response title
This is preview!
It is now possible to change button‘s data-theme programatically via_setOption
.
$("#myDiv .blah"); vs $(document.getElementById("myDiv")).find(".blah");
http://jsperf.com/jquery-getbyid
So if somebody keen on performance, its better to use document.getElementById for selecting with id.
is it right?
$('#foo').bind('click', fnhandler);
function fnhandler() { alert('User clicked on "foo."'); }
© 2013 jQuery Foundation
Sponsored by and others.