Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

100 ·Ö jquery ajax Éú³É±í¸ñÎÊÌâ - Web ¿ª·¢ / Ajax

body Ò³Ãæ
HTML code:

<body>
<div class="container">

<s:iterator value="#session.listMenus">
<div class="menuTitle" menuId="<s:property value='menuId'/> " >
<s:property value="menuName" />
<input type="hidden" id="userId" value="<s:property value='#session.requestUserid'/>" >
</div>
</s:iterator>
<div class="menuContent" id="menu">

</div>
</div>




 JS 
HTML code:


<script type="text/javascript">
$(document).ready(
function()
{
var userId=$("#userId").val();
var ss;
$("input[id^='menuId']").click(function(){
ss=($(this).attr("id"));
});

$(".menuTitle").click(function(){
var mentId=($(this).attr("menuId"));
$.ajax({
type:"post",
url:"role/roleOper!findRolePermissAdd?userId="+userId+"&menuId="+mentId,
dataType:"xml",
suc


Ïà¹ØÎÊ´ð£º

jqueryÖÐÏòajaxÎÊÌâ - Web ¿ª·¢ / JavaScript

ÎÒÔÚÒ»¸öhtmlÖÐдÈçÏ´úÂ룺
JScript code:
<html>
<head>
<script type="text/javascript" charset="utf-8"
src="script/jquery-1.3.2.min ......

ajaxµÄÎÊÌâ - .NET¼¼Êõ / ASP.NET

ÎÒÅóÓѵÄÒ»¸öASP.NETÒýÓÃÁËajax¼¼Êõ£¬binĿ¼ÏÂÃæÒ²ÓÐajaxpro.dll£¬ÎªÊ²Ã´·þÎñÆ÷²»ÐèÒª°²×°ajax²å¼þÒ²¿ÉÒÔÔËÐÐÄØ£¬ÕÕÀí˵Ӧ¸ÃÒª°²×°ASPAJAXExtSetup.msi
ÓÐ ajaxpro.dll¾Í¿ÉÒÔÁË

²»Í¬µÄaajx×é¼þ
AjaxPro¾ÍÊÇ¿ò¼ ......

ajax ûÓÐȨÏÞÎÊÌâ - Web ¿ª·¢ / Ajax

ÔÚ±¾µØ²âÊÔʱ¿ÉÒԵġ£
ÉÏ´«µ½·þÎñÆ÷¾Í³öÏÖûÓÐȨÏÞÎÊÌâ¡£
ÍøÉÏËÑË÷˵²»Äܹ»¿çÓò£¬µ«ÊÇÎÒûÓпçÓò°¡£¡
¶¼ÊÇÔÚ·þÎñÆ÷ÉÏÃæÔõô»áÓпçÓòÄØ£¿
¸ÃÔõô½â¾ö£¿£¿£¿£¿£¿£¿
´úÂëÌù³öÀ´¡£¡£

function Ajax(url,parm,fu ......

.net 3.5 ajax¿ò¼ÜÎÞ·¨¼ÓÔØ - Web ¿ª·¢ / Ajax

ʹÓÃ.net 3.5 ×Ô´øµÄajax¿Ø¼þ£¬ÔÚIE7¡¢IE8ÏÂÌáʾ ajax¿ò¼ÜÎÞ·¨¼ÓÔØ
Ò³Ãæ½á¹¹ÈçÏ£º
HTML code:

<form id="form1" runat="server">
<asp:ScriptManager ID="SM&quo ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ