日期:2014-05-16 浏览次数:20439 次
<object id="FlashID" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="657" height="499">
<param name="movie" id="paramobject1" value="aa.swf?userName=" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" id="paramobject2" data="aa.swf?userName=" width="657" height="499">
<!--<![endif]-->
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<param name="swfversion" value="6.0.65.0" />
</object>
<!--<![endif]-->
</object>
$(document).ready(function(){
$.ajax({
url: "../getURL",
dataType: "json",
type: "POST",
error: function (XMLHttpRequest, textStatus, errorThrown) {
},
success: function(result) {
$('#paramobject1').val(result);
//怎么修改paramobject2的data属性?
}
})
})