回饋清單功能
Loading...
2014年3月17日 星期一
2014年3月10日 星期一
lab8
<html>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit = function() {
//R
var passwordRegex = /^[\D]+[\W_]+[A-Za-z\d]{6,}$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null) {
notify = document.createElement("p");
notify.textContent = "Passwords need to >= 6 characters long and a 小寫英文與非字母 排序第一個為字母第二個為非字母."
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
</script>
</html>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit = function() {
//R
var passwordRegex = /^[\D]+[\W_]+[A-Za-z\d]{6,}$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null) {
notify = document.createElement("p");
notify.textContent = "Passwords need to >= 6 characters long and a 小寫英文與非字母 排序第一個為字母第二個為非字母."
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
</script>
</html>
LAB7
<html>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit = function() {
//R
var passwordRegex = /^[A-Za-z\d]{6,}$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null) {
notify = document.createElement("p");
notify.textContent = "Passwords need to be between 6 and 8 characters long and consist of uppercase characters,lowercase characters, and digits only."
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
</script>
</html>
<head>
</head>
<body id="body">
<form action="javascript:void(0);" id="exampleForm">
<input type="password" id="examplePass" />
<input type="submit" />
</form>
</body>
<script>
document.getElementById("exampleForm").onsubmit = function() {
//R
var passwordRegex = /^[A-Za-z\d]{6,}$/;
if(!passwordRegex.test(document.getElementById("examplePass").value)){
console.log("Regex didn't match");
var notify = document.getElementById("notify");
if(notify === null) {
notify = document.createElement("p");
notify.textContent = "Passwords need to be between 6 and 8 characters long and consist of uppercase characters,lowercase characters, and digits only."
notify.id = "notify";
var body = document.getElementById("body");
body.appendChild(notify);
}
}
};
</script>
</html>
2014年3月3日 星期一
Lab 6:Using Chrome
CYCU:
1.runinfo.jsp
2.im13.jpg
3.newsbox.jsp
Youtube:
1.www.youtube.com
2.http://pagead2.googlesyndication.com/activeview?id=lidar2&v=104&adk=1&p=100…1280,1024&tt=1105&pt=1&deb=1-1-1-3-4-6&url=http%3A%2F%2Fwww.youtube.com%2F
3.http://csi.gstatic.com/csi?v=2&s=youtube&action=gli&pt=239&yt_spf=0&yt_li=1&e=935501,910207,923302,914062,916612,940316,937417,937416,913434,936910,936913,902907,3300062,3300101,3300130,3300137,3300161,3310366,3310628,3310649&yt_lt=cold&ei=lH4UU_bNEKrnmAWnnYHYDg&srt=169&rt=ce.172,cl.174,bf.1926,hr.2321,je.2599,jl.2604,ol.2695,aft.2695,fpt.2313&it=st.1622,req_.65,rcv_.1863
Lab 4:破解網路大學排名DIY
中原cycu (1,340,000+79,500) = 289900
元智yzu (1,030,000+61,000) = 218200
中正ccu (1,430,000+91,500) = 304300
(台大)ntu (31,500,000+528,000) = 6405600 link
cycu 5,033 = 2516.5
yzu 4208 = 2104
ccu 9858 = 4929
ntu 32664 = 16332
cycu filetype:pdf 16,200 = 2430 yzu
filetype:pdf 14,000 =2800 ccu filetype:pdf 29,500 =5900
ntu filetype:pdf 427,000 =85400
Google Scholar cycu 11400 =1710 yzu 2210 =331.5 ccu 9530 =1429.5 ntu 266000 =39900 summary cycu 279900+2516.5+2430+1710 =286556.5 yzu 278200+2104+2800+331.5 =283435.5 ccu 304300+4929+5900+1429.5 =316558.5 ntu 6405600+85400+39900+16332=6547232 so ntu>ccu>cycu>yzu
訂閱:
文章 (Atom)