How can I refresh or reload the div using jquery ajax on page load < / Div>
Look at this code In fact this This code helps to load the following navigation of the default page in Div View it $ Load ()
& lt ;! DOCTYPE html & gt; & Lt; Html & gt; & Lt; Top & gt; & Lt; Style & gt; Body {font-size: 12px; Font-family: aerial; } & Lt; / Style & gt; & Lt; Script src = "http://code.jquery.com/jquery-latest.js" & gt; & Lt; / Script & gt; & Lt; / Head & gt; & Lt; Body & gt; & Lt; B & gt; Footer Navigation: & lt; / B & gt; & Lt; Ol id = "new-nav" & gt; & Lt; / Ol & gt; & Lt; Script & gt; $ ("# New-nav") Load ("/ # jq-footerNavigation li"); & Lt; / Script & gt; & Lt; / Body & gt; & Lt; / Html & gt;
Comments
Post a Comment