16 lines
323 B
JavaScript
16 lines
323 B
JavaScript
|
$(function(){
|
||
|
|
||
|
|
||
|
$("button#to_work").click(function(event){
|
||
|
var id=$(this).data('id');
|
||
|
var status=$(this).data('status');
|
||
|
$.ajax({
|
||
|
type: "POST",
|
||
|
url: "/act/my-zayavki",
|
||
|
data: "act=get_rabota&id=" + id + "&status=" + status,
|
||
|
success: function(d){}
|
||
|
});
|
||
|
$(this).hide(alert('ok'));
|
||
|
})
|
||
|
|
||
|
})
|