Summer Fun Huge offer ~------Super + Invincible--------xml+javascript+asp online short message Function! (4)

Source: Internet
Author: User
Tags empty
xml| Online +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
+
+ Super + Invincible--------xml+javascript+asp online Short Message Function---Introduction
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



---------The following file is the newinformation.htm page to send new information, the code is longer, take a look at it slowly-----------

<title> New information </title>
<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<link rel= "stylesheet" href= ". /style/style.css "type=" Text/css ">
<link rel= "stylesheet" href= ". /style/onlineinformation.css "type=" Text/css ">
<script language= "Javascript" src= ". /script/xmlcode.js "></script>
<script language= "Javascript" src= ". /script/xmlhttp.js "></script>
<script language= "Javascript" src= ". /script/pace.js "></script>
<script language=javascript>
<!--
Window.focus ()
var Cursor = window.opener//upper-level window object
Cursor.parent.document.body.onunload = close//home closed, this window is closed
var text
var name

function Close ()
{
Window.close ()
}

function Init ()
{
document.all["Name"].focus ()
}

function Formsubmit ()
{
Text = document.all["text"].value
Name = document.all["Name"].value
if (Pace (name))
{
Alert ("sorry.\b the name of the recipient cannot be empty")
document.all["Name"].focus ()
document.all["Name"].select ()
}
Else
{
if (Pace (text))
{
Alert ("sorry.\b The information you want to send cannot be empty")
document.all["text"].focus ()
document.all["text"].select ()
}
Else
{
Hidden.style.zIndex = 5
Check ("< rural doll production-must be boutique ><NAME>" + code (NAME) + "</NAME><BODY>" + code (Text) + "</BODY> </Rural Doll Production-must be Fine > "," createinformation.asp ")
}
}
}


function Check (missyou)
{
if (missyou = = False)
{
Alert ("sorry.\b cannot find the online member." The message could not be sent. Please check the name you have filled in ")
Y (False)
}
Else
{
Switch (parseint (missyou))
{
Case 1:
Alert ("sorry.\b cannot find the online member." The message could not be sent. Please check the name you have filled in ")
Y (False)
Break
Case 2:
Alert ("sorry.\b message sent failed. Please try again")
Y (False)
Break
Case 3:
Y (True)
Break
Default
Alert ("Sorry. The message failed to send. Please try again.
&nb



Related Article

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.