자바스크립트 질문입니다. 맞나..? 정보
그누보드 자바스크립트 질문입니다. 맞나..?
본문
//카이루 심심풀이 취미생활즐기기.
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function moveOver()
{
var selectedItem = document.choiceForm.available.selectedIndex;
var selectedText = document.choiceForm.available.options[selectedItem].text;
var selectedValue = document.choiceForm.available.options[selectedItem].value;
if (document.choiceForm.available.options[selectedItem].value == 3){
<?if ($write[che] <= 10000){?>
alert("포인트가 부족합니다");
<?}?>}
}
// End -->
</script>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<table border=0>
<form name="choiceForm">
<tr>
<td valign="top" width=175>
<br>
<select name="available" size=1 onchange="moveOver();">
<option value=1>현금결제
<option value=2>없어요
<option value=3>포인트
</select>
</td>
</form>
</table>
할일 없어서 그냥 만들어봐써요
이걸 사용하면 될듯합니다 ㅋㅋㅋㅋㅋ
<SCRIPT LANGUAGE="JavaScript">
<!-- Begin
function moveOver()
{
var selectedItem = document.choiceForm.available.selectedIndex;
var selectedText = document.choiceForm.available.options[selectedItem].text;
var selectedValue = document.choiceForm.available.options[selectedItem].value;
if (document.choiceForm.available.options[selectedItem].value == 3){
<?if ($write[che] <= 10000){?>
alert("포인트가 부족합니다");
<?}?>}
}
// End -->
</script>
</HEAD>
<BODY BGCOLOR="#FFFFFF">
<table border=0>
<form name="choiceForm">
<tr>
<td valign="top" width=175>
<br>
<select name="available" size=1 onchange="moveOver();">
<option value=1>현금결제
<option value=2>없어요
<option value=3>포인트
</select>
</td>
</form>
</table>
할일 없어서 그냥 만들어봐써요
이걸 사용하면 될듯합니다 ㅋㅋㅋㅋㅋ
댓글 전체
카이루님 멋집니다.
천재인가요..?
최강그누보드
수고하십시요..
천재인가요..?
최강그누보드
수고하십시요..