Victor Kimura
asked on
innerHTML jQuery
How do I use this code:
but have the jQuery equivalent. I would like to use jQuery.
Thank you,
Victor
if (document.getElementById("id").innerHTML != '') {...}
but have the jQuery equivalent. I would like to use jQuery.
Thank you,
Victor
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if ( $("#id").html() != "" )
{
}
{
}
Off the top og my head it is $('#id').html().
ASKER
Thanks, guys. leakim answered first so I felt I should give him the credit. Thanks, though. I appreciate it as I know you guys have answered other questions I've posted. =)
{
}