How to add a style in line of jquery code?

counihamag

New Member
I want to know what is the best way to add a style in the code below so that the readonly textboxs are coloured grey?\[code\]$("[class*=q" + i + "_mark]").val(t_marksHtml).attr('readonly', true);\[/code\]
 
Back
Top