Monday, March 11, 2013

Load content to jQuery dialog on open

How to load content to jQuery dialog on open from other file?

It is very easy.

Just use my code on your page. Put code between <body></body> tags.

1. First create new file: index.html




Open my dialog



2. Create second file: cars.html
  • Audi
  • Ford
  • Honda
  • Toyota
That is all. Now you can load content from other file when jQuery dialog is opening.

No comments: