ajax - refresh a portion of HTML page with jquery -
Am I refreshing or part of a HTML (instead of reloading the whole page with jquery)? For example, I want to reset the following selection on some click action. Please help. Many thanks in advance.
.... Select ID = "Refresh" & gt; & Lt; Option value = "1" selected & gt; 1 & lt; / Options & gt; & Lt; Option value = "2" & gt; 2 & lt; / Options & gt; & Lt; Option value = "3" & gt; 3 & lt; / Options & gt; & Lt; Option value = "4" & gt; 4 & lt; / Options & gt; & Lt; / Selected & gt; ......
I think you are using AJAX . The easiest to use Load. . The code will be
$ ("Refresh #"). Load ("Page / In / Load / Content Quality # Content")
This load content.html page contains content that is an element of 'content' in the fresh element.
Of course you can use a server side page such as to generate the content of PPP or ASP.Net pages.
Comments
Post a Comment