Hi All,
I need some help with jquery script again :-) Just trying to play with jquery..I use script below for coloring options of select element. It works in pure html, but in my asp.net 2.0 (Master + Content pages) does not. Script is placed in Head section.
function pageLoad(){
var allOddSelectOption = "select option:odd";
var evenStyle = "background-color:'#f4f4f4';color:'#555'";
$(allOddSelectOption).attr('style',evenStyle);
}
I tried also use $(document).ready(function(){ but it didn't work too.
Any ideas, tips most welcome? Thanks, X.