Passing Parameters with a button.

Passing Parameters with a button.

I have a button like this: 

<button id="btnthing<@currow>"  class="btn" value="#div<@currow>,35">History</button>


Ignore <@currow>


I want to have the jQuery split the value into two variables. 

$(document).ready(function(){
    $(".btn").click(function(event){
        var me = $(this);
         
    Now I want to split the var "me" into two variables so I can use one to set the load div and the other to set the rescue_uid1 parameter in the URL. 


        
         event.preventDefault();
       $(me.val()).load("rescue.taf?_function=Listactivitiesonly&rescue_uid1=35");
        
    }); 
});

I got this sample below, but it doesn't seem to work. Not working means that the script fails to run. 
I put an alert in the script after the setting the Me variable, and the alert comes up, but then nothing. 

Thanks for the help.

var i = me.split("*"), j = i[0], k = i[1]; alert(j + ' ' + k);