Page 1 of 1
keep track of the value of a input box
Posted: Sat Apr 15, 2006 10:21 am
by malcolmboston
i need to keep track of the value of text in an input area basically for passing to a new window..
im assuming i need javascript, how can this be achieved?
Posted: Sat Apr 15, 2006 10:28 am
by feyd
"keep track" how? Do the values need to be synchronized across the windows or just the initial state of the input area needs to transfer to the new window?
Posted: Sat Apr 15, 2006 10:29 am
by malcolmboston
i need to send the value of the input box to a new window using $_GET
Posted: Sat Apr 15, 2006 10:31 am
by feyd
Code: Select all
var win = window.open('foo.php?input=' + escape(document.getElementById('inputAreaID').value), 'windowName', 'options');
Posted: Sat Apr 15, 2006 10:36 am
by malcolmboston

sorry im a js noobie? what would the actual implementation code look like
Posted: Sat Apr 15, 2006 10:42 am
by feyd
That is implementation code.