Is it a good or bad practice to use jQuery statements in plain javascript functions outside of ready? If not what is the correct way?
//** End ready **//
function doSomething() {
selectedClickBoxIndex = parseInt( jQuery('.' + clickBoxOnClass ).attr('value') );
// Javascript code
}
.val()and not.attr("value")...