Hi,

I am creating a dialog that has three asp.net buttons inside it. I want to
change the text property of the buttons from jquery. I have tried the
following code but it does not work. The text is not changed.

//server control id=b1
var b1 = $("#<%=b1.ClientID %>");  
b1.text("yes");

I have also tried
b1 = $("[id$=b1]");
b1.attr("Text", "yes");

Can someone please tell me what I am doing wrong?

King Regards
Cecilia
-- 
View this message in context: 
http://www.nabble.com/Set-text-property-of-server-control-tp23386712s27240p23386712.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to