I always hesitate to reply when frames are  involved.

Something is out of phase here.

If you are executing getValue() successfully on a static text field, this 
means that you are doing it _before_ the page is displayed.  This is 
because static text values are not returned when a page is displayed and 
then called back to via a button or href.

If you are getting null when executing getValue() on the hidden field, it 
would be because the value has not yet been assigned to the hidden field at 
the point you are trying to get it.  When you do 'view source' and see the 
value, that is because the hidden field was assigned a value after the 
point that you executed 'getValue()' on it, and then the value was included 
in the HTML when the page was sent to the browser.

-- Curt Springer, Team ND

At 06:28 AM 1/19/00 -0800, Tony Yan wrote:

>I have a frameset with three frames. The top frame is the main menu, 
>consisting of
>several buttons. The left frame displays a Href list responding to the 
>button that the
>users click, and the right one displays the detail information of an entry 
>in the left frame
>when the users click the Href.  There are several static text fields and a 
>hidden field in
>the right frame, all of them bound to the data fields of the same data 
>object.  Based on
>the value of the hidden field, I will show those static text messages in 
>different colors.
>I used the getValue() for all the static text fields and hidden fields. I 
>can get the correct
>text values for the static text fields, but always get null for the hidden 
>field. When I
>viewed the right frame source, I can see the hidden value right there.
>
>Any suggestion will be highly appreciated.
>
>
>Tony
>
>_________________________________________________________________________
>
>For help in using, subscribing, and unsubscribing to the discussion
>forums, please go to: http://www.netdynamics.com/support/visitdevfor.html
>
>For dire need help, email: [EMAIL PROTECTED]

_________________________________________________________________________

For help in using, subscribing, and unsubscribing to the discussion
forums, please go to: http://www.netdynamics.com/support/visitdevfor.html

For dire need help, email: [EMAIL PROTECTED]

Reply via email to