02.06.2013 Views

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

Pro PHP and jQuery by Jason Lengstorf.pdf - Computer Science ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

364<br />

■ INDEX<br />

class.calendar.inc.php file, 127, 333<br />

class.db_connect.inc.php file, 125–126<br />

.clearQueue( ) method, 355–356<br />

click event, 240, 245, 263, 290<br />

click h<strong>and</strong>ler, 257, 297, 339<br />

client-side date validation, 338–343<br />

Close button, 252–254, 262, 294<br />

.closest( ) method, 30<br />

config folder, 121, 131<br />

configurable options, allowing, 346–347<br />

confirm_delete attribute, 301<br />

Confirmation button, 192<br />

confirmation, creating method to require, 192<br />

confirmation form, 195<br />

confirmDelete( ) method, 192, 195–196<br />

confirmdelete.php file, 121, 191, 195–196, 229<br />

Console panel, Firebug dialog box, 11<br />

Console tab, Firebug dialog box, 11<br />

constructors, events calendar<br />

checking database connection, 130–132<br />

creating index file, 133<br />

creating initialization file, 132–133<br />

overview, 129<br />

setting properties, 134–136<br />

:contains( ) method, 17–18<br />

content div, 158, 164<br />

content filters, in <strong>jQuery</strong> for DOM elements<br />

elements that are empty, 18<br />

elements that are parents, 18<br />

elements that contain certain element, 18<br />

elements that contain certain text, 17<br />

.contents( ) method, 35<br />

Content-Type meta tag, 158<br />

core folder, 121, 132<br />

Create a New Event button, 270, 273<br />

credentials, file to store, 131–132<br />

CSRF (cross-site request forgeries), 169<br />

CSS (Cascading Style Sheets), <strong>jQuery</strong> methods<br />

for<br />

.addClass( ) method, 59<br />

.attr( ) method, 53–54<br />

.css( ) method, 55<br />

.data( ) method, 58–59<br />

.hasClass( ) method, 60<br />

.height( ) method, 61<br />

.html( ) method, 56–57<br />

.innerHeight( ) method, 62<br />

.innerWidth( ) method, 62<br />

.outerHeight( ) method, 62<br />

.outerWidth( ) method, 62<br />

.removeAttr( ) method, 54<br />

.removeClass( ) method, 59<br />

.text( ) method, 56–57<br />

.toggleClass( ) method, 59–60<br />

.val( ) method, 57–58<br />

.width( ) method, 61<br />

css folder, 121, 155, 172, 238<br />

.css( ) method, 55, 356<br />

custom aliases, allowing in <strong>jQuery</strong> plugins, 345–<br />

346<br />

■ D<br />

.data( ) method, 58–59<br />

data variable, 242, 245, 284<br />

database<br />

checking connection to<br />

file to store credentials, 131–132<br />

overview, 130<br />

for events calendar<br />

connecting to with class, 125–126<br />

creating, 124–125<br />

structure for, 119

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!