發表文章

目前顯示的是 7月, 2013的文章

JQuery 分頁 小測試 ( load template json)

< html > < head > < script language=" javascript " src="jquery-1.10.2.min.js" > </ script > < script language=" javascript " > function loadPage ( pageName ) { $ ( '#show' ) . load ( pageName ) ; } </ script > </ head > < body > < div id = "show" width = "100%" > TEST AREA </ div > < input type = "button" value = "test1" onclick = "loadPage('html1.html')" /> < input type = "button" value = "test2" onclick = "loadPage('html2.html')" /> < input type = "button" value = "test3" onclick = "loadPage('html3.html')" /> < input type = "button" value = "test4" onclick = "loadPage('html4.html')" /> </ body