hi,
$(".abc") or $("p.abc")
you'd better to see the jquery api document:)
Johnny
On 12/13/06, luogz <[EMAIL PROTECTED]> wrote:
Dear All,
I'm a newbie of jQuery, I got a problem,can anyone give me a hand?
My problem is:
How can i get the class name of an element?
Actually getting the class value isn't as usefull as it might seem at first
glance because elements can have multiple classes - i.e. . This means that if you did get the value, you'd
have to do all sorts of gymnastics to check for what you want. It's much
better to use the functions built into jQu
$().attr('class')
On 12/13/06, luogz <[EMAIL PROTECTED]> wrote:
Dear All,
I'm a newbie of jQuery, I got a problem,can anyone give me a hand?
My problem is:
How can i get the class name of an element?
┈
国忠 -Terry Luo - UED,Yahoo! China
┈┈┈
Dear All,
I'm a newbie of jQuery, I got a problem,can anyone give me a hand?
My problem is:
How can i get the class name of an element?
┈
国忠 -Terry Luo - UED,Yahoo! China
┈
・Y!messenger: lovinglgz
・Email: