解決問題:
- eclipse如何開啟Console介面
- eclipse如何開啟Project Explorer介面
如何開啟eclipse功能視窗:
Window -> Show View ->
常用的功能視窗:
Console
Markers
Properties
解決問題:
如何開啟eclipse功能視窗:
Window -> Show View ->
常用的功能視窗:
Console
Markers
Properties
相關問題:
如何編輯properties檔
無法編輯properties檔
說明:
在專案中的properties按右鍵->Open With
主要的三種選擇
PropertiesEditor
Text Editor
Java建立Servlet Hello World Example
使用相關工具:
作業系統:WIN 7
開發工具:eclipse win32 Version: Juno Service Release 2
JDK: jdk 1.6.0_25
Server: apache-tomcat-6.0.26
本例專案名稱: TestServlet
Servlet名稱:HelloWorldServlet.java
我分享一下我遇過的開發手機版網頁,沒有用android開發。
需求不同設計就不同。
如果你是要手機版網頁。
只是看看資訊。例如:
電腦版
https://tw.yahoo.com/
手機版看網頁會有不同的版頁。
關鍵詞(keyword): onClick 、this
程式:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>59 - JavaScript 基本類 使用onClick、this綜合綀習應用之1</title>
<meta http-equiv="Content-Type" content="text/html; charset=BIG5">
<style type="text/css">
關鍵詞(keyword): onClick 、this
<script type="text/javascript">
function myMsg(myObj){
alert("onclick 為: " + myObj.onclick);
}
</script>
<input type="button" id="myButtonId" name="mybuttonName" class="mybuttonClass" value="送出" onclick="myMsg(this)">
關鍵詞(keyword): onClick 、this、type
<script type="text/javascript">
function myMsg(myObj){
alert("type 為: " + myObj.type);
}
</script>
<input type="button" id="myButtonId" name="mybuttonName" class="mybuttonClass" value="送出" onclick="myMsg(this)">
結果:
JavaScript 基本類 使用onClick 及 this取得value
關鍵詞(keyword): onClick 、this、value
<script type="text/javascript">
function myMsg(myObj){
alert("value 為: " + myObj.value);
}
</script>
<input type="button" id="myButtonId" name="mybuttonName" class="mybuttonClass" value="送出" onclick="myMsg(this)">