Jan 24, 2007 #1 Dummy99 Programmer Apr 25, 2002 30 FR I'm trying to pick up the content of iInput box "q01" with the following code qty=document.getElementById('q01') but I get "[Object]" instead of the content. What is the correct coding? Thanks
I'm trying to pick up the content of iInput box "q01" with the following code qty=document.getElementById('q01') but I get "[Object]" instead of the content. What is the correct coding? Thanks
Jan 24, 2007 #2 Diancecht Programmer Jan 8, 2004 4,042 ES If you ask for the field, you get the field (an Object). Maybe what you need is the value. Code: qty=document.getElementById('q01').value; Cheers, Dian Upvote 0 Downvote
If you ask for the field, you get the field (an Object). Maybe what you need is the value. Code: qty=document.getElementById('q01').value; Cheers, Dian