Wednesday, October 23, 2013

Training Center-Computer Technology


Training Center-Computer Technology> WEB - GRAPHIC - PROGRAMMING> HTML5, CSS3 & jQuery> jQuery COURSE jQuery - jQuery Programming - Getting input error (Validate Form) Remember Me? Password Members List Calendar Mark Forums Read
GRAPHICS TECHNOLOGY SESSION VMware virtualization - THE NATURAL SCIENCES University of virtualization technology VMWARE vSphere 5.1 platform STUDY GUIDES AND PERFORMANCE CERTIFICATES VCA [FREE] Please type in relevant keywords related to your issue Center under the frame, before a new question.
Getting input error (Validate Form) Getting error input is an important part of a website highly interactive users. Previously most want to catch error when inputting often write 1 small script, now more professional I would like to introduce a jquery package is available to developers for this. FULL DOWNLOAD | | DEMO DOWNLOAD | | DEMO package jquery in writing this there are many types available catch for many cases, and particularly supports more than 10 languages, including Vietnamese. Here I just instructions on how to catch the common data entry errors, see the demo. Preparation: Down demo package to your computer. Copy 2 js and css folder to the folder containing the website. Step 1: In the head tag of the page to add css and js library click with the following click code
<Link rel = "stylesheet" href = "css / validationEngine.jquery.css" type = "text / css" /> <link rel = "stylesheet" href = "css / template.css" type = "text / css" /> <script src = "js/jquery-1.8.2.min.js" type = "text / javascript"> </ script> <script src = "js / jquery.validationEngine-vi.js" type = "text / javascript "charset =" utf-8 "> </ script> <script type="text/javascript" src="js/jquery.validationEngine.js" charset="utf-8"> </ script> Step 2: Determine the form we want to capture it well in head tag, following the line of the library, we paste the following code
jQuery (document). ready (function () {/ / binds form submission and fields to the validation engine jQuery ("# click formID"). ValidationEngine ();}); # formID: Replace the id of your form here Step 3: Set the type of start sorry for the input data, for example: Do not empty the account, we add code class = "validate [required] text-input", as follows
<Input value = "" class = "validate [required] text-input" type = "text" name = "req" id = "req" /> Listing 1 type of catch validate [required]: validate required import [required, custom [url]]: enter the url format eg, phone, email ... validate [required, equals [password]]: Comparison password validate [required, funcCall [checkHELLO]]: using function validate eligibility regulations [condRequired [dep1]]: 1 conditions depending on other fields validate [required, minsize [6]]: validate minimum number of characters [MAXSIZE [6]]: maximum number of characters validate [required, custom [integer], min [-5]]: minimum value of validate [required, custom [ integer], max [50]]: click maximum value validate [custom [date], past [2010/01/01]]: validate past day [custom [date], future [NOW]]: __________________ on future Kim Hung Duong Technical Support - Tech Phone: 0909174880 Skype: kimhung_duong Yahoo: kimhung_duong@yahoo.com Gmail: kimhung120589@gmail.com Facebook: Keep https://www.facebook.com/fred.duong.1 balance everything and do everything reasonable
hongkong View Public Profile Send a private message to Go hongkong hongkong website Find all posts by hongkong
Jump Panel Private Messages Subscriptions Who's Online Search Forums Forums Home NOTICE - NEWS - RECRUITMENT Announcements and Rules NEWS - EVENTS MOST STORAGE TECHNOLOGY LAB Mini Tutorials EMPLOYMENT Employment Seekers The MICROSOFT PRIVATE ROOM AREA Management Client Server Network Operating System Windows Server 2008 Active Directory Infrastructure Mail Server Firewall Implementing Windows Scripting Security Sharepoint Server Problems Other CISCO - LINUX - CEH - Virtualization - DRAYTEK TECHNOLOGY [CISCO] General discussion click [LINUX] Discussion Virtualization CEH CEH Discussion Private Box [DRAYTEK VIGOR] Technical Support Wireless click Solution WEB - GRAPHIC - PROGRAMMING Web Development

No comments:

Post a Comment