Dependencies and Download
TDI can be downloaded in two different ways:
Now include both jQuery and TDI scripts to your page. Just remember, in case you already have jQuery included, that the minimum supported version of jQuery is 1.7.
Please note this is only a very brief sketch that supposes you already know how TDI works. For more informative introduction to TDI, you may read our Tutorial.
1. Mark the HTML element, which is supposed to be serviced by TDI, by "tdi" CSS class:
2. As a response to the request, send instructions from the server on what should be done with the current page: