[php] 입력된 값이 있어야만 버튼 활성화 시키기 > 팁앤테크

본문 바로가기
사이트 내 전체검색

팁앤테크

[php] 입력된 값이 있어야만 버튼 활성화 시키기

페이지 정보

본문

<form name="flogin" method="post" onsubmit="return flogin_submit(this);">
<input type="hidden" name="url" value='<?=$url?>'>
<!-- memberskin_outbox -->
<div class="loginskin">

<ul>
<li class="error">IDまたはパスワードが正しくありません。</li>
</ul>
<!-- login_left -->

<ul>
    <li>USERNAME<span class="form-required" title="This field is required.">*</span></li>
    <li><input type=text name="mb_id" id="mb_id" itemname="USERNAME" onchange='proces()' /></li>
</ul>

<ul>
    <li>PASSWORD<span class="form-required" title="This field is required.">*</span></li>
    <li><input type="password" name="mb_password" id="login_mb_password" name="login_mb_password" itemname="PASSWORD" onchange='proces()' /></li>

<div style="padding:20px 0; text-align:center;">
    <input type="submit" id="btn_submit" name="btn_submit" accesskey='s' value="ログイン">
    <input type="button" value='新規会員登録' onclick="document.location.href='./register.php';">
<br /><a href="./password_forget.php">ID、パスワードがわからない方はこちら</a>
</div>

<div style="clear:both; text-align:left;">
メンバーにご登録頂きますと、お客様情報の確認・変更など更に便利にご利用できます。
</div>
<!-- memberskin_outbox -->
</div>
</form>
<script language="javascript">
<!--
document.flogin.btn_submit.disabled = true;
document.onkeyup = proces;
document.onmouseup = proces;
document.onmousedown = proces;
function proces() {
if (document.flogin.mb_id.value == '') {
    document.flogin.btn_submit.disabled = true;
} else {
    document.flogin.btn_submit.disabled = false;
}

if (document.flogin.login_mb_password.value == '') {
    document.flogin.btn_submit.disabled = true;
} else {
    document.flogin.btn_submit.disabled = false;
}

}
//-->
</script>
추천0

댓글목록

profile_image
Total 124건 4 페이지
  • RSS
팁앤테크 목록
번호 제목 글쓴이 조회 추천 날짜
49 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11991 0 07-01
48 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11616 0 08-12
47 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 3796 0 10-20
46 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16474 0 06-23
45 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 21933 0 04-20
44 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18412 0 05-31
43 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15259 0 05-26
42 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15930 0 09-12
41 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12000 0 07-07
40 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 12150 0 08-15
39 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 4067 0 11-29
38 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15513 0 05-22
37 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15154 0 05-08
36 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 14574 0 09-01
35 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 18736 0 06-28
34 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 19210 0 11-01
33 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15454 0 01-09
32 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11766 0 08-21
31 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 4578 0 12-10
30 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 13262 0 05-26
29 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 16645 0 05-12
28 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 17012 0 07-23
27 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 39234 0 07-13
26 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 15724 0 11-08
25 제로쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 11185 0 02-02

검색

회원로그인

회원가입

사이트 정보

株式会社YHPLUS / 대표 : ZERO
〒140-0011 東京都品川区東大井2-5-9-203
050-5539-7787
오픈카카오톡 (YHPLUS) :
https://open.kakao.com/o/slfDj15d

접속자집계

오늘
576
어제
7,784
최대
8,233
전체
1,532,437
Copyright (c) 株式会社YHPLUS. All rights reserved.