<p class="para" data-source="1.html"> <span class="link">..</span> </p> <script> $(document).ready(function(){ $('.link').click(function(){ var $para = $(this).parents('.para'); $para.load($para.data('source')); }); });