• Downloading from our site will require you to have a paid membership. Upgrade to a Premium Membership from 10$ a month today!

    Dont forget read our Rules! Also anyone caught Sharing this content will be banned. By using this site you are agreeing to our rules so read them. Saying I did not know is simply not an excuse! You have been warned.

[Share] code javascript thỉnh thầy online

Quangthjeugia

New Member
Code:
<SCRIPT LANGUAGE="JavaScript">


<!-- Begin
var answers = new Array(
"thầy đang bận", 
"hỏi gì mà khó vậy ta?", 
"mày đinh thử thầy a?", 
"số con chẳng giàu thì nghèo", 
"thầy không hiểu",
"đúng đấy", 
"con hỏi khó thế",
"hỏi lại đi cưng", 
"thầy biết rùi nha", 
"từ từ rùi khoai sẽ nhừ", 
"thầy chịu",
"hanhphucvinhhang.Wap.Sh",
"Hơ hơ chắc là vậy",
"Biêt mà còn hỏi",
"Cho xin 2 chữ bình yên",
"Chém vừa thôi má",
"Dua tien day thay noi cho",
"hanhphucvinhhang.Wap.Sh",
"Con cái nhà ai mà hổ báo zậy",
"Mày ở đâu đến zậy con",
"đá xoáy nhau àk",
"hôm nay đề về con gì ấy nhể",
"vớ vẩn quá !!",
"bi lua roi !! Haha");
function fortune() {
num = Math.round( (answers.length - 1) * Math.random());
return answers[num];
}
// End -->
</script>
</HEAD>


<BODY>

<center>
<form>
câu hỏi của bạn: <input type=text name=question size=40>
<input type=button name=ask value="hỏi" onClick="if (this.form.question.value!='') this.form.answer.value = fortune();"><br>
thầy phán: <input type=text name=answer size=40>
</form>
demo
 
Thanks for share, lần sau post vào box javascript nhé
 

Facebook Comments

Similar threads

New posts New threads New resources

Back
Top