How to call another page using jQuery?

Posted by Poster under jQuery category on | Views : 21324
To call another page using jQuery, you can write following code.

<script type="text/javascript">
// call the page and get the response, set the value into a TextArea having id as defaultData.
$.get("default.aspx", function(data) {
$("#defaultData").attr("value", data);

<script type="text/javascript">
// simply calls the page and forget, don't wait for response

Comments or Responses

Login to post response