flexÓëjavascript½»»¥ÎÊÌâ
ÔÚjavascriptÖе÷ÓÃflexÖеķ½·¨Ê±
ÓÃdocument.getElementById("flexObject").flexfunction("param");
flexObjectÊÇÆähtmlÄ£°åÖеÄid»òÕßname,¼´Ïà¶ÔÓ¦µÄflexµÄʵÀý»¯¶ÔÏó.
ÒªÔÚflexÖÐÓÃExternalInterface.addCallback("flexHelloWorld",flexHelloWorld);
ÏÈ×¢²áÔÚjavascriptÖеÄÓ³Éä
¿ÉÊÇÔÚ±¾µØ»ú¿ÉÒÔÖ´ÐУ¬µ«ÆäËû»ú·ÃÎÊʱ³ö´íÁË¡£
ÆäËû»úÆ÷ÉÏ»á³öʲô´í°¡?
´ËÍøÒ³ÉϵĴíÎó¿ÉÄÜ»áʹËüÎÞ·¨ÕýÈ·ÔËÐÐ
δָÃ÷µÄ´íÎó¡£
try this param
<param name='allowScriptAccess' value ='always' />
»¹ÊDz»ÐÐѽ
ûÓÐÓùý °ï¶¥
allowScriptAccessÉèÖÃΪsameDomain
¿ÉÄÜÊÇ°²È«É³ÏäµÄÎÊÌâ
µ÷ÊÔ·¢ÏÖÊdzÌÐòÔËÐе½¡±fileRefList.browse()¡°Ê±£¬ä¯ÀÀÆ÷µ¯³ö¶Ô»°¿ò£¬ÏÔʾ:"´ËÍøÒ³ÉϵĴíÎó¿ÉÄÜ»áʹËüÎÞ·¨ÕýÈ·ÔËÐРδָÃ÷µÄ´íÎó¡£"
private function selectFile():void {
var fileRefList:FileReferenceList=new FileReferenceList();
fileRefList.browse();
}
ÎҵijÌÐòÄ¿µÄÊÇ×ö¸ö¿ÉÒÔÑ¡Ôñ¶à¸öÎļþÉÏ´«£¬ÔËÐе½ÉÏÃæÄIJ½³öÏÖ²»Á˶Ի°¿ò£¬³öÏÖÉÏÃæ´íÎó¡£
È缱ѽ¡£!!!!!
var fileRefList:FileReferenceList=new FileReferenceList();
Õⶫ¶«×ö¾Ö²¿±äÁ¿ºÃÏñ»áÓÐÎÊÌâµÄ.ÊÔÊÔÉè³ÉÈ«¾Ö±äÁ¿.
var fileRefList:FileReferenceList=new FileReferenceList(); ÒÔ°ÑËüÉùÃ÷Ϊȫ¾Ö±äÁ¿ÁË£¬»¹ÊDz»ÐУ¬ÎÒ±¾µØ»ú¿ÉÒÔµ¯³öÉÏ´«¶Ô»°¿ò£¬ÆäËû»ú·ÃÎʾͲ»ÐÐÁË£¬¹òÇó¡££¡£¡£¡£¡£¡
×îз¢ÏÖ£¬ÔÚÎÒ
Ïà¹ØÎÊ´ð£º
<form id="form1" runat="server">
<div>
<script type="text/javascript">
function oo(a){
document.getEleme ......
ÇëÎÊÔÚ¶Ô»°¿òÀïÄÚǶä¯ÀÀÆ÷¿Ø¼þ£¬´ïµ½¸úÍøÒ³½»»¥
Ïëͨ¹ýJavaScriptµ÷ÓÃC++º¯Êý ÐèÒªÍê³É Äļ¸¸ö²½Ö裿
Çë°´²½Öè˵Ã÷¡£
C++½«º¯Êý·Åµ½ÄÄÀï ¹© JavaScript ²éѯ²¢µ÷ÓÃÄØ£¿
ËäÈ»Óд ......
ScriptManager.RegisterStartupScript(this.UpdatePanel1, this.GetType(),this.ClientID, " <script language=\"javascript\" type=\"text/javascript\"> if(confirm('ÐèÒªÖ±½Ó ......
ÎÒ°ÑRADIOBUTTONLISTǶÌ×ÔÚGRIDVIEWÖÐ
ʵÏÖµ±µã»÷GRIDVIEWÍ·ÖеÄRADIOBUTTONLISTµÄijһÏîʱ
ϱßÐÐÖеÄRADIOBUTTONLIST Ò²ËæÖ®±ä»¯
·Ö²»¶à¡£¡£Ð»Ð»ÁË
ä¯ÀÀÆ÷»¹Ã÷åÛÓεġ£¡£Ð»Ð»ÁË
ÒýÓÃ
......
txtÊDZ¾Ò³ÃæÖÐTextBox¿Ø¼þµÄid£¬ÎÒÏëÓÃÏÂÃæÕâÖÖÐÎʽ¸Ä±äËüµÄÖµ£¬µ«ÊÇÓÐÎÊÌ⣬´íÎóÌáʾÊÇ£º'document.getElementById(...)'Ϊ¿Õ»ò²»ÊǶÔÏó¡£
Response.Write(" <script language='Javascript& ......