Web Development with jQuery®

(Elliott) #1

629


contenteditable attribute – Datepicker plugin

bindex.indd 02/20/2015 Page 629


setting for multiple items, 106–108
inserting, beside elements, 111–117
methods
after( ), 103, 111–112
append( ), 103, 108–111
before( ), 103, 111–112
clone( ), 130 –133
empty( ), 126–129
html( ), 103, 104 –106
insertAfter( ), 103, 112 –117
insertBefore( ), 103, 112 –117
prepend( ), 103, 108–111
remove( ), 126–129
replaceAll( ), 123–126
replaceWith( ), 123–126
text( ), 103, 104 –106
unwrap( ), 103, 121–123
wrap( ), 103, 117–119
wrapAll( ), 103, 119
wrapInner( ), 103, 119–121
prepending, 108–111
removing, 108, 126–129
text
setting, 104 –106
setting for multiple items, 106–108
wrapping
element collection, 119
element contents, 119–121
elements, individual, 117–119
unwrapping elements, 121–123

contenteditable attribute, 467–469


context, selectors, 494– 495


context menus, plugin, 250–265


contextual clicks, 166


control structures, 20–22


switch, 23


conventions, 10


CSS (cascading style sheets), 10–15
JavaScript, 15–25

One True Brace, 21
markup, 10–15
namespacing, 11
variable naming, 24
CSS (cascading style sheets), 10
class names, 11–12
conventions, 10–15
dimensions, 165–172
effi ciency, 13–15
id names, 11–12
methods
class names, 543–544
height/width, 544–545
jQuery, 545
positioning, 544
scrolling, 545
outerHeight( ) method, 165, 171–172
outerWidth( ) method, 165, 171–172
properties, 163 –164
Sizzle and, 4
type selectors, 12
css( ) method, 163 –164
cssQuery package, 28
curly braces, 22–23

D


data transport, AJAX server requests,
180 –181
datepicker( ) method, 384, 392–395
Datepicker plugin, 383–385
customizing, 385–392
date format, 395
date range, 392–395
format options, 597–598
methods, 589–590
options, 590 –597
text localization, 395–396

http://www.it-ebooks.info

Free download pdf