let’s say i have this html dom
<body>
<div id="divId">
<span>John,</span>
<span>Karl,</span>
<span>Brandon,</span>
<span>Sam</span>
</div>
i want to load a span child after the last child , i want to something like this
$("#divId span:last-child").after().load('http://localhost/testing/getter.php');
how do i use this after with load function
Thanks
You could achieve this using
$.ajax:See it working here: http://jsfiddle.net/mfKvc/1/