943,791 Members | Top Members by Rank

Ad:
Dec 4th, 2008
0

prob with javascript

Expand Post »
JavaScript / DHTML / AJAX Syntax (Toggle Plain Text)
  1. <script>
  2. function asd(){
  3. var msg = document.getElementById('email');
  4. alert(msg);
  5. }
  6. </script>
  7.  
  8.  
  9. <form>
  10. <input type='text' id="email"/>
  11. <input type='button' onclick='asd()' value='<' />
  12. </form>

onclike return that message
Object HTML Input Element
Similar Threads
wad
Reputation Points: 9
Solved Threads: 0
Newbie Poster
wad is offline Offline
16 posts
since May 2008
Dec 4th, 2008
0

Re: prob with javascript

can you give me the clear code and you tell me what is the exact problem your facing please
Reputation Points: 10
Solved Threads: 0
Newbie Poster
freeonlinedatin is offline Offline
19 posts
since Nov 2008

This thread is solved

Either the thread starter or a moderator has marked this thread as solved. You can most likely trust the responses and answers given. There is most likely no reason for any further responses to be posted here. If you have a related question, please start a new thread in this forum instead.

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in JavaScript / DHTML / AJAX Forum Timeline: Applcation opened in IE Explorer but not in Mozila Firefox
Next Thread in JavaScript / DHTML / AJAX Forum Timeline: onclick text box?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC