Hi all,
I'm a new programmer in php. I've write a program in HTML, PHP and JavaScript; which reads a file and then fills out some fields of my page. I want to autorefresh these fields without make loading the whole page again;
I was wondering if anybody knows how to do this.
Many thanks in advance for any replies.
How to auto refresh a specific part of a page?
Moderator: General Moderators
- John Cartwright
- Site Admin
- Posts: 11470
- Joined: Tue Dec 23, 2003 2:10 am
- Location: Toronto
- Contact:
Re: How to auto refresh a specific part of a page?
Ajax (jquery library comes recommended) + setInterval()
Otherwise, you could do an iframe which contains a meta refresh tag (oldschool way).
Otherwise, you could do an iframe which contains a meta refresh tag (oldschool way).
Re: How to auto refresh a specific part of a page?
Thank you for your reply, i think that this may not work for me. I have to find the new value of each parameter from a file, so each time i should read this file and renovate parameters. I read the contents of this file in a portion of PHP code and find the value of each parameter. I haven't any other idea of how to do that!!