XML (Extensible Markup Language) is designed to improve the data description, storage and exchange. It is published by the W3C in 1998. Its conceptual design and hierarchy node to provide good support for data storage.
CSS (Cascading Style Sheets) is a style sheet language. It is used to separate the data layer and display layer in HTML. In other words CSS can provide a solution to be defined and looked at the web page format.
Get your grade
or your money back
using our Essay Writing Service!
The most important is the use of AJAX, use XHR (XMLHttpRequest) for playing Web server. XHR object created when a user will establish a connection to the Web server. XHR object occurs between the Web browser and Web server. XHR object will listen to the web server updates the Web page production part of the update. XHR then be adopted by the update to the web browser to update the Web page is part of it. This mechanism successfully reduced bandwidth usage and data processing. Widespread use of AJAX interactive Web pages, such as Google Maps, Google search suggested that the stock price quote.
XML (Extensible Markup Language) has been design, improve data description, storage and exchange. It published in 1998 by W3C. His concept nodes and the hierarchical structure also provide support for data storage.
CSS (Cascading Style Sheets) is a style sheet language. It is used to separate the data layer and layer display in HTML. to provide other word to define a CSS could be fixed method and format to search the site.
The most important use of AJAX is playing with XHR (XMLHttpRequest) to deal with web server. A XHR is made, user must connect to the Web server. The XHR object is passed between web browsers and web servers. The XHR object is heard on the Web Server "Update Web site update a part. Then XHR will be going in the update to the web browser on the part of the web site to renew. This mechanism successfully, the bandwidth decreases with and data processing. AJAX has been cited widely by using interactive Web page, such as Google Map, Google's proposal and the share price.
Pic 2.2 Create the variable
At the beginning, the script would built a lot of variables that we will use (Pic 2.2).
Pic 2.3 The validation function
Then, we shall use the procedure to do the validation (Pic 2.3). On line 19, the code was used to begin checking by if loop with the conditions. The code on line 22 alert user ââ‚¬Å“Please select date for meter reading!ââ‚¬Â, if user have not enter the day. From line 25 to 41, the function was setup to notice user whether they are input the incorrect year, day, month, also the meter reading.
Always on Time
Marked to Standard
Pic 2.4 The validation to the meter reading
Pic 2.5 These code will disable the submit button
Pic 2.6 The submit button