function setTel(){ { if (navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)) { $('.tel').each(function() { var str = $(this).html(); if ($(this).children().is('img')) { $(this).html($('').attr('href', 'tel:' + $(this).children().attr('alt').replace(/-/g, '')).append(str + '')); } else { $(this).html($('').attr('href', 'tel:' + $(this).text().replace(/-/g, '')).append(str + '')); } }); } } }
$(function(){ jQuery("#form_k").validationEngine();
// tel番号があったらスマホのみ電話かかる if (navigator.userAgent.match(/(iPhone|iPad|iPod|Android)/)) {
$('.tel').each(function() { var str = $(this).html(); if ($(this).children().is('img')) { $(this).html($('').attr('href', 'tel:' + $(this).children().attr('alt').replace(/-/g, '')).append(str + '')); } else { $(this).html($('').attr('href', 'tel:' + $(this).text().replace(/-/g, '')).append(str + '')); } });
}
//Cookieに保存された情報から自動で取得 var rec = getCookieArray(); if(rec["SPsokudokuLesson_name"]){document.getElementById("name").value = rec["SPsokudokuLesson_name"];} if(rec["SPsokudokuLesson_email"]){document.getElementById("email").value = rec["SPsokudokuLesson_email"];} if(rec["SPsokudokuLesson_email2"]){document.getElementById("email2").value = rec["SPsokudokuLesson_email2"];} if(rec["SPsokudokuLesson_phone"]){document.getElementById("phone").value = rec["SPsokudokuLesson_phone"];}
});
//コマ数チェック
function checkComa(num){
var idx = document.getElementById("kibou_time" + num).selectedIndex;
var max_idx = document.getElementById("kibou_time" + num).options.length;
var coma_idx = document.getElementsByName("reserveComa" + num)[0].selectedIndex;
var coma = document.getElementsByName("reserveComa" + num)[0].options[coma_idx].value;
if(((max_idx) - idx) < coma ){
if((max_idx ) != idx){
//予約できるコマ数オーバー
alert("予約できるコマ数がオーバーしています。再度ご確認ください。");
}
}else{}
}
//cookieをセット
function setCookie(){
tmp = ["name","email","email2","phone"];
for(var i=0;i< tmp.length ;i++){
document.cookie = 'SPsokudokuLesson_' + tmp[i] + ' = ' + document.getElementById(tmp[i]).value + '; max-age=31536000'; //1年間保存する
}
}
//cookie値を連想配列として取得する
function getCookieArray(){
var arr = new Array();
if(document.cookie != ''){
var tmp = document.cookie.split('; ');
for(var i=0;i< tmp.length ;i++){
var data = tmp[i].split('=');
arr[data[0]] = decodeURIComponent(data[1]);
}
}
return arr;
}
オンライン教室レッスン お申込みフォーム(生徒様専用)
こちらからオンラインレッスンのご予約をお願いいたします。
※生徒様専用のご予約フォームです。
※ご予約の変更・確認は
お電話: 075-366-2275 または メール: lesson@sp-sokudoku.jp
までご連絡ください。
ご予約時間直前の変更・キャンセルについてはお電話にて受付いたします。
コースをさがす
社会人・大学生
小学~高校・予備校生
該当するコースが見つかりませんでした。