Is it possible to refresh a container by javascript?
Hello Filipe..

I think jQuery will do the magic you need..
You have a method called load() that you can use for this issue.
Here's the definition and an example:

.load( url [, data] [, complete(responseText, textStatus, XMLHttpRequest)] )

url =
A string containing the URL to which the request is sent.

data = A map or string that is sent to the server with the request.

complete(responseText, textStatus, XMLHttpRequest) = A callback function that is executed when the request completes.


      $('#result').load('ajax/test.html #container');

When this method executes, it retrieves the content of ajax/test.html, but then jQuery parses the returned document to find the element with an ID of container. This element, along with its contents, is inserted into the element with an ID of result, and the rest of the retrieved document is discarded.

You can find more information about this on the online jQuery documentation.

Best Regards,