? 1568. How to make div not larger than its contents? Is there another way to reload contents in a div without calling another file?specify the div you want to load after the page and if you need any db interaction the call it within the div you are loadingquestion was: "to be able to reload a div without calling a page or rewriting a lot of the html within the Im trying to make it so when I click on a link in a HTML page, it dynamically loads the requested page into a div with jQuery.I feel it is a much more robust solution than a simple load. var content (.contentDiv) content.
load(urlAddress, function (response, status, xhr) . I have some jQuery loading a Html element via the .load method. What I would like to do is place an angularjs app within this loade.Jquery load Php file 2015-08-08. Am currently using a Jquery load function to load php content into Div. The jQuery load() method allows HTML or text content to be loaded from a server and added into a DOM element.The following example shows how to load html content from the server and add it to div element. div id"content-div"> load external html file