LEADER 04878nam 2200661 a 450 001 9910459590603321 005 20200520144314.0 010 $a1-62198-897-X 010 $a1-282-94774-5 010 $a9786612947742 010 $a1-84951-275-2 035 $a(CKB)2670000000066461 035 $a(EBL)951141 035 $a(OCoLC)797915912 035 $a(SSID)ssj0000472089 035 $a(PQKBManifestationID)12222375 035 $a(PQKBTitleCode)TC0000472089 035 $a(PQKBWorkID)10433558 035 $a(PQKB)10072291 035 $a(MiAaPQ)EBC951141 035 $a(PPN)228010330 035 $a(Au-PeEL)EBL951141 035 $a(CaPaEBR)ebr10439355 035 $a(CaONFJC)MIL294774 035 $a(EXLCZ)992670000000066461 100 $a20110125d2010 uy 0 101 0 $aeng 135 $aur|n|---||||| 181 $ctxt 182 $cc 183 $acr 200 10$aPHP jQuery cookbook$b[electronic resource] $eover 60 simple but highly effective recipes to create interactive web applications using PHP with jQuery /$fVijay Joshi 210 $aBirmingham, U.K. $cPackt Open Source$d2010 215 $a1 online resource (332 p.) 300 $aIncludes index. 311 $a1-84951-274-4 327 $aCover; Copyright; Credits; About the Author; About the Reviewers; Table of Contents; Preface; Chapter 1: Handling Events with jQuery; Introduction; Executing functions when page has loaded; Binding and unbinding elements; Adding events to elements that will be created later; Submitting a form with jQuery; Checking for missing images; Creating the select/unselect all checkboxes functionality; Capturing mouse events; Creating keyboard shortcuts; Displaying user selected text; Dragging elements on a page; Chapter 2: Combining PHP and jQuery; Introduction; Fetching data from PHP using jQuery 327 $aCreating a query string automatically for all form elementsDetecting an AJAX request in PHP; Sending data to PHP; Aborting AJAX requests; Creating an empty page and loading it in parts; Handling errors in AJAX requests; Preventing browser from caching AJAX requests; Loading JavaScript on demand to reduce page load time; Chapter 3: Working with XML documents; Introduction; Loading XML from files and strings using SimpleXML; Accessing elements and attributes using SimpleXML; Searching elements using XPath; Reading an XML using DOM extension; Creating an XML using DOM extension 327 $aModifying an XML using DOM extensionParsing XML with jQuery; Chapter 4: Working with JSON; Introduction; Creating JSON in PHP; Reading JSON in PHP; Catching JSON parsing errors; Accessing data from a JSON in jQuery; Chapter 5: Working with Forms; Introduction; Adding input fields dynamically in a form; Searching for user-inputted string in a page; Checking for empty fields using jQuery; Validating numbers using jQuery; Validating e-mail and website addresses using regular expressions; Displaying errors as user types: Performing live validation 327 $aStrengthening validation: validating again in PHPCreating a voting system; Allowing HTML inside text areas and limiting HTML tags that can be used; Chapter 6: Adding Visual Effects to Forms; Introduction; Creating a Tic-Tac-Toe game with effects; Informing a user while an AJAX request is in progress; Creating expandable and collapsible boxes (accordion); Fading an element after updating it; Floating box on demand; Updating items in a shopping cart; Chapter 7: Creating Cool Navigation Menus; Introduction; Creating a basic drop-down menu; Creating a menu that changes background on mouse-over 327 $aCreating an accordion style menuCreating a floating menu; Creating an interface for tabbed navigation; Adding more tabs; Creating a wizard using tabs; Chapter 8: Data Binding with PHP and jQuery; Introduction; Fetching data from a database and displaying it in a table format; Collecting data from a form and saving to a database; Filling chained combo boxes that depend upon each other; Checking username availability from database; Paginating data for large record sets; Adding auto-suggest functionality to a textbox; Creating a tag cloud; Chapter 9: Enhancing your site with PHP and jQuery 327 $aIntroduction 330 $aOver 60 simple but highly effective recipes to create interactive web applications using PHP with jQuery 606 $aElectronic commerce$xComputer programs 606 $aPHP (Computer program language) 608 $aElectronic books. 615 0$aElectronic commerce$xComputer programs. 615 0$aPHP (Computer program language) 676 $a006.7 676 $a006.76 700 $aJoshi$b Vijay$0950993 801 0$bMiAaPQ 801 1$bMiAaPQ 801 2$bMiAaPQ 906 $aBOOK 912 $a9910459590603321 996 $aPHP jQuery cookbook$92149964 997 $aUNINA