do you guys think i should suggest that it be included in the jquery
core, allowing to do
var myColor = $('a:hover').css('background-color');
?
i have no idea about the cost/benefit ratio, i just think that it
"feels" right to store styling in the stylesheet rather than in
metadata quirks.
On Fri, Mar 27, 2009 at 2:14 AM, Danny <[email protected]> wrote:
>
> I honestly have never profiled it, so I don't know. It does not
> involve any AJAX or other additional http access. It does n regular
> expression comparisions, where n is the number of CSS rules in all
> your stylesheets.
>
> On Mar 26, 7:05 pm, Alexandre Plennevaux <[email protected]>
> wrote:
>> ok, so if i understand this correctly, this method does not bring in a
>> heavy overhead?
>>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---