質問編集履歴
1
文法の修正
title
CHANGED
File without changes
|
body
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
私が考えたのは、下記のコードです。
|
6
6
|
```lang-javascript
|
7
7
|
function (){
|
8
|
-
($("p.alert_input").
|
8
|
+
($("p.alert_input").remove()) ; //p.alert_input要素を一旦消す。
|
9
9
|
if(isset($("input#user_name").val())){
|
10
10
|
if(isset($("input#password").val())){
|
11
11
|
//両方とも入力されていた場合の実行内容 ;
|