Resolve the returned Promise using a $.when() statement (the .promise() method makes it possible to do this with jQuery collections):
Edit code and click me
Your Result
(Some examples do not work in Google Chrome):
Go
Ready...
Edit the code above and click to see the result
www.xhtml.co.il
- Try it yourself