A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
accesing document elements not having a form
alec stewart stewart
Joined: Dec 23, 2003
Jan 23, 2004 03:05:00
i have an html document consisting of text box .
now how do i access the text box. the html document doesn't have a form element.
Joined: Nov 08, 2001
Jan 23, 2004 05:58:00
some browser are not going to likr that the form tag is missing, but you should be able to access it with
var theVal = document.getElementById("TheName").value;
rocket mass heater
subject: accesing document elements not having a form
how to send dynamic values to a page by using a hyperlink
How to getParameter value
Doumnet Listener Problem
Selection box question...
transfer data from text box to multiple select list box.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014