Ok, this is driving me up the wall. I have two textarea elements on my page. I set the padding for one inline and I set the padding for the other in a header style. When running this:
$("textarea").each(function(){
alert($(this).css("padding"));
});
I only get the padding value for the textarea with inline styles. How can I get styles set in the header or from external styles sheets?
I've searched and searched, but I guess I'm not looking in the right places for my answer. THANKS!