Watermark asp:Login control Username and Password fields

Posted by Gogster on Stack Overflow See other posts from Stack Overflow or by Gogster
Published on 2010-03-29T13:03:45Z Indexed on 2010/03/29 13:13 UTC
Read the original article Hit count: 503

Filed under:
|
|
|

Hi all,

I'm trying to watermark the asp:Login controls' Username and Password fields with jQuery, I've tried various ways of referencing the control ID:

$('#<%=ClientID.Login1_UserName %>').watermark('watermark', 'Username');

I have tried moving the ClientID, Login1 and UserName around and changing the selectors to and from userscores and periods...

Any ideas?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about login