Hi ...

I just want to modify my del.icio.us page so that the font color won't
look bad (using jquery and greasemonkey) ... :)

I did that .. and now I want to change the text inside <a
class='pop'>
like this

[code]<a class="pop" style="padding: 0pt 0.2em; background-color:
white; color: red;" href="/url/b695236dbc5a6b551e49de8a718a89df">saved
by 651 other people</a>
[/code]

but I don't know how to modify text "saved by ... other people". I
wanto add a new style for example if it saved by less than 100, the
color will be light yellow, 100-300 color will be yellow, etc ... but
i have no idea how to add and change the element inside ;)

here is my jquery

[code]
$('a.pop').each(function(data){
    this.text = 'change to something '; // won't change ... :(
});
[/code]

any idea ? :D

Reply via email to