Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
All-Star
118619 Points
18779 Posts
Feb 01, 2012 12:02 AM|LINK
PAULSC how to get the Javscript to operate on the label in the control, if there is more than one of these on the page - there will be more than one label?
Label——If you run your aspx app proj and right click to see the source codes,it's:
<span>……</span>
So you can just do this:
$("span").each(function(){$(this).text("Your real contents here");})
Decker Dong ...
All-Star
118619 Points
18779 Posts
Re: embedding javascript that acts on child controls of a webcontrol
Feb 01, 2012 12:02 AM|LINK
Label——If you run your aspx app proj and right click to see the source codes,it's:
<span>……</span>
So you can just do this:
$("span").each(function(){$(this).text("Your real contents here");})