Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

5
  • function(data) should be something like function(data){ $('.myDiv').html(data)} Commented Nov 3, 2015 at 14:06
  • do you want to replace full html or just the content of div Commented Nov 3, 2015 at 14:08
  • @Virendrayadav the full html... i want page1 to be replaced by page2 but without reload Commented Nov 3, 2015 at 14:11
  • @DLeh still doesn't work Commented Nov 3, 2015 at 14:20
  • $("a").click(function(){ return false;... Commented Nov 3, 2015 at 14:23