javascript ÊÓƵµã²¥
²»Óúǫ́´úÂëʵÏÖ£¬ÒÔÏ´úÂë²»ÐУº
»¹ÓзÖÊý£ºhttp://topic.csdn.net/u/20090924/17/63bfaf86-676a-4b17-b5a8-c3639cb52d48.html?seed=1252542124&r=60046892#r_60046892
HTML code:
<script type="text/javascript">
function link() {
document.getElementById("pid").value="vcastr_file=http://www.ndnews.cn/spnd/UploadFiles_7567/vod/news/090603/ÄþµÂÊÐ×ܹ¤»áοÎÊÁùÒ»½Ú Å©Ãñ¹¤×ÓÅ®.flv";
}
</script>
HTML code:
<div id="player">
<script type="text/javascript">
swfUrl="#"
swftext="1030"
var swf_width=459
var swf_height=318
var texts=swftext
var files=swfUrl
document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cabversion=6,0,0,0" width="'+ swf_width +'" height="'+ swf_height +'">');
document.write('<param name="movie" value="http://www.ndnews.cn/vcastr22.swf"><param name="quality" value="high">');
document.write('<param name="menu" value="false"><param name="
Ïà¹ØÎÊ´ð£º
ÈçÓÐÒ»¸ötextbox£¬Óû§ÊäÈëºóµãbutton°´Å¥Ê±£¬ÊµÏÖÓÃJavaScript¶ÔtextboxÊäÈëÐÅÏ¢µÄÑéÖ¤£¬ÒªÇóÓÃJavaScriptÀ´ÊµÏÖ£¬±ÈÈçÑéÖ¤Óû§ÊäÈëµÄÊÇ·ñÊÇÊý×Ö¡£
Ï£Íû½«HTML´úÂëÒ»²¢Ð´³öÀ´¹þ£¬Ð»Ð»
HTML code:
<!DOC ......
ÎÒÔÚºǫ́ÓÃC#±àдASP.NETÒ³Ã棬ͬʱҪÓÃJAVASCRIPTÀ´¿ØÖÆÌáʾ´°¿Ú£¬Èç
Response.Write(" <script language=javascript>confirm('È·¶¨ÒªÉ¾³ýÂð£¿') </script>");
ÎÒÒªÓÃconfirm( ......
ÎÒÏÖÔÚÒ³ÃæʹÓõÄÊÇÒ»¸ö¿Ø¼þ¹©Óû§È¥Ñ¡ÔñÈÕÆÚ£¬Ñ¡ÔñºóµÄÖµµÄ¸ñʽÊÇ£º2009-10-20 14:38:40
Ò»¸ö¿ªÊ¼ÈÕÆÚ£¬Ò»¸ö½áÊøÈÕÆÚ£¬ÔõÑùÅжϿªÊ¼ÈÕÆÚ²»ÄÜ´óÓÚ½áÊøÈÕÆÚ?
´ó¼Ò° ......
<script>
with(document)
{
for(var i=0;i <streams.length;i++)
writeln(" <p> <a href=# onclick=change(streams[i].url)>"+streams[i].name+" </a> < ......
ÇëÎÊÓÃjavascriptÄÜ·ñ»ñµÃsessionµÄÖµ£¿
¿ÉÒÔ
¿Ï¶¨¿ÉÒԵġ£
jsp µÄ»°£¬Ò³ÃæÖпÉÒÔÖ±½ÓÄÃsessionµÄÖµ${sessionScope.XXX}
jsÄÃsessionÓ¦¸Ã²»ÄÜ£¬sessionÊÇÔÚ·þÎñ¶Ë£¬jsÔÚ¿Í»§¶Ë
ÆÚ´ý¸ßÊֻشð
/////// ......