Your SlideShare is downloading. ×
0
jQuery and Forms



Tuesday, November 17, 2009
.val()
                               Gets the input of the first matched element
                                         ...
.focus()
                     Bind a function to the focus event of each matched
                     element. The focus e...
.blur()
                     Bind a function to the blur event of each matched
                    element. The blur event...
.change()
       Binds a function to the change event of each matched element.
        The change event fires when a contro...
.submit()
                                      Bind an event to the submit
                                    event of e...
Assignment 12
                             http://teaching.johnnunemaker.com/capp-30550/sessions/jquery-forms/




Tuesday...
Upcoming SlideShare
Loading in...5
×

jQuery and Forms

1,161

Published on

Some simple examples for how to work with forms using jQuery.

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
1,161
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
21
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Transcript of "jQuery and Forms"

  1. 1. jQuery and Forms Tuesday, November 17, 2009
  2. 2. .val() Gets the input of the first matched element http://docs.jquery.com/Attributes/val http://teaching.johnnunemaker.com/capp-30550/examples/val-method/ Tuesday, November 17, 2009
  3. 3. .focus() Bind a function to the focus event of each matched element. The focus event is fired when an element receives focus from the mouse or by pressing tab. http://docs.jquery.com/Events/focus#fn http://teaching.johnnunemaker.com/capp-30550/examples/focus-a-field/ http://teaching.johnnunemaker.com/capp-30550/examples/focus-event/ Tuesday, November 17, 2009
  4. 4. .blur() Bind a function to the blur event of each matched element. The blur event fires when an element loses focus either via the mouse or by pressing tab. http://docs.jquery.com/Events/blur#fn http://teaching.johnnunemaker.com/capp-30550/examples/blur-event/ http://teaching.johnnunemaker.com/capp-30550/examples/blur-validation/ Tuesday, November 17, 2009
  5. 5. .change() Binds a function to the change event of each matched element. The change event fires when a control loses the input focus and its value has been modified since gaining focus. http://docs.jquery.com/Events/change#fn http://teaching.johnnunemaker.com/capp-30550/examples/change-event/ Tuesday, November 17, 2009
  6. 6. .submit() Bind an event to the submit event of each matched element. http://docs.jquery.com/Events/submit#fn http://teaching.johnnunemaker.com/capp-30550/examples/submit-event/ Tuesday, November 17, 2009
  7. 7. Assignment 12 http://teaching.johnnunemaker.com/capp-30550/sessions/jquery-forms/ Tuesday, November 17, 2009
  1. A particular slide catching your eye?

    Clipping is a handy way to collect important slides you want to go back to later.

×