Method One:1. Submit form,action submission data, but the page does not jump, you can use the IFrame simple methodDOCTYPE HTML Public "-//W3C//DTD XHTML 1.0 transitional//en" "http://www.w3.org/TR/xhtml1/DTD/ Xhtml1-transitional.dtd ">HTMLxmlns= "http://www.w3.org/1999/xhtml">Head>Metahttp-equiv= "Content-type"content= "text/html; charset=utf-8"/>title>Form Submi
Attribute value descriptionOnchange Script: Execute the script when the element changesOnsubmit Script: Execute the script when the form is submittedOnreset Script: Execute the script when the form is reset.Onselect Script: Execute the script when the element is selectedOnblur script executes the script when the element loses focusOnfocus Script: Execute the script when the element gets the focusThe
Attribute value description
Onchange Script: Execute the script when the element changes
Onsubmit Script: Execute the script when the form is submitted
Onreset Script: Execute the script when the form is reset.
Onselect Script: Execute the script when the element is selected
Onblur script executes the script when the element loses focus
Onfocus Script: Execute the script when the element gets the focu
There are two ways to submit your form: Get and post1. GetData is submitted in clear text through a URL, and the data is visible in the URL. Submit data can not exceed 2kb, security is lower, but the efficiency is higher than post. It is suitable to submit data with less security, such as search, query and other functions.2. PostThe information submitted by users is encapsulated in the HTML header, which is suitable for user information with high data
We all know that to allow form to submit files, you need to specify Enctype=multipart/form-data on the form, so that you can upload files, about enctype article a lot, no longer explain.
The problem is that the html.beginform () of MVC is used to output the form code, and the default is not to join the enctype,
"One" BOM Browser object model 1. Window1.1 The internal height of the Window.innerheight browser window, window.innerwidth the internal width of the browser window (for Internet Explorer, Chrome, Firefox, Opera, and Safari; Without reducing the
Although I have mentioned the CSS menu creation method on my website and articles, many beginners still do not know how to implement it and how it works, I want to write a detailed tutorial which will be helpful to you.
Although I have mentioned the
A simple comment is written. For more information, see the es5 manual.
// Simulate es5 array. Prototype. foreachIf (! Array. Prototype. foreach ){Array. Prototype. foreach = function (F, othis ){If (! F | f. constructor! = Function. Tostring ())
rolling ty studio │ uninterrupted news
Article List
CSS layout demonstration CSS layout by forestgan
2006-11-1
three columns adaptive width liquid layout │ three column liquid layouts
CSS compatibility of Internet
The Web Standard removes target = "_ blank". The new standard uses the rel = "external" attribute, including the values of next, previous, chapter, and section.Enter open in a new window But you need to configure it with the JS script:Function
The company's billing is not based on access logs. However, the original access logs are the most trusted resources,
It is often used to test various parameters, such as traffic.
Log format:
222.85.90.158--[01/SEP/2012: 00: 00: 00 +
Finally, we provide the appropriate code:Core code:
Copy codeThe Code is as follows: lastScrollY = 0;
Function heartBeat (){
Var diffY;
If (document.doc umentElement & document.doc umentElement. scrollTop)
DiffY = document.doc umentElement.
ArticleDirectory
CSS background
CSS text
CSS font
CSS background
CSS allows the application of solid colors as the background, and allows the use of background images to create quite complex effects. CSS is far above HTML.
ArticleDirectory
CSS list
CSS table
CSS outlines
CSS list
The CSS list attribute allows you to place or change the list item flag, or use an image as the list item flag.
List-style: Set all list attributes in a declaration.
JavaScript 1.8 is intended to be used as part of Gecko 1.9 (to be merged in Firefox 3. Compared with JavaScript 1.7, this is only a small update, but it does contain traces of evolution to ECMAScript 4/JavaScript 2. JavaScript 1.8 will also include
This is an example of XML manipulation using the Java common-access DOM, which contains basic operations for querying, adding, modifying, deleting, and saving. A more complete description of an XML's entire operating process. Reference and learning
1. Main configuration of Ext. Form. checkboxgroup
Configuration item
Type
Description
Allowblank
Boolean
Set whether at least one item must be selected. "True" indicates that at least one item can be selected. "false" indicates that at least one item cannot be selected. The default value is "true.
Blanktext
String
Error message when allowblank is set to false and no check box is selected
Form form Submit Chinese garbled problem, DWZ modelandview jump form has Chinese parameter garbled
method= ' get ' Chinese parameter is garbled because it is placed after the URL
Method= ' Post ' Chinese is not garbled
DWZ also have this similar problem in using Modelandview to jump is not defined type, this time will go get, resulting in a modelandview jump
() {top. topmethod (); /* Method for calling the parent htmldoc */ } Script > Head > Body > P > Left P > Span Onclick = "Leftcalltop ()" > Top Method Span > Div ID = "Leftdiv" > Left Div Div > Body > Html >
3. Call top. getelementbyid. ("right"). contentWindow. function () on a level frame, that is, left --> top --> right
The left frame method calls the right frame:
4. B .htmto use a.htm
Window.parent.doc ument
HtmlName= "A.
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.