Click here to Skip to main content
15,913,587 members
Please Sign up or sign in to vote.
1.00/5 (3 votes)
See more:
How can understanding to client that use one language for fill textbox or off his or her caps lock .

If you have code give it to me.

If with java script how can i link to asp.net?
Posted
Updated 4-Oct-11 23:34pm
v2

I believe this is what you're after:
Detect Caps Lock with JavaScript[^]
 
Share this answer
 
Try this one with out Javascript...

Use bellow code in code behind


C#
If(console.capslock)
{
//Your Message
}
 
Share this answer
 
For the first part of your question I think what you are after is called watermarking. There is a jQuery plugin for that: http://plugins.jquery.com/project/EasyWatermark[^].
The second question is to unspecific. Please tell us what exactly it is you're trying to achieve.

Cheers!

—MRB
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900