½â¾öjson°üº¬html±êÇ©ÎÞ·¨ÏÔʾµÄÎÊÌâ
Ö÷ÒªÊǽ«jsonÎÞ·¨Ê¶±ðµÄ×Ö·û½øÐÐתÒå
function dotran($str) {
$str = str_replace('"','\\"',$str);
$str = str_replace("\r\n",'\\r\\n',$str);
$str = str_replace("\t",'\\t',$str);
$str = str_replace("\\",'\\',$str);
$str = str_replace("\b",'\\b',$str);
return $str;
}
ÕâÑù·µ»ØµÄÊý¾Ý¾Í¿ÉÒÔÕý³£ÏÔʾ£¬ÏÂÃæÊÇת»»ºóµÄÄÚÈÝ£º
jsontext='{"jqry":[{"id":"121","userid":"0","status":"1","filename":"","url":"333333333","title":"aaaaaaa","type":"WatchTV","seq":"1","remark":"remarktext","content":"<p>\\r\\n\\t<object classid=\\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\\" codebase=\\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0\\"><param name=\\"quality\\" value=\\"high\\" /><param name=\\"movie\\" value=\\"
Ïà¹ØÎĵµ£º
Example:
1.<!--[if !IE]><!--> ³ýIEÍâ¶¼¿Éʶ±ð <!--<![endif]-->
2.<!--[if IE]> ËùÓеÄIE¿Éʶ±ð <![endif]-->
3.<!--[if IE 5.0]> Ö»ÓÐIE5.0¿ÉÒÔʶ±ð <![endif]-->
4.<!--[if IE 5]> ½öIE5.0ÓëIE5.5¿ÉÒÔʶ±ð <![endif]-->
5.<!--[if gt IE 5.0]> IE ......
×î½üÔÚʹÓÃextǶÈëhtmlÒ³ÃæµÄ¹ý³ÌÖУ¬Óöµ½Ò»¸öÎÊÌâ¡£ÎÒÃÇÒ³Ãæ¶¼ÊÇÓÃhtmlÖÆ×÷µÄ£¬ÓÃiframeµÄ·½Ê½Ç¶Èëµ½extµÄpanelÀï¡£ÆäÖÐÓÐÒ»¸öÒ³ÃæÊÇÔÚ°´Å¥´¥·¢µÄʱºò¼ÓÔØ½øÈ¥µÄ£¬µ«ÊÇÖØÐÂË¢ÐÂä¯ÀÀÆ÷£¬Ò³ÃæÈÔȻǶÈëÔÚpanelÖУ¬²¢Ã»ÓÐÐ¶ÔØµô£¬ÔÚÒ³ÃæÉÏÉèÖÃÇå¿Õ»º´æÒ²Ã»ÓÐЧ¹û¡£
ºóÀ´ÎÒ·¢ÏÖ£¬Ö»ÓÐÔÚä¯ÀÀÆ÷µØÖ·Àï ......
·½Ê½Ò»£º »ò ×÷»»Ðзû
·½Ê½¶þ£ºÖ±½ÓÔÚÔ´ÂëÖÐÇûسµ
¡¾½¨Òé¡¿ ²ÉÓ÷½°¸Ò»¡£
¡¾Ô´Âë¡¿
<a href="#" title="µÚÒ»ÐÐ µÚ¶þÐÐ µÚÈýÐÐ">·½Ê½Ò»£ºÊó±ê·ÅÔÚÎÒÉÏÃæ¿´Ò»ÏÂtitle</a>
<br />
<br />
<a href="#" title="µÚÒ»ÐÐ
µÚ¶þÐÐ
µÚÈýÐÐ">·½Ê½¶þ£ºÊó± ......
<script language="javascript">
function newRow()
{
var tbl = document.all("mytbl");
var row = &nb ......
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<meta http-equiv="Content-Lan ......