<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=BIG5">
<title>第一支javaScript</title>
</head>
<body>
<h2>document.write用法</h2>
<Script type ="text/javascript">
var rx1=0,rx2=0,rx3=0,maxNum=0,minNum=0;
maxNum=9;
minNum=0;
rx1=Math.floor( Math.random() * (maxNum - minNum + 1) ) +minNum;
rx2=Math.floor( Math.random() * (maxNum - minNum + 1) ) +minNum;
rx3=Math.floor( Math.random() * (maxNum - minNum + 1) ) +minNum;
chochenlu 發表在 痞客邦 留言(0) 人氣(0)

<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
chochenlu 發表在 痞客邦 留言(0) 人氣(1)

<html>
<head>
<script type="text/javascript" src="https://www.gstatic.com/charts/loader.js"></script>
<script type="text/javascript">
google.charts.load('current', {'packages':['corechart']});
google.charts.setOnLoadCallback(drawChart);
chochenlu 發表在 痞客邦 留言(0) 人氣(7)

<!DOCTYPE html >
<html >
<head>
<title>加法運算器</title>
<script>
function add() {
var a = parseInt(document.getElementById('a').value);
var b = parseInt(document.getElementById('b').value);
document.getElementById('result').value = a+b ;
}
</script>
</head>
<body>
<input id="a" type="text" />+<input id="b" type="text" />
<button onclick="add()" >=</button>
<output id="result"></output>
</body>
</html>
chochenlu 發表在 痞客邦 留言(0) 人氣(0)

文字檔改HTML格式
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=BIG5">
<title>第一支javaScript</title>
</head>
<body>
<h2>document.write用法</h2>
<Script type ="text/javascript">
document.write("Hello world!!");
</Script>
</body>
</html>
chochenlu 發表在 痞客邦 留言(0) 人氣(0)

把這兩個複製貼到阿帕契的文字資料的下面兩個裡面
chochenlu 發表在 痞客邦 留言(0) 人氣(0)

https://www.orztw.com/2014/06/xampp-install-on-windows.html
安裝阿帕契 並執行且架設網站
chochenlu 發表在 痞客邦 留言(0) 人氣(0)
chochenlu 發表在 痞客邦 留言(0) 人氣(2)
chochenlu 發表在 痞客邦 留言(0) 人氣(0)
package db;
import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;
chochenlu 發表在 痞客邦 留言(0) 人氣(0)