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*

2
  • Thank you for answering, but I'm confused. Isn't this still duplicate code? If for example I change it from a table to an ordered list, won't I have to make this change in both my Javascript and my PHP? Commented May 16, 2011 at 21:21
  • @juicy: Yes, this is why I typically prefer to load html instead of JSON. Commented May 17, 2011 at 0:59