beezee / djax

Dynamic pjax, responds to layout changes across requested pages
http://beezee.github.com/djax.html
171 stars 27 forks source link

Djax the url changes but the contents of the page did not #17

Open hitplay opened 11 years ago

hitplay commented 11 years ago

Here's a snippet of the markup

```
```

When I click that the url changes but the result is not showing but when I view the page source it displays the proper markup(or should I say the markup of thankyou.jsp)

here is the code that Is js code

jQuery(document).ready(function($) { $('body').djax('.updatable'); });

the url changes and when I view the page source it also changes but the page itself did not change its contents even if I view the page source it has change up any ideas why?

beezee commented 11 years ago

The source changes because when you view source it generates a brand new page request, so that content is not being loaded by js.

I can't really say much based on the info you've given, need more context for the code or at least a console error to be of more help.