> From: Allan Clarke <[EMAIL PROTECTED]>
> When browsed in the browser on form submission the
> alert displays the value "Hello And Welcome" but for
> some reason when I view the source in the browser the
> value of the hidden variable "outputselection" is
> empty. I want to populate the textbox with the value
> in the hidden variable. I am struggling to do this.
I believe that viewing the source of a page will only show you the page's source when it was first loaded. If you dynamically change the content of the page, it won't change the page's source.
So, if your hidden form field is empty when the page loads, viewing it will show you an empty form field, even if it actually now has a value in it.
You said that the text area gets the value correctly, but then disappears when the form is submitted. What happens after the form is submitted? If the page just gets reloaded, then the textarea will stay empty.
Do you have a URL where we can look at what's happening?
Scott
---------------------------
Scott Brady
http://www.scottbrady.net/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

