Sunday, September 27, 2015

jQuery attribute value selectors

Suggested Videos
Part 5 - jQuery Element Selector
Part 6 - jQuery class selector
Part 7 - jQuery attribute selector



In this video we will discuss 
Attribute Equals Selector [name="value"]
Attribute Not Equal Selector [name!="value"]
Attribute Contains Selector [name*="value"]
Attribute Contains Word Selector [name~="value"]
Attribute Contains Prefix Selector [name|="value"]
Attribute Starts With Selector [name^="value"]
Attribute Ends With Selector [name$="value"]



This is continuation to Part 7, please watch Part 7 before proceeding.

Selects all elements that have title attribute value equal to div1Title
$('[title="div1Title"]'


Selects all elements that have title attribute value not equal to div1Title
$('[title!="div1Title"]'

Selects all elements that have title attribute value containing the given substring - Title
$('[title*="Title"]'

Selects all elements that have title attribute value containing the given word - mySpan, delimited by spaces
$('[title~="mySpan"]')

Selects all elements that have title attribute value equal to myTitle or starting with myTitle followed by a hyphen (-)
$('[title|="myTitle"]'

Selects all elements that have title attribute value starting with div
$('[title^="div"]')

Selects all elements that have title attribute value ending with Heading
$('[title$="Heading"]')

Selects all elements that have title attribute value equal to div1Title and sets 5px solid red border
<html>

If you are searching life partner. your searching end with kpmarriage.com. now kpmarriage.com offer free matrimonial website which offer free message, free chat, free view contact information. so register here : kpmarriage.com- Free matrimonial website

Related Posts:

  • WCF Features-Part 2 Please read my previous article  WCF Service-Part 1 WCF supports the following features: ·  Service Orientation … Read More
  • wcf demo appication-part 4 Please read my previous article :   WCF Service-Part 1  WCF Features-Part 2  ABC of WCF-Part 3 Let's make a WCF applicati… Read More
  • ABC of WCF-Part 3 Please read my previous article :   WCF Service-Part 1  WCF Features-Part 2 ABC of WCF ABC stands for Addr… Read More
  • Fwd: WCF Introduction and Contracts IntroductionThis article demonstrates how to create a WCF service application. This article also covers basic information of all the contracts … Read More
  • WCF Service-Part 1  WCF Service Windows Communication Foundation (WCF)  is a framework for building service-oriented applications. Most of WCF functionality… Read More

0 comments:

Post a Comment