Sets ajax endpoint, the remote file that will be requested.
This form looks like this:
<div id="inputs"> <input type="button" value="Click me" class="btn domajax click" data-endpoint="endpoint-relative-handler.php" data-output="#output" /> </div> <div id="output">Click on the button above</div>
This form looks like this:
<input type="button" value="Click me" class="btn domajax click" data-endpoint="/demo/endpoint-full-handler.php" data-output="#output" /> <div id="output">Click on the button above</div>
This form looks like this:
<div id="inputs"> <input type="button" value="Click me" class="btn domajax click" data-endpoint="http://domajax.fuz.org/demo/endpoint-full-handler.php" data-output="#output" /> </div> <div id="output">Click on the button above</div>
All the documentation at a glance