- Create Account

Refresh

Forums > HTMLHttpRequest > Refresh
Author
Message

1) Marcus Letric Group: Guests
IP: 193.6.--.--
Hy
my question is: Can I refresh content of a container with only parameter of the container?
I mean something like this:
<a href="xy" class="loadinto-something" onclick="refresh([container]);"> Hrefname </a>
So the href loads a new page in something and at the same time refreshes content of [container] (for example I have a page in [container], i don't know what page is, but I want it to be refreshed....


Sorry  for grammar mistakes.. I'm on learning English..

2) Angus Turnbull Group: Moderators
Posts: 4042 Joined: 7 Dec 2003 Location: New Zealand IP: 202.137.--.--
Yes. The CLASS detection will only load into one element at a time, but you can easily call:

docClickLoader.loadInto('file.html', 'id-of-target');

within an onclick event to load into one or more other elements at the same time.

Good luck - Angus.

Post a Reply:

You are not logged in, and will be posting anonymously as a guest. If you want to post using an account, please login at the top of this page.