function asd(){
	var msg = document.getElementById('email');

<input type='text' id="email"/>
<input type='button' onclick='asd()' value='<' />

onclike return that message
Object HTML Input Element

can you give me the clear code and you tell me what is the exact problem your facing please

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.