Demo Text Box:
JavaScript Code

	
JavaScript Code - How C# syntax was achieved on INPUT element.