日期:2014-05-16  浏览次数:20591 次

跪求!:关于Ajax引用js效果的问题
引用网上一段js效果的代码,静态数据可以出发效果,但是用ajax从数据库动态生成带样式,带结构的html代码块,就没有js的效果了。。跪求解决方法。
以下是静态代码html
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="home.aspx.cs" Inherits="Svr_home_home" %>

<!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 runat="server">
  <title></title>  
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link href="../ui/css/reset.css" rel="stylesheet" type="text/css" />  
  <link href="../ui/css/style.css" rel="stylesheet" type="text/css" />
  <link href="../ui/css/invalid.css" rel="stylesheet" type="text/css" />
  <!--菜单信息 注意顺序 -->
  <script src="../ui/scripts/jquery-1.3.2.min.js" type="text/javascript"></script>
  <script src="../ui/scripts/simpla.jquery.configuration.js" type="text/javascript"></script>
  <script src="../ui/scripts/facebox.js" type="text/javascript"></script>
  <script src="../ui/scripts/jquery.wysiwyg.js" type="text/javascript"></script>  
<%-- <script src="../ui/scripts/jquery.datePicker.js" type="text/javascript"></script>
  <script src="../ui/scripts/jquery.date.js" type="text/javascript"></script> --%>
  <script language="javascript" type="text/jscript"></script>  
  <style type="text/css"></style>
</head>
<body>
  <form id="form1" runat="server">
   
  <div id="body-wrapper"> <!-- Wrapper for the radial gradient background -->

<div id="sidebar"><div id="sidebar-wrapper"> <!-- Sidebar with logo and menu -->

<h1 id="sidebar-title"><a href="#">Simpla Admin</a></h1>
  
<!-- Logo (221px wide) -->
<a href="#"><img id="logo" src="../ui/images/logo.png" alt="Simpla Admin logo" /></a>
  
<!-- Sidebar Profile links -->
<div id="profile-links">
Hello, <a href="#" title="Edit your profile">John Doe</a>, you have <a href="#messages" rel="modal" title="3 Messages">3 Messages</a><br />
<br />
<a href="#" title="View the Site">View the Site</a> | <a href="#" title="Sign Out">Sign Out</a>
</div>  
  <ul id="main-nav">
  <li><a href="#" class="nav-top-item">CRM管理</a><ul><li><a href=../user/department.aspx onclick="javascript:click_menu('20090508092820890507490891272286')" target="Yuetion" >记录状态信息列表</a></li><li><a href=../crm/enterprise-list.aspx onclick="javascript:click_menu('20090508101011937813744125462467')" target="Yuetion" >公司列表</a></li><li><a href=../crm/contact-list.aspx onclick="javascript:click_menu('20090508133933343452706678041417')" target="Yuetion" >联系人列表</a></li><li><a hre