1, close the window in the picture of the connection to write Javascript:window.close ();
submit a picture connection to write Javascript:document. Form1.submit ();
Confirmation dialog box before
Delete:
<a href= "Del.asp?id=<%=rs (" rowID ")%>" onclick= "Javascript:return confirm (' Really want to delete data? ') ' > Delete </a>
2, pop-up the balloon in VBScript and jump to the specified page
<%
Response.Write "<script language= ' JavaScript ' >alert (" submitted successfully! "); location.href= "" addbook.asp "";</script> "
%>
3, the page is picked up to wait .... Script Description:
the following code into the <head> area
<script language= "JavaScript" >
document.write ("<font size=6 color=blue face= ' italics _gb2312 ' ><B> is loading into the home of the creek station, please wait a moment." </B></font> ");
window.clear;
window.location.href= "Http://yzty.europe.webmatrixhosting.net";
</SCRIPT>
4, in the text directly modify the record, and then point to modify the Save record
<%count=0
Do as not (rs.eof or RS.BOF) and Count<rs. PageSize%>
<form action= "webgroupedit.asp" method= "post" name= "Groupedit" onsubmit= "return Checkedit ()" >
<tr bgcolor= "e9f3ff" >
<td> <%=rs ("id")%> <input name= "B" type= "hidden" id= "B" value= "<%=rs" ("id")%> ">
<input name= "currpage" type= "hidden" id= "Currpage" value= "<%=page%>" ></td>
<td height= "><input name=" a "type=" text "id=" a "value=" <%=rs ("Memgroupname")%> "size=" 20 " Maxlength= ">
"
</td>
<td height= "><input name=" C "type=" text "id=" C "value=" <%=rs ("remark")%> "size=" "maxlength=" "></td>
<td><input type= "Submit" name= "Submit" value= "Modify" ></td>
<td><div align= "center" ><a href= "Webgroupdel.asp?id=<%=rs" ("id")%>&page=<%=page%> " onclick= "return check ()" > Delete </a></div></td>
</tr>
</form>
<%
count=count+1
Rs.movenext
Loop
%>
5, automatic calculation problem:
<input type= "hidden" name= "Selvalue" >
<select name= "Select1" onchage= "javascript:document.form1.selvalue.value=this.options[" This.options.selectedindex].text ">
<option value= "1" > Sina </option>
<option value= "2" > Baidu </option>
<option value= "3" > China net </option>
<option value= "4" > Tencent </option>
</SELECT>