//alert(ajaxurl);
function update_ikkatuseikyu(title){
var params =[];
params.push('action=update_session');
Notice: Undefined index: title in /home/users/0/sekiboz2/web/myobi.info/wp-content/plugins/wp-96works-ikkatuseikyu/js/update.php on line 5
params.push('title='+title);
new Ajax.Updater(
"container",
ajaxurl,
{
method: 'get',
parameters: params.join('&'),
onSuccess: function(request) {
//alert(request.responseText);
resstr=request.responseText;
if (resstr.match(/^maxlength/)) {
alert("一括請求にこれ以上追加できません");
}else{
alert("一括請求に追加しました");
window.location.reload();
}
},
onFailure: show_error
});
function show_error(){
alert('一括請求への追加処理に失敗しました\n後ほどお試しください');
window.location.reload();
}
}