How to select and replace the whole page with jQuery -


My design of a page forces me to refresh the whole page with the HTML that I load through AJAX Have done

$ ('html'). ReplaceWith (data);

Let me give errors to the body:

  $ ('body') Any thoughts?   


Comments