Views
5 years ago

jQuery 1.3 with PHP

jQuery 1.3 with PHP

jQuery 1.3 with

jQuery 1.3 with PHP Enhance your PHP applications by increasing their responsiveness through jQuery and its plugins Kae Verens BIRMINGHAM - MUMBAI

  • Page 2 and 3: jQuery 1.3 with PHP Copyright © 20
  • Page 4 and 5: About the Author Kae Verens lives i
  • Page 7 and 8: Table of Contents Preface 1 Chapter
  • Page 9 and 10: [ iii ] Table of Contents Auto-sugg
  • Page 11 and 12: [ v ] Table of Contents Chapter 8:
  • Page 13 and 14: Preface Creating PHP applications t
  • Page 15 and 16: What you need for this book To try
  • Page 17: [ 5 ] Preface Errata Although we ha
  • Page 20 and 21: Introduction and Overview With this
  • Page 22 and 23: Introduction and Overview What is j
  • Page 24 and 25: Introduction and Overview I know wh
  • Page 26 and 27: Introduction and Overview In JavaSc
  • Page 28 and 29: Introduction and Overview Projects
  • Page 30 and 31: Introduction and Overview Drupal Dr
  • Page 32 and 33: Quick Tricks This allows your syste
  • Page 34 and 35: Quick Tricks Client-side code Here'
  • Page 36 and 37: Quick Tricks So, to paraphrase the
  • Page 38 and 39: Quick Tricks 'Newport', 'St David\'
  • Page 40 and 41: Quick Tricks Cora Cuddlesby [x] D
  • Page 42 and 43: Quick Tricks $('#delete_link_'+data
  • Page 44 and 45: Quick Tricks The example I've writt
  • Page 46 and 47: Quick Tricks On the server side, it
  • Page 48 and 49: Quick Tricks The server returns the
  • Page 50 and 51: Quick Tricks Here's the jQuery scri
  • Page 52 and 53:

    Quick Tricks This example shows the

  • Page 55 and 56:

    Tabs and Accordions A tab is a way

  • Page 57 and 58:

    In the screenshot here, you can see

  • Page 59 and 60:

    Note the text used in the example:

  • Page 61 and 62:

    Note that a lot of DOM inspector to

  • Page 63 and 64:

    Mauris eleifend est et turpis. Duis

  • Page 65 and 66:

    [ 53 ] Chapter 3 Server-side manage

  • Page 67 and 68:

    [ 55 ] Chapter 3 This code cr

  • Page 69 and 70:

    You could do the conversion at the

  • Page 71 and 72:

    [ 59 ] Chapter 3 Just the conversio

  • Page 73 and 74:

    [ 61 ] Chapter 3 Now, re-create you

  • Page 75 and 76:

    [ 63 ] Chapter 3 The double curly b

  • Page 77 and 78:

    [ 65 ] Chapter 3 This example

  • Page 79 and 80:

    Client-side code Place the followin

  • Page 81 and 82:

    [ 69 ] Chapter 3 Server-side code O

  • Page 83:

    [ 71 ] Chapter 3 In this example, w

  • Page 86 and 87:

    Forms and Form Validation To be ver

  • Page 88 and 89:

    Forms and Form Validation } } }); }

  • Page 90 and 91:

    Forms and Form Validation You can a

  • Page 92 and 93:

    Forms and Form Validation } // retu

  • Page 94 and 95:

    Forms and Form Validation Client-si

  • Page 96 and 97:

    Forms and Form Validation An intere

  • Page 98 and 99:

    Forms and Form Validation function

  • Page 100 and 101:

    Forms and Form Validation In Chapte

  • Page 102 and 103:

    Forms and Form Validation Cities ar

  • Page 105 and 106:

    File Management File management can

  • Page 107 and 108:

    [ 95 ] Chapter 5 Choosing a directo

  • Page 109 and 110:

    [ 97 ] Chapter 5 What will happen h

  • Page 111 and 112:

    [ 99 ] Chapter 5 After that, the re

  • Page 113 and 114:

    And here is the fm_changeOptions fu

  • Page 115 and 116:

    Now, the rename directory option lo

  • Page 117 and 118:

    [ 105 ] Chapter 5 Each action has i

  • Page 119 and 120:

    And in the fm_runAction function, a

  • Page 121 and 122:

    if(preg_match('#(^|/)\.\./#',$f)) e

  • Page 123 and 124:

    } $('#selected_file_options').html(

  • Page 125 and 126:

    [ 113 ] Chapter 5 And in the "gener

  • Page 127 and 128:

    [ 115 ] Chapter 5 Note the ? at the

  • Page 129 and 130:

    } ') .css({'display':'none'}) .appe

  • Page 131 and 132:

    Calendars There are many reasons wh

  • Page 133 and 134:

    This is fairly straightforward. The

  • Page 135 and 136:

    } ').appendTo($('body')); $("#cale

  • Page 137 and 138:

    [ 125 ] Chapter 6 } if(isset($_REQU

  • Page 139 and 140:

    Server-side code On the server side

  • Page 141 and 142:

    [ 129 ] Chapter 6 Both the events a

  • Page 143 and 144:

    $(this).dialog('close'); $("#calend

  • Page 145 and 146:

    [ 133 ] Chapter 6 Client-side code

  • Page 147 and 148:

    [ 135 ] Chapter 6 Now Bob calls up

  • Page 149 and 150:

    +'' +'body text' +'' event descript

  • Page 151 and 152:

    Great! Now, we just need to send th

  • Page 153 and 154:

    [ 141 ] Chapter 6 Deleting recurrin

  • Page 155:

    if(isset($_SESSION['calendar'][$i])

  • Page 158 and 159:

    Image Manipulation After that is ro

  • Page 160 and 161:

    Image Manipulation The images_libs.

  • Page 162 and 163:

    Image Manipulation }; images_showIm

  • Page 164 and 165:

    Image Manipulation GD is very usefu

  • Page 166 and 167:

    Image Manipulation } $(html) .chang

  • Page 168 and 169:

    Image Manipulation The solution I'd

  • Page 170 and 171:

    Image Manipulation } $mime='image/g

  • Page 172 and 173:

    Image Manipulation Client-side code

  • Page 174 and 175:

    Image Manipulation Server-side code

  • Page 176 and 177:

    Image Manipulation } $('#image_url'

  • Page 178 and 179:

    Image Manipulation Server side OK.

  • Page 181 and 182:

    Drag and Drop Drag and drop is a ve

  • Page 183 and 184:

    Create a file named sorting-lists.j

  • Page 185 and 186:

    We are using ord in the inline func

  • Page 187 and 188:

    [ 175 ] Chapter 8 Sorting trees In

  • Page 189 and 190:

    [ 177 ] Chapter 8 We have a new par

  • Page 191 and 192:

    Now, reloading the page looks like

  • Page 193 and 194:

    } var submenu=$('> ul > li',this);

  • Page 195 and 196:

    Client-side code So first off, let'

  • Page 197:

    This is immediately usable: [ 185 ]

  • Page 200 and 201:

    Data Tables Setting up DataTables S

  • Page 202 and 203:

    Data Tables Note that the rows are

  • Page 204 and 205:

    Data Tables The city list I found h

  • Page 206 and 207:

    Data Tables $q=mysql_query($sql); w

  • Page 208 and 209:

    Data Tables While modern databases

  • Page 210 and 211:

    Data Tables Client-side code In tab

  • Page 212 and 213:

    Data Tables Sorting by column In th

  • Page 214 and 215:

    Data Tables $stext=addslashes($_REQ

  • Page 216 and 217:

    Data Tables Summary In this chapter

  • Page 218 and 219:

    Optimization Optimizing the page lo

  • Page 220 and 221:

    Optimization echo file_get_contents

  • Page 222 and 223:

    Optimization Taking the code from C

  • Page 224 and 225:

    Optimization $d+=$file->getMTime();

  • Page 226 and 227:

    Optimization Notice the 1.3.2 and 1

  • Page 228 and 229:

    Optimization Use $.load for non-vis

  • Page 230 and 231:

    Optimization In this example, only

  • Page 232 and 233:

    Optimization As a programmer, it's

  • Page 234 and 235:

    Optimization A minifier is a script

  • Page 237 and 238:

    Symbols $(‘#delete_link_’+data.

  • Page 239 and 240:

    F resizing, on client side 128 resi

  • Page 241 and 242:

    lists, connecting client-side code

  • Page 245 and 246:

    Thank you for buying jQuery 1.3 wit

  • Page 247:

    Learning jQuery 1.3 ISBN: 978-1-847

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...
jQuery in Action, Second Edition
jQuery in Action - Manning Publications
jQuery - PUCIT | ACM Student Chapter
Drupal 6 JavaScript and jQuery - Ebook-Cours.com
Unobtrusive JavaScript with jQuery - Simon Willison's Weblog
PHP jQuery Pro - Monroy Asesores
AJAX And PHP - Building Responsive Web Applications
PDF of jQuery Essentials - Marc Grabanski
Professional PHP Programming
Difference between AngularJS and jQuery
PHP and MySQL for Dynamic Web Sites
The DOM scripting toolkit: jQuery - remy sharp's b:log
Professional Microsoft AJAX and jQuery - ASP.NET Resources
Thank you for your purchase of ShoutCloud, the most flexible PHP ...
jQuery Part II - Custom Training Courses - Coreservlets.com
jPoint: A jQuery Based Library for creating Web 2.0 Apps in SharePoint
Master Mobile Web Apps with jQuery Mobile (Third Edition)
jQuery 1.4 Animation Techniques - Index of