04878nam 2200661 a 450 991045959060332120200520144314.01-62198-897-X1-282-94774-597866129477421-84951-275-2(CKB)2670000000066461(EBL)951141(OCoLC)797915912(SSID)ssj0000472089(PQKBManifestationID)12222375(PQKBTitleCode)TC0000472089(PQKBWorkID)10433558(PQKB)10072291(MiAaPQ)EBC951141(PPN)228010330(Au-PeEL)EBL951141(CaPaEBR)ebr10439355(CaONFJC)MIL294774(EXLCZ)99267000000006646120110125d2010 uy 0engur|n|---|||||txtccrPHP jQuery cookbook[electronic resource] over 60 simple but highly effective recipes to create interactive web applications using PHP with jQuery /Vijay JoshiBirmingham, U.K. Packt Open Source20101 online resource (332 p.)Includes index.1-84951-274-4 Cover; 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 jQueryCreating 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 extensionModifying 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 validationStrengthening 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-overCreating 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 jQueryIntroductionOver 60 simple but highly effective recipes to create interactive web applications using PHP with jQueryElectronic commerceComputer programsPHP (Computer program language)Electronic books.Electronic commerceComputer programs.PHP (Computer program language)006.7006.76Joshi Vijay950993MiAaPQMiAaPQMiAaPQBOOK9910459590603321PHP jQuery cookbook2149964UNINA