var inputLabel = new Array(); inputLabel['name'] = 'お名前'; inputLabel['kana'] = 'ふりがな'; inputLabel['zip'] = '郵便番号'; inputLabel['address'] = '住所'; inputLabel['tel'] = '電話番号'; inputLabel['mail_address'] = 'メールアドレス'; inputLabel['company'] = '会社名'; inputLabel['type'] = 'お問合せ項目'; inputLabel['body'] = 'お問合せ内容'; var inputValue = new Array(); inputValue['type'] = new Array(); inputValue['type']['0'] = '無し'; inputValue['type']['1'] = 'お問い合わせ'; inputValue['type']['2'] = '資料請求'; inputValue['type']['3'] = ' お申込み'; $(function(){ $("[name='name']").attr("rel","null"); $("[name='name']").attr("inputCheck","true"); $("[name='name']").attr("focused","false"); $("[name='kana']").attr("rel","none"); $("[name='kana']").attr("inputCheck","true"); $("[name='kana']").attr("focused","false"); $("[name='zip']").attr("rel","none"); $("[name='zip']").attr("inputCheck","true"); $("[name='zip']").attr("focused","false"); $("[name='address']").attr("rel","none"); $("[name='address']").attr("inputCheck","true"); $("[name='address']").attr("focused","false"); $("[name='tel']").attr("rel","null"); $("[name='tel']").attr("inputCheck","true"); $("[name='tel']").attr("focused","false"); $("[name='mail_address']").attr("rel","null,email"); $("[name='mail_address']").attr("inputCheck","true"); $("[name='mail_address']").attr("focused","false"); $("[name='company']").attr("rel","none"); $("[name='company']").attr("inputCheck","true"); $("[name='company']").attr("focused","false"); $("[name='type']").attr("rel","none"); $("[name='type']").attr("inputCheck","true"); $("[name='type']").attr("focused","false"); $("[name='body']").attr("rel","null"); $("[name='body']").attr("inputCheck","true"); $("[name='body']").attr("focused","false"); });