when i submit the data below,the fckeditor give me the javascript error
3518 line
error message unknown name
but in firefox the data can submit to the server
can some one help me how to fix it?
FCKeditor 2.6.4
<!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> <base href="${SiteRoot}"/> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <script type="text/javascript" src="js/jquery-1.3.2.js"></script> <script type="text/javascript" src="js/jqueryutil.js"></script> <script type="text/javascript" src="js/jquery.easing.1.3.js"></script> <script type="text/javascript" src="js/jqgalscroll.js"></script> <link rel="stylesheet" type="text/css" href="style/jqGalScroll.css" /> <title></title> <style type="text/css"> * { padding: 0px; margin: 0px; } body { margin:auto; } .box { width:800px; margin:auto; border:solid 1px #666; font-family: Geneva, Arial, Helvetica, sans-serif; padding: 0px; font-size: 12px; font-weight: 400; color: #333333;} a:link { color: #333333; text-decoration: underline; font-weight: 400; } a:visited { color: #333333; text-decoration: none; } a:hover { color: #FF9900; text-decoration: underline; } ul{ list-style-type:none } li{ display: inline; float:left } #biaoge{ margin-right :30px; float:right } #biaoge li { width:80px; height:30px; line-height:30px; text-align:center; color: #333333; } #header{ height:69px; background-image:url(userfiles/ap_topa.jpg); background-repeat: no-repeat; background-position: left top; } #pictures{ width:606px; height:800px; border:1px solid #e987b1; } #pictures li img{ width:300px; height:200px; border:1px solid #e987b1; } #footer{ position:relative; width:100%; height:80px; text-align:center; overflow:hidden; } #footer ul{ float:left; position:relative; left:50%; } #footer ul li{ position:relative; right:50%; float:left; margin:10px; padding:0 10px; line-height:60px; } </style> <script type="text/javascript"> $(document).ready(function(){ $("#one").jqGalScroll({titleOpacity:0,height:450,width:750,ease:'easeInOutCubic',speed:1000}); }); </script> </head> <body > <div class="box"> <div id="header" > <div style="position:relative;height:29px;"></div> <ul id="biaoge" > <li><a href="index.html" target="_self"><u>Home</u></a></li> <li><a href="index.html" target="_self"><u>Company</u></a></li> <li><a href="index.html" target="_self"><u>Services</u></a></li> <li><a href="index.html" target="_self"><u>Contact</u></a></li> <li><a href="index.html" target="_self"><u>Where to Buy</u></a></li> </ul> <!-- end #header --></div> <div id="navigator"> </div> <div> <ul id="one"> <li><a href="http://news.sina.com.cn"><img src="/athenapower/images/wedding_portrait/weddingportrait_01.jpg" border="0" /></a></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_02.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_03.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_04.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_05.jpg" border="0"/></li> </ul> <!-- end #mainContent --></div> <div id="pictures"> <ul> <li><a><img src="/athenapower/images/wedding_portrait/weddingportrait_01.jpg" border="0" /></a></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_02.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_03.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_04.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_03.jpg" border="0"/></li> <li><img src="/athenapower/images/wedding_portrait/weddingportrait_04.jpg" border="0"/></li> </ul> </div> <div> <div id="footer"> <ul> <li><a href="index.html" target="_self"><u>Home</u></a></li> <li><a href="index.html" target="_self"><u>Company</u></a></li> <li><a href="index.html" target="_self"><u>Services</u></a></li> <li><a href="index.html" target="_self"><u>Contact</u></a></li> <li><a href="index.html" target="_self"><u>Policy&Agreement</u></a></li> <li><a href="index.html" target="_self"><u>Private Policy</u></a></li> <li><a href="index.html" target="_self"><u>Where to Buy</u></a></li> </ul> </div> <!-- end #footer --></div> <!-- end #container --></div> </body> </html>
Re: error 3518 line in IE 6 when submit data to post server
Instead of IE6 you should use IE8 and that way you can use its debugging tools to find out the exact details about the error (IE6 lies too much)
And you should test with the uncompressed source if you want to debug it, of course.