it may use label or other
How to show a label with a click in a textbox
to show some message on clicking the textbox
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Sukesh MarlaPosted Sep 29, 2012, 2:56 AM
Use jQuery for that
add a CSS class called TxtMyTextbox to Textbox and LblMyLabel
$(document).ready
(
function()
{
$('.TxtMyTextbox').click
(
function()
{
var textboxvalue=$(this).attr('value');
$('.LblMyLabel').text("Hello world");
}
);
}
);
Check this is correct answer if it helped