ÔÚjavascriptÖе÷ÓÃflexÖеķ½·¨Ê±
ÓÃdocument.getElementById("flexObject").flexfunction("param");
flexObjectÊÇÆähtmlÄ£°åÖеÄid»òÕßname,¼´Ïà¶ÔÓ¦µÄflexµÄʵÀý»¯¶ÔÏó.
ÒªÔÚflexÖÐÓÃExternalInterface.addCallback("flexHelloWorld",flexHelloWorld);
ÏÈ×¢²áÔÚjavascriptÖ ......
insertAuUser.jspÒ³ÃæÖÐÓиö <div id="link"> </div>£¬ÎÒÏëÓà out.print("link.innerHTML=\" <a href=' <%=request.getContextPath()%>/jsp/authority/au/auuser/next.jsp' >²é¿´ </a>\";\n");ÔÚÒ³ÃæÉÏ´òÓ¡Ò»¸ö³¬Á¬½Ó£¬½«insertAuUser.jspÒ³ÃæÖеġ°i ......
<html>
<head>
<title>AAA </title>
<script type="text/javascript">
function Test(msg)
{
alert(msg);
}
</script>
......
ÎÒÔÚ¹¤×÷ÖÐÓöµ½ÁËһЩÎÊÌ⣬¾ÍÊÇÔÚhtmlÎļþµ÷ÓÃjavascriptºÃÓ㬿ÉÊÇÓÃ.net µ÷ÓÃJS¾Í²»ºÃÓã¬ÕÒÁ˺ܶà×ÊÁÏ£¬µ«ÊÇ»¹²»ºÃÓá£ÏÖÔÚÇó´ó¼ÒÓÐûÓÐʲôºÃµÄÎÄÕ»òºÃµÄÊé½éÉÜһϣ¬ÈÃÎҺúÃѧϰһÏÂ.net¶ÔJSµÄ²Ù×÷¡£Ð»Ð»´ó¼ÒÁË¡£
»¹ÓÐÎҸоõ.net¶ÔJsµÄ²Ù×÷ÓÐÒ»¶¨À§ÄÑÒ²ÐíÎҵļ¼Êõ»¹²»Óе½¼Ò£¬Ï£Íû´ó¼Ò·¢±íÒ»ÏÂ×Ô¼ºµÄ¿´· ......
ÈçºÎÔÚjavascript½Å±¾ÖлñµÃ´ÓactionÖд«µÄ¼¯ºÏÖµ£¬ÔÚÒÔÏÂÀÁбíµÄ¼¶ÁªÏÔʾ£¬ÈçºÎ²Ù×÷£¬ÎÒÒ»Ö±¶¼Ã»ÏëÃ÷°×£¬Çë´ó¼Ò°ï°ï棬лл¡£ÈçºÎÓÐʾÀý£¬Âé·³´«Ò»·Ý£¬Ð»Ð»¡£
ÓÃajax×ö
²»ÓÃAJAXÒ²¿ÉÒÔ£¡
ÓÃjavascriptÔõô×ö°¡£¡
ajax¾ÍÊÇÓõÄjavascript
ÉÏÍøÕÒÁ½¸öÀý×Ó¿´¿´
½¨ÒéÓÿò¼Ü£¨jquery£© ºÜ·½±ã
ËÑË÷Õ ......
<a href="deleteIn.do?iid= <%=inForm.getInId()%>" >ɾ³ý </a>
µã»÷ɾ³ýºóÒªÌáʾÊÇ·ñɾ³ý
Ôõô¸ã°¡
function onclick(){
if(confirm("ÊÇ·ñҪɾ³ý")){
//ɾ³ý
}
}
confirm
ÎÒµãÈ¡ÏûËü»¹ÊÇɾ³ýÁË°¡  ......