Maybe I lack of information on reading just wandering why code has different way of style but same output?. Can someone explain it to me?.
For example like this
it does not matter to use single or double quotes in above. but in case like creating dynamic html as an example :
var create_element = $("<div class='myclass'></div>");
you have to use both.
for more details about
double quotes refer this link
for your second question, there isn't a difference of using
disabled. but from
jQuery1.6 and above
, should usetrue`.