i will get two jquery value in jquery variable how i will convert value in php variable
 <script>
    $(document).ready(function()
    {
        $(".slv").change(function()
            {
            var proid = $(this).attr('id');
            var proval = $(this).val();
            <?php $id1=?>proid;
          <?php $id2=?>proval;
        <?php
              $data = array('name' => $id1,
                'value'=>$id2, 
                'expire'=>'86500');
        $this->input->set_cookie($data);
        ?>
            });
    });
 
     
    