jQuery IP250 Session Two

jQueryLogoBanner
Follow up question from Andy
When do you use

$("input[name='textOrHTML']")

Next session discussion:

.toggle()
Review this documented version of .toggle() and pay particular attention to how .is(“:visible”) reports true in all cases, because of the timing in .toggle()

See a demonstration of the timing issue

Advertisements

One thought on “jQuery IP250 Session Two

  1. Andy says:

    I figured out the $(“input[name=’fred’]”)…

    the […] are just the CSS syntax for identifying an attribute, so the code above means “Find any input tag with an attribute called ‘fred'”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s