View Single Post
Old 01-21-2013, 02:30 PM   PM User | #10
jmrker
Senior Coder

 
jmrker's Avatar
 
Join Date: Aug 2006
Location: FL
Posts: 2,765
Thanks: 29
Thanked 453 Times in 447 Posts
jmrker will become famous soon enough
Question

Quote:
Originally Posted by DDH View Post
Is there a way to display the popped element from an array into a text box.

Which text box? The entry box or a different one?

Assuming input box and code from post #5:
Code:
function dropEntry() {
  if (backStack.length > 0) { var top0 = backStack.pop(); document.getElementById('TextBox1').value = top0; }
  showStack();
}
You should try some of the modifications yourself to see how it works for future reference.

Last edited by jmrker; 01-21-2013 at 02:35 PM..
jmrker is offline   Reply With Quote
Users who have thanked jmrker for this post:
DDH (01-21-2013)