Access hidden field value inside a child page
Hi!
I just used .load() to display a page in a DIV (iframe replacement). And now i need to access a hidden field in the child page, but i'm getting a undefined value :(
The hidden field on the child page:
- <asp:HiddenField ID="save" runat="server" Value="s" />
Here's how i'm trying to get the hidden field value from the parent page:
- value = $('#div').contents().find('#save').value;
I only access the hidden field when the div is completely loaded.
Can anyone tell me what i'm doing wrong?