Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Feb 24, 2011 10:54 AM by lakshmikanthblr
Member
22 Points
119 Posts
Feb 26, 2010 05:18 AM|LINK
How to set the text property of an asp textbox with watermark extender in javascript?
All-Star
48619 Points
7957 Posts
MVP
Feb 26, 2010 05:55 AM|LINK
Hi, http://www.codeproject.com/KB/aspnet/WatermarkTextBox.aspx with ajax.net water mark extdender OR water marking using javascript.. http://www.ricocheting.com/js/watermark.html http://www.willasrari.com/blog/create-textbox-watermark-using-css-and-javascript/000285.aspx
80367 Points
6801 Posts
Mar 01, 2010 05:18 AM|LINK
Hi,
You can call javascript $get('textboxID').value="XXX" to set the value directly.
66589 Points
11270 Posts
Mar 02, 2010 02:16 AM|LINK
var txt = 'text to set'; var tbox = document.getElementById('textboxid');
if (tbox) { tbox.value = txt; }
2 Points
1 Post
Feb 24, 2011 10:54 AM|LINK
This is very simple find the code and demo in the below link
http://infobylakshmikanth.blogspot.com/2010/11/developing-masked-textbox.html
sriguru_kunu
Member
22 Points
119 Posts
How to set the text property of an asp textbox with watermark extender in javascript?
Feb 26, 2010 05:18 AM|LINK
How to set the text property of an asp textbox with watermark extender in javascript?
qwe123kids
All-Star
48619 Points
7957 Posts
MVP
Re: How to set the text property of an asp textbox with watermark extender in javascript?
Feb 26, 2010 05:55 AM|LINK
Hi,
http://www.codeproject.com/KB/aspnet/WatermarkTextBox.aspx
with ajax.net water mark extdender
OR
water marking using javascript..
http://www.ricocheting.com/js/watermark.html
http://www.willasrari.com/blog/create-textbox-watermark-using-css-and-javascript/000285.aspx
Avinash Tiwari
Remember to click “Mark as Answer” on the post, if it helps you.
Vince Xu - M...
All-Star
80367 Points
6801 Posts
Re: How to set the text property of an asp textbox with watermark extender in javascript?
Mar 01, 2010 05:18 AM|LINK
Hi,
You can call javascript $get('textboxID').value="XXX" to set the value directly.
chetan.sarod...
All-Star
66589 Points
11270 Posts
Re: How to set the text property of an asp textbox with watermark extender in javascript?
Mar 02, 2010 02:16 AM|LINK
var txt = 'text to set';
var tbox = document.getElementById('textboxid');
if (tbox)
{
tbox.value = txt;
}
Senior Software Engineer,
Approva Systems Pvt Ltd, Pune, India.
lakshmikanth...
Member
2 Points
1 Post
Re: How to set the text property of an asp textbox with watermark extender in javascript?
Feb 24, 2011 10:54 AM|LINK
This is very simple find the code and demo in the below link
http://infobylakshmikanth.blogspot.com/2010/11/developing-masked-textbox.html