javascript ¿ØÖÆ DIVµÈhtmlÔªËØµÄÏÔʾºÍÒþ²Ø
1
¡¢±àд
js
º¯Êý
<script
type="text/javascript">
function display(id){
var
traget=document.getElementById(id);
if(traget.style.display=="none"){
traget.style.display="";
}else{
traget.style.display="none";
}
}
</script>
2.¡¢
ÒªÏÔʾ
/
Òþ²ØµÄ
html
ÔªËØ¼ÓÉÏ
id
ÊôÐÔ
<table>
<tr id="menu"
>
<td>
¿ØÖÆÕâ¸ö
tr
µÄÏÔʾ
/
Òþ²Ø
</td>
</tr>
</table>
3
¡¢Ìí¼Ó°´Å¥£¬Á´½ÓµÈ´¥·¢
js
º¯Êý
<input type="button"
onclick="display(
'menu'
)"
value="
ÏÔʾ
/
Òþ²Ø
"/>
<a href="#"
onclick="display(
'menu'
)"
>
ÏÔʾ
/
Òþ²Ø
</a>
javascript
ÏÔʾÒþ²Ø²ã
<div id=""
style="display:none;">
¹ã¸æ
</div>
<input type="botton"
onclick="
º¯Êý
">
<script
language=javascript>
function
º¯Êý
{
if(thisdiv.style.display=='none'){
thisdiv.style.display=""
}
else
thisdiv.style.display="none"
}
</script>
ÄãÏȸø
div
È¡¸ö
ID=“AA”thisdiv=AA
javascript
Òþ²Ø
/
ÏÔʾ±íµ¥¶ÔÏó
<SCRIPT
language=javascript>
function expandIt(el) {
whichEl
=document.getElementById(el)
if (whichEl.style.display == 'none')
{
&nbs
Ïà¹ØÎĵµ£º
web¿ª·¢ÖÐÓÐʱÐèÒª¶ÔÊäÈë¿òÖеÄʱ¼ä£¨Ö÷ÒªÊÇ¿ªÊ¼Ê±¼äºÍ½áÊøÊ±¼ä£©½øÐбȽϣ¬ÍøÉÏËÑË÷ÁËÒ»·¬£¬·¢ÏÖÓв»ÉÙÊÇÎÞЧµÄ£¬ÒÔÏ·½·¨¾Ð¡µÜ¼ìÑéȷʵÓÐЧ£¬Ìش˹²Ïí¡££¨Çë¹Ø×¢ºìÉ«²¿·Ö£©
function ValidtorTime(){
var d1 = new Date(document.getElementById('txbfromDate').value.replace(/\-/g, "\/"));
var d2 = new Date(do ......
JavascriptÓïÑÔµÄÃæÏò¶ÔÏóÌØÕ÷ºÜÈõ£¬ÆäËûÃæÏò¶ÔÏóÓïÑÔÔÚ´´½¨ÀàʱֻҪʹÓùؼü×Östatic¼´¿ÉÖ¸¶¨ÀàΪ¾²Ì¬À࣬JavascriptûÓÐÌṩstaticÕâÑùµÄ¹Ø¼ü×Ö£¬ÒªÈÃJavascriptÒ²¾ßÓГ¾²Ì¬”ÌØÐÔÖ»Óп¿Ò»Ð©“Ææ¼¼ÒùÇÉ”ÁË¡£
´úÂëÖÐÁоÙÁËÁ½ÖÖ¾²Ì¬·½·¨/ÊôÐÔµÄʵÏÖ·½Ê½£¬Ò»ÖÖÊǾ²Ì¬ÀàµÄ¾²Ì¬·½·¨ºÍÊôÐÔ£¬ÁíÒ»ÖÖÊǷǾ ......
1. document.write( " "); Êä³öÓï¾ä
2.JSÖеÄ×¢ÊÍΪ//
3.´«Í³µÄHTMLÎĵµË³ÐòÊÇ:document- >html- >(head,body)
4.Ò»¸öä¯ÀÀÆ÷´°¿ÚÖеÄDOM˳ÐòÊÇ:window- >(navigator,screen,history,location,document)
5.µÃµ½±íµ¥ÖÐÔªËØµÄÃû³ÆºÍÖµ:document.getElementB ......
´´½¨Ò»¸öWinformÓû§¿Ø¼þ UserControl1
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Drawing;
using System.Data;
using System.Text;
using System.Windows.Forms;
using System.Runtime.InteropServices;
using System.Reflection;
namespace MyActiveT ......
Java´úÂë
<script language="JavaScript">
function js_show(per_id)
{
window.open('/weihu/person/viewResume.jsp?perID='+per_id, 'resume', 'resizable=yes,menuBar=0,toolBar=0,scrollbars=yes,width=800,height=600,left ......