Value not coming (showing object).

Value not coming (showing object).

Hi,
i have written a code and want post happen within a loop but the values are not coming i suppose.

$("#save").click(function ()
{
var i=1;
while(i<=29)
{
var val_s=$("#slno_"+i);
var val_a=$("#album_name_"+i);
var val_p=$("#paper_used_"+i);
var val_f=$("#finishing_"+i);
var val_pr=$("#price_"+i);
var val_v=$("#vat_"+i);
var val_t=$("#total_amt_"+i);

$.post("save_customer_price.php",{val_s:val_s,val_a:val_a,val_p:val_p,val_f:val_f,val_pr:val_pr,val_v:val_v,val_t:val_t},
function(data)
{
if(data=='Thanks For Registration!')
{

}
else
{
alert(data);
}
});

i++;
}
alert("Thanks For Registration!");
});

So can anyone check and reply will this code will work or any changes or suggestion to do this.

Thanks