How can I use the client object model in javascript to have a function to refresh a list view?
Scenario: I have a form that uses a button which uses the sharepoint client object model to insert a list item, but after its finished it does not refresh on its own, no I dont want it to refresh automatically every 15 seconds, I want it to refresh the moment the item gets inserted like in the out of the box forms, how can I achieve this?

