Get id of current element...

Get id of current element...

Ok I've got a simple script where I'm trying to let users click an item in a list and it'll load the relevant div in a separate document:

$(".file").click(function () {
     var currentId = $(this).attr('id');
      $("#content").load("content.htm currentId");
    });



Now currentId is designed to match the ids on the list element, ie:
<ul>
<li><span class="file" id="div1">First News</span></li>
</ul>


Can anyone tell me why this doesn't work?