Frog frog recommendation: I just wrote a test program and posted it to you. I didn't write too many comments.

Source: Internet
Author: User

<%
Function wawa_savehtml (F, S)
'Author: Tianji. Frog Prince
'Function: save data on the server.
Dim FS, ts, Dir, files, path
Set FS = Createobject ("scripting. FileSystemObject ")
Dir = server. mappath ("html ")
If (FS. folderexists (DIR) then
Else
FS. createfolder (DIR)
End if
Files = F & ". html"
Path = dir & "/" & files
Set Ts = FS. createtextfile (path, true)
TS. writeline (s)
Set Ts = nothing
Set FS = nothing
End Function
If request ("Submit") <> "then
Call wawa_savehtml (Request ("name"), request ("body "))
Response. Write ("<SCRIPT> alert ('submitted successfully'); location. href ('index. asp '); </SCRIPT> ")
End if
%>
<HTML>
<Head>
<Style type = "text/CSS">
<! --
. Odiv {
Font-size: 12px;
Background-color: # cccccc;
Width: 500px;
List-style-type: circle;
Text-align: left;
}
. Wa_1 {
Font-size: 14px;
Color: #00cc00;
}
-->
</Style>
</Head>
<Body>
<Center>
<SPAN class = "wa_1"> Questions for programmers in Hebei Kyushu information company <br>
Double-click the dark area below to answer questions. This topic mainly tests your comprehensive capabilities and involves a wide range of knowledge, not necessarily every question. </Span>
<Div id = "odiv" class = "odiv">
<Style type = "text/CSS">
<! --
. Sdiv {
Font-size: 12px;
Background-color: #999999;
Width: 500px;
List-style-type: circle;
Height: 50px;
Color: # FFFF00;
Text-align: left;
}
-->
</Style>
<Ul>
<Li> write a document in XML format to introduce yourself </LI>
<Div class = "sdiv"> </div>
<Li> list the development tools you are familiar with </LI>
<Div class = "sdiv"> </div>
<Li> list the addresses of your best works. </LI>
<Div class = "sdiv"> </div>
<Li> write a function using vbs to judge the number of "@" in the string "s @. d @. SDF @ KK" </LI>
<Div class = "sdiv"> </div>
<Li> write a function in JavaScript to determine whether a string is in the email format. </LI>
<Div class = "sdiv"> </div>
<Li> write a CSS style sheet to ensure that all cells on the page have 12 PX fonts and the background color is white. </LI>
<Div class = "sdiv"> </div>
<Li> Use HTML to write a code for Scrolling up subtitles. Place the cursor on it to stop scrolling. </LI>
<Div class = "sdiv"> </div>
<Li> your experience in using triggers and stored procedures </LI>
<Div class = "sdiv"> </div>
<Li> use ASP to write a piece of code to connect to and open the ACCESS database </LI>
<Div class = "sdiv"> </div>
<Li> use C # To write a script for Database Operations </LI>
<Div class = "sdiv"> </div>
<Li> list common events and usage of the DataGrid Control in Asp.net </LI>
<Div class = "sdiv"> </div>
<Li> Differences between static and dynamic members of a class </LI>
<Div class = "sdiv"> </div>
<Li> let's talk about the steps for creating a project, from project initiation to acceptance. </LI>
<Div class = "sdiv"> </div>
</Ul>
</Div>
<P>
<SCRIPT>
<! --
Odiv. contenteditable = true;
Function ()
{
Document. All ["body"]. value = Document. All ["odiv"]. innerhtml
}
// -->
</SCRIPT>
</P>
<Form name = "form1" method = "Post" Action = "index. asp">
<SPAN class = "wa_1"> enter your name: </span>
<Input name = "name" type = "text" id = "name">
<Input name = "body" type = "hidden" id = "body">
<Input type = "Submit" name = "Submit" value = "Submit" onclick = "A ()">
</Form>
</Center>
</Body>
</Html>

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.