DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   JavaScript / DHTML / AJAX (http://www.daniweb.com/forums/forum117.html)
-   -   prob with javascript (http://www.daniweb.com/forums/thread160654.html)

wad Dec 4th, 2008 12:12 am
prob with javascript
 
<script>
function asd(){
        var msg = document.getElementById('email');
        alert(msg);
}
</script>


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

onclike return that message
Object HTML Input Element

freeonlinedatin Dec 4th, 2008 6:47 am
Re: prob with javascript
 
can you give me the clear code and you tell me what is the exact problem your facing please


All times are GMT -4. The time now is 2:10 am.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC