PDA

View Full Version : Useing nextPage Button for other Frame


visual
05-26-2004, 07:01 AM
Hi !
I have a "simple" question !

On my Webpage i got a table, some thing like a addressbook.
So, i can let me show the next entries and the previous, by click on a button ( datapagesize 1 ).

The problem is, i wanna put the "show next and previous" buttons in a other Frame.
___________________________________________________________

This code doesn't work:
This should be in a other HTML Frame.

<input type=button value=" &lt; "
onclick="document.all.Entries.previousPage();">

What do i have to put after onclick ? somethink like "target" ? I try out, but it doesn't work !
Change "document.all" ?

___________________________________________________________

This is in the Main HTML with the table:

<object id="Adressen" classid="clsid:333C7BC4-460F-11D0-BC04-0080C7055A83">
<param name="DataURL" value="txt/info.txt">
<param name="UseHeader" value="true">
<param name="FieldDelim" value="|">
</object>

agent002
05-26-2004, 07:44 AM
Try:
onclick="parent.frameName.document.all.Entries.previousPage();"
:)

visual
05-26-2004, 08:54 AM
Hi Jere !

Thank you very much !
I use this code and it works !

Jere Ho !