Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÏÂÀ­¿òÊ÷,HTML´úÂë

     ºÜ¶àʱºò£¬ÎÒÃÇÐèÒª½«ÏÂÀ­¿òÀïÃæµÄÊý¾ÝÓÃÊ÷ÏÔʾ³öÀ´£¬ÕâÑù»á±ãÓÚ¿Í»§µÃµ½ÇåÎúµÄÊý¾Ý£¬¶øÇұȽÏÖ±½Ó£¬ÁÀ³öÒÔÏÂHTML´úÂ룬¿ÉÒÔÖ±½Ó¸´ÖƵ½HTML´úÂëÀïÃæÔËÐУ¡
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title></title>
<script>
/*****************************************
auth: polarbear
data: 2009.04.17
******************************************/
//ucstar select
//id: select id
//name: select attribute name
//rootSelectname: select first option value
//sign: iterator options's prefix sign
//selectid: about the selected option id
function UcstarSelectObj(id,name,rootSelectname,sign,selectedid) {
 this.id = id;
 this.name = name;
 this.rootSelectname = rootSelectname;
 this.sign = sign;
 this.selectedid = selectedid;
 this.selectStr = "";
 this.ucstaroptions = [];
 this.ucstaroptionobjs = [];
}
//ucstar option
//id: option id
//name: option value
//pid: the node's parent id
//desc: the option's description
function UcstarOption(id,name,pid,desc) {
 this.id = id;
 this.name = name;
 this.pid = pid;
 this.desc = desc;
}
//get the options by parentid
UcstarSelectObj.prototype.getChildOptions = function(vPid) {
 var childOptions = new Array();
 //this.debug(this.ucstaroptions.length);
 for(var i = 0; i < this.ucstaroptions.length; i++) {
  if(this.ucstaroptions[i].pid == vPid) {
   //this.debug(this.ucstaroptions[i].pid + "-" + this.ucstaroptions[i].id);
   childOptions[childOptions.length] = this.ucstaroptions[i];
  }
 }
 return childOptions;
}
//debug message
UcstarSelectObj.prototype.debug = function(message) {
 


Ïà¹ØÎĵµ£º

ÓйØÈ¥µôhtmlÖеÄÁ½¶Ë×Ö·û

ÈçºÎÓÐÒ»¸ö×Ö·û´®ÊÇÕâÑùµÄÐÎʽstr = "&bbbLAA";
ÏëµÃµ½"L"µÄ»°¿ÉÒÔÕâÑùȥʵÏÖ£º
//sDataStr = "&bbbLAA";
//sLeftQuote = ""&bbb";
//sRightQuote = "&AA";
µ÷ÓÃÕâ¸ö·½·¨½«µÃµ½L×ֶΡ£
function abCutString( sDataStr, sLeftQuote, sRightQuote)
{
 var sReturnVal = '';
 var nStart ......

²»Ó¦ºöÊÓµÄHTMLÓÅ»¯

Ëæ×ÅWeb2.0¼¼ÊõµÄ²»¶Ï·¢Õ¹£¬WebÇ°¶ËµÄÓÅ»¯Êܵ½Ô½À´Ô½¶àµÄ¹Ø×¢£¬ÌرðÊÇJavaScriptºÍCSSÓÅ»¯µÄÌÖÂÛÒ»Ö±ÊÇÈȵ㣬¹¤¾ßÒ²Ïà¶Ô·á¸»£¬¶ø¶ÔHTMLÓÅ»¯ÔòÓÐËùºöÊÓ£¬×î½ü£¬À´×԰ٶȷºÓû§ÌåÑéÍŶӵŤ³ÌʦMiller£¨chenminliang£©×«ÎÄÇ¿µ÷ÁËHTMLÓÅ»¯µÄÖØÒªÐÔºÍÏà¹Ø¼¼ÇÉ¡£
MillerÊ×ÏȾÙÀý˵Ã÷ÁËHTMLÓÅ»¯ÉÔÏÔºöÂÔµÄÊÂʵ£º
ÔÚSteve Souder ......

ʹÓÃPerlµÄHTML::TreeBuilder::XPathÀ´½âÎöÍøÒ³ÄÚÈÝ

Ô­ÎĵØÖ·£ºhttp://www.php-oa.com/2009/09/24/perl-html-tree-builder-xpath.html
ת¹ýÀ´ ÂýÂýÑо¿
Ç¿´óµÄPerlÖÐ,Óг¬¼¶¶àÇ¿´óµÄÄ£¿é,ÈÃÎÒÃDz»ÔÚÐèÒªÖظ´µÄ·¢Ã÷ÂÖ×Ó.ÏÂÃæÕâ¸ö¾ÍÊÇÒ»¸öÇ¿´óµÄÄ£¿é.HTML::TreeBuilder::XPath.ËüÄÜÏóxmlÒ»Ñù½âÎöÍøÕ¾.ÔõôʹÓþͲ»Ï¸½²ÁË,ÈçÏÂ,¼ûʵÀý,ÎÒÊÇ´Óalexa.comÍøÕ¾µÃµ½ÎÒµÄÍøÕ¾ÅÅÃûµÄÒ» ......

StrutsÖÐhtml±êÇ©µÄÓ÷¨

±êÇ©ÓÃÓÚÉú³ÉÒ»¸öHTML form¡£Ê¹Óøñêǩʱ±ØÐë×ñÑ­Ðí¶à¹æÔò¡£
Ê×ÏÈ£¬±êÇ©ÖбØÐë°üº¬Ò»¸öactionÊôÐÔ£¬ËüÊÇÕâ¸ö±êÇ©ÖÐΨһ±ØÐèµÄÊôÐÔ¡£Èç¹û²»¾ß±¸¸ÃÊôÐÔÔòJSPÒ³Ãæ»áÅ׳öÒ»¸öÒì³£¡£Ö®ºóÄã±ØÐë¸øÕâ¸öactionÊôÐÔÖ¸¶¨Ò»¸öÓÐЧֵ¡£Ò»¸öÓÐЧֵÊÇÖ¸Ó¦ÓóÌÐòµÄStrutsÅäÖÃÎļþÖÐÔªËØÀïµÄÈκÎÒ»¸ö×ÓÔªËصķÃÎÊ·¾¶¡£¶øÇÒÏàÓ¦µÄÔªËØÖб ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ