Let us show how jQuery Post works. There are 2 page one is the HTML page that has 2 textboxes (for name and city) and a button, the other page is the .ASPX one. On clicking the button the AJAX call is made to the .ASPX page which gets the values of the 2 textboxes through HTTP Post. At the time of this writing, jQuery does not have a function to get the outerHTML of an element on a web page. But thats ok, since we can accomplish this with just a few function calls strung together.And so, here is the long story (one story anyway) of how to get the outer HTML with jQuery. You can clone it to get the entire contents, like this: Var html ("
Now we create the HTML and jQuery code for an web page that will display some of these XML data, in a DIV element.Popular pages this month. Qwop (329). Drag Racer V3 (164). Get Attribute (ID, Class, Name, Title, Src) with jQuery (117). This blog explains you how to get the current HTML Page Name using JQuery and Current Page Name in ASP.