ajaxSend using the value from href

ajaxSend using the value from href

Hi Guys,
I am having real trouble sending the value from a href to jquery and send it via ajaxSend. When i put an alert, its shows [object][object].

<li><a href="javascript:ajaxDelete('FileID1')">Document 1</li>


My jquery function is as follows :

$(function ajaxDelete(index) {
var $data=index;
alert($data);

  ajax : ({
        url and datastring goes here..
       });
});