第2章 JSP编程基础知识-2

整理文档很辛苦,赏杯茶钱您下走!

免费阅读已结束,点击下载阅读编辑剩下 ...

阅读已结束,您可以下载文档离线阅读编辑

资源描述

2JSPGeneratedbyFoxitPDFCreator©FoxitSoftware©FoxitSoftware©FoxitSoftware©FoxitSoftware¨JSPPHPASP¨JavaScriptVBScriptGeneratedbyFoxitPDFCreator©FoxitSoftware¨¨¨¨¨¨”“GeneratedbyFoxitPDFCreator©FoxitSoftware¨scriptlanguage=“JavaScript”src=“”Javascript……/script¨scriptnlanguageJavaScriptliveScriptJavaScriptnsrcjavaScript.jsjavaScripthtmlGeneratedbyFoxitPDFCreator©FoxitSoftware(javaScript);/script/BODY/HTMLGeneratedbyFoxitPDFCreator©FoxitSoftware“”GeneratedbyFoxitPDFCreator©FoxitSoftware¨¨¨truefalse¨null¨javaScriptGeneratedbyFoxitPDFCreator©FoxitSoftware¨Javascriptx=100y“abc”¨¨javaScriptvar¨scriptvarid;id=10001;/script¨GeneratedbyFoxitPDFCreator©FoxitSoftware¨¨_¨¨JavaSriptnJavaScript¨¨GeneratedbyFoxitPDFCreator©FoxitSoftware¨n”+”n“-”n”*”n“/”n“%”n“++”n”--”n”&”n”|”n”^”n”~”n””n””n””GeneratedbyFoxitPDFCreator©FoxitSoftware¨&&¨||¨n¨“==”¨”!=”¨””¨””¨”=”¨”=”¨”===”¨”!==”n¨”=”¨”+=”¨”-=”¨”*=”¨”%=”¨”/=”¨”&=”¨”|=”¨”^=”¨”=”¨”=”¨”=”GeneratedbyFoxitPDFCreator©FoxitSoftware¨”(condition)?:val1;val2”,¨“.”,¨[]arry[8]¨varab¨function¨“new”newmyObject¨delete¨typeoftypeoftrueboolean¨voidvoidmfun().¨this:GeneratedbyFoxitPDFCreator©FoxitSoftware©FoxitSoftware¨¨nnnnGeneratedbyFoxitPDFCreator©FoxitSoftware¨JavaScript¨nnnfunction(12){JavaScript}¨,30.htmljavaScriptGeneratedbyFoxitPDFCreator©FoxitSoftware¨if¨ifif(){}else{}GeneratedbyFoxitPDFCreator©FoxitSoftware¨¨switch:switch(){case1:1;break;……casen:n;break;default:;}GeneratedbyFoxitPDFCreator©FoxitSoftware¨for¨for:for(){}GeneratedbyFoxitPDFCreator©FoxitSoftware¨while¨while¨whilewhile(){}GeneratedbyFoxitPDFCreator©FoxitSoftware¨do-while¨do-whiledo{}while()GeneratedbyFoxitPDFCreator©FoxitSoftware¨label¨labelnlabel:nbreak¨breakswitchncontinue¨continuenreturn¨GeneratedbyFoxitPDFCreator©FoxitSoftware¨with¨withwith(){;}varx,y;varr=10;with(Math){a=PI*r*r;x=r*cos(PI);y=r*sin(PI/2);}GeneratedbyFoxitPDFCreator©FoxitSoftware(window.location)/script2.scriptdocument.write(window.location)/scriptGeneratedbyFoxitPDFCreator©FoxitSoftware–JavaScriptStringDateMath–GeneratedbyFoxitPDFCreator©FoxitSoftware¨String19Web¨ncharAt()nindexOf()nlastIndexOf()nsubStringntoLowerCase()ntoUpperCase()GeneratedbyFoxitPDFCreator©FoxitSoftware¨datenDate¨newnvar=newDate()()nvar=newDate(,,)nvar=newDate(,,,,,)nvar=newDate(,,,::)nDate¨DateGeneratedbyFoxitPDFCreator©FoxitSoftware¨getYear():¨getMonth()0~11,01¨getDate():¨getDay():0~60¨getHours():0~23¨getMinutes():0~59¨getSeconds():0~59¨getTime():197011GeneratedbyFoxitPDFCreator©FoxitSoftware©FoxitSoftware¨Windowdocumentlocationhistorynwindow¨defaultStatus¨frames¨length¨parent¨self¨status¨top¨location¨name¨links¨

1 / 67
下载文档,编辑使用

©2015-2020 m.777doc.com 三七文档.

备案号:鲁ICP备2024069028号-1 客服联系 QQ:2149211541

×
保存成功