Jquery ÖÐAjaxʹÓõÄËÄÖÖÇé¿ö
<script type="text/javascript" language="javascript" src="JS/jquery-1[1].2.3.min.js"></script>
<script type="text/javascript" language="javascript">
$(document).ready(function(){ //Jquery Ò³Ãæ¼ÓÔØʼþ£¬µ±Ò³Ãæ¼ÓÔØÖ®ºóÊ×ÏÈÖ´ÐÐÕâ¸ö·½·¨
//µÚÒ»ÖÖAjaxÇëÇó
$.ajax({
type:"GET", //ÇëÇóÀàÐÍ£¬ÓÐget,postµÈÀàÐÍ£¬ºÍ±íµ¥Ìá½»ÊÇÒ»ÑùµÄ
url:"Result.aspx", //ÇëÇó´¦ÀíµÄÒ³Ãæ,¾ÍÊÇ˵ÓÉÄǸöÒ³Ã沶»ñÇëÇó£¬Í¬ÑùÕâ¸ö·¾¶¿ÉÒÔ»»³Éashx£¬Ò»°ã´¦Àí³ÌÐò
data: "name=John&location=Boston", //´«µÝ²ÎÊý£¬ÊµÔÚ¾ÍÊÇ(Result.aspx?name=John&loaciton=Boston)
success:function(msg){ //ÇëÇó³É¹¦»áÓÉÕâ¸ö·½·¨´¦Àí£¬ÆäÖÐÇëÇó³É¹¦·µ»ØÖµÓÉmsg½ÓÊÕ
$("#ajaxDIV").text(msg);
}
});
//µÚ¶þÖÖÇëÇó
$.get( //ÓÃgetÇëÇó·½Ê½£¬Æäʵ¾ÍÊÇÉÏÒ»ÖֵıäÌå
"Handler.ashx",
&
Ïà¹ØÎĵµ£º
½ñÌì³Á˶ÎÊéÉÏС´úÂ룬´úÂëÈçÏÂ
<html>
<head>
<script type="text/javascript" src="zxml.src.js"></script>
<script type="text/javascript">
function start() {
var oXmlHttp = zXmlHttp.createRequest();
oXmlHttp.open("get", "info11.txt", true);
oXmlHttp.onreadystatecha ......
Private static readonly object ReflectionLock = new object();
Lock (ReflectionLock)
{
Type scriptManagerType =
Type.GetType(
"System.Web.UI.ScriptManager, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35",
false);
......
ashxÎļþÊÇ.net 2.0мӵÄÎļþÀàÐÍ(ÆäʵÔÚ.net 1.0ÏÂÒѾ¿ÉÓÃ,µ«ÊÇûÓй«¿ªÌṩ).
ashxÎļþºÍaspxÎļþÓÐʲô²»Í¬? ÎÒÃÇÏÈн¨Ò»¸öashxÎļþ¿´¿´:
ashx
<%@ WebHandler Language="C#" Class="Handler" %>
using System;
using System.Web;
public class Handler : IHttpHandler {
public void Process ......
Accordion¿Ø¼þʱµÄ³£ÓÃÊôÐÔ±êÇ©
ÊôÐÔ±êÇ©Ãû Ãè¡¡¡¡Êö
SelectedIndex ¸Ã¿Ø¼þ³õ´Î¼ÓÔØʱչ¿ªµÄAccordionPaneÃæ°åµÄË÷ÒýÖµ
HeaderCssClass ¸ÃAccordionÖаüº¬µÄËùÓÐAccordionPaneÃæ°åµÄ±êÌâÇøÓòËùÓ¦ÓõÄCSS Class
ContentCssClass ¸ÃAccordionÖаüº¬µÄËùÓÐAccordionPaneÃæ°åµÄÄÚÈÝÇøÓòËùÓ¦ÓõÄCSS Class
AutoSize Ô ......