Deleter sends a request to a remote page, then removes an element from the page and replaces it with the response from the remote page.
<p><a class="deleter targetEl-deleter1 targetPage-/docs/deleter/delete?id=1" href="#deleter">Delete paragraph 1</a></p> <p id="deleter1">This is paragraph 1</p> <p><a class="deleter targetEl-deleter2 targetPage-/docs/deleter/delete?id=2 confirmDelete-true" title="Delete paragraph 2" href="#deleter">Delete paragraph 2 with a confirmation</a></p> <p id="deleter2">This is paragraph 2</p>
a elements (links)
- title (optional)
- If using the optional
confirmDeleteCSS parameter the
titlewill be used in the confirmation dialog followed by the words '- are you sure?'
CSS parameters (what's this?)
- targetEl (required)
idof the element to delete and replace
- targetPage (required)
URIof the remote page to send the request to
- Set as