how to get selected row value on the next page using jquery?php : I want to get selected `row` id on the next page.I want when i clcik on `button` then selected row id show in next page.Remember next window tab will open.
Here is my jquery function.Its getting `ID` in `value` var when i click on row  but i don't know ho to get this id on next page.But i want that ,first i select row then i click on button then `id` show on next tab window.Thanks 
[![enter image description here][1]][1]


  [1]: http://i.stack.imgur.com/LoEvb.jpg
and here is my `jQUERY` function :

    $("#maintable tr").click(function(){
    //alert($(this).hasClass("selected"));
    if ($(this).hasClass("selected")){
        $(this).removeClass("selected");
		var value=$(this).find('td:first').html();
		 alert(value);
    }else{
        $(this).addClass("selected").siblings().removeClass("selected");
    }
    });