易截截图软件、单文件、免安装、纯绿色、仅160KB

省市县不刷页面js 完成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> new document </title>
</head>
 <body><select id="s1"></select><select id="s2"></select><select id="s3"></select>
  <script type="text/javascript">
  <!--
    function LianDong(arr, sel)
{
this.GetCnNameByValue = function(val)
{
      for ( var j = 0; j < arr.length; j++)
      {
           if (arr[j][0] == val)
           {
             return arr[j][2];
           }
      }
      return "";
 }
 this.GetValueByCnName = function(val)
{
      for ( var j = 0; j < arr.length; j++)
      {
           if (arr[j][2] == val)
           {
             return arr[j][0];
           }
      }
      return "";
 }
 var me = this;
 this.$ = function(o)
 {
  return document.getElementById(o);
 }
 this.sub = function (i, pid)
 {
  for (var j=i+1; j<sel.length; j++)
  {
   me.$(sel[j]).length = 0;
   me.$(sel[j]).options[0] = new Option("请选择", "");
  }
  fo


相关文档:

HTML 标记的原义输出 函数


function unhtml($content){
$content=htmlspecialchars($content);
$content=str_replace(chr(13),"<br>",$content);
$content=str_replace(chr(32),"&nbsp;",$content);
return trim($content);
}
......

HTML特殊字符

双引号:&quot;或&#34;
单引号:&apos;或&#39;(IE实体名无效)
&符号:&amp;或&#38;
<小于:&lt;或&#60;
>大于:&gt;或&#62;
空格:&nbsp;或&#160;
£英磅:&pound;或&#163;
¥元:&yen;或&#165;
¦分隔符:&brvbar;或& ......

c#从html中获取图片地址

 
using System.Text.RegularExpressions;
string ohtml = this.TextBox1.Text;
            System.Text.RegularExpressions.MatchCollection m;
            //提取字符串的图片
   ......

XHTML和HTML的区别

因为Wap2.0使用XHTML语言并兼容WML,以下是网上找的XHTML和HTML的区别
XHTML相比于HTML
  1.所有的标记都必须要有一个相应的结束标记
  以前在HTML中,你可以打开许多标签,例如和<li>而不一定写对应的
  和</li>来关闭它们。但在XHTML中这是不合法的。XHTML要求有严谨的结构,所有标签必须 ......

java把word转html或txt

最近项目中需要在页面中预览word文件,虽说word本身就可以在页面中打开,但是有两个弊端,1是可客户端必须安装word, 2是客户端的环境以及office版本有差异,会造成预览不稳定。在网上找了一下,发现poi可以把word装换成txt,但是格式都丢了,只有光秃秃的文本,又搜jacob, 网友们众说纷纭, 最后还是自己sourceforge上下载jaco ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号