POST variabel use AJAX

POST variabel use AJAX

dear all,

is it possible POST variable like this?

  1. function showdata(div_id, myURL, myvariable){
  2.       $.ajax({
  3.             type:'POST',
  4.             url:myURL,
  5.             data:myvariable,
  6.             success:function(respons){
  7.                   $('#'+div_id).html(respons);
  8.             }
  9.       });
  10. }
Please give me solution about it..
thanks,