PHP jQuery Cookbook doc

332 548 1
PHP jQuery Cookbook doc

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

[...]... removing tabs on the fly Chapter 8, Data Binding with PHP and jQuery, explains, in detail, how a database can be used along with PHP and jQuery Examples included in this chapter will explain how to fetch data from the database and use it in web forms Chapter 9, Enhancing your Site with PHP and jQuery, teaches you some advanced techniques of PHP and jQuery It will show how to overcome browser restrictions... Preface Chapter 3, Working with XML Documents, explains working with XML files in PHP as well as jQuery Recipes will describe how to read, write, and modify XMLs using DOM and SimpleXML extensions of PHP Parsing XML with jQuery is also discussed Chapter 4, Working with JSON, discusses JSON in detail You will be shown how to read and write JSON data in PHP, and also explore jQuery' s inbuilt capabilities of... a new meaning to web applications PHP on the server side and jQuery on the client side (browser) are a killer combination for developing interactive web applications PHP is the leading language of choice among web developers and jQuery is now used on more than one-third of the top 1000 sites on the internet and is the most widely-used library One thing that PHP and jQuery have in common is that they... Chapter 1, Handling Events with jQuery, helps you understand jQuery' s cross-browser event handling methods You will learn to work with keyboard and mouse events Advance event handling topics, such as dragging and keyboard shortcuts are also discussed Chapter 2, Combining PHP and jQuery, lists several ways of sending AJAX requests using jQuery and also describes how PHP responds to such requests This... book is for This book is for PHP and jQuery developers who just know the basics of these two and want to use PHP and jQuery together to create rich internet applications It provides a large number of examples in each chapter that will take you from being a basic developer to a pro by giving step-by-step instructions for each task in developing web applications using PHP and jQuery Conventions In this... auto-suggest functionality to a textbox Creating a tag cloud Introduction Sending cross-domain requests using server proxy Making cross-domain requests with jQuery Creating an endless scrolling page Creating a jQuery plugin Displaying RSS feeds with jQuery and PHP Introduction Inspecting elements Editing HTML and CSS Debugging JavaScript 229 230 236 241 247 252 258 266 273 274 280 286 291 296 301 303 305 307... Modifying an XML using DOM extension Parsing XML with jQuery 83 88 92 94 98 Chapter 4: Working with JSON 103 Chapter 5: Working with Forms 119 Chapter 6: Adding Visual Effects to Forms 159 Chapter 7: Creating Cool Navigation Menus 193 Introduction Creating JSON in PHP Reading JSON in PHP Catching JSON parsing errors Accessing data from a JSON in jQuery Introduction Adding input fields dynamically in... (or another web server), PHP (version 5.0 or above), and MySQL installed on your system to be able to run the examples in this book You can install them all at once using software such as WampServer or you can install them separately jQuery (version 1.3.2 or higher) will also be required In terms of technical proficiency, this book assumes that you have working knowledge of PHP, jQuery, HTML, and CSS... 134 138 143 149 154 159 160 167 172 177 180 184 193 194 198 200 206 211 216 221 Download from Wow! eBook Table of Contents Chapter 8: Data Binding with PHP and jQuery 229 Chapter 9: Enhancing your Site with PHP and jQuery 273 Appendix: Firebug 301 Index 311 Introduction Fetching data from a database and displaying it in a table format Collecting data from a form and saving to a database... 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 Strengthening validation: validating again in PHP Creating a voting system Allowing HTML inside text areas and limiting HTML tags that can be . y0 w0 h0" alt="" PHP jQuery Cookbook Over 60 simple but highly effective recipes to create interactive web applications using PHP with jQuery Vijay Joshi . 31 Dragging elements on a page 36 Chapter 2: Combining PHP and jQuery 41 Introduction 41 Fetching data from PHP using jQuery 43 Creating a query string automatically

Ngày đăng: 06/03/2014, 00:20

Từ khóa liên quan

Mục lục

  • 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 jQuery

Tài liệu cùng người dùng

Tài liệu liên quan