ID

1 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€86.25
List Price:  €120.76
You save:  €34.50
£74.58
List Price:  £104.42
You save:  £29.83
CA$137.31
List Price:  CA$192.24
You save:  CA$54.93
A$143.33
List Price:  A$200.67
You save:  A$57.33
S$127.87
List Price:  S$179.02
You save:  S$51.15
HK$782.75
List Price:  HK$1,095.89
You save:  HK$313.13
CHF 78.74
List Price:  CHF 110.24
You save:  CHF 31.50
NOK kr969.20
List Price:  NOK kr1,356.92
You save:  NOK kr387.72
DKK kr644.46
List Price:  DKK kr902.27
You save:  DKK kr257.81
NZ$171.36
List Price:  NZ$239.91
You save:  NZ$68.55
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,238.21
List Price:  ৳17,133.98
You save:  ৳4,895.77
₹9,376.11
List Price:  ₹13,126.93
You save:  ₹3,750.82
RM395.71
List Price:  RM554.01
You save:  RM158.30
₦137,296.26
List Price:  ₦192,220.26
You save:  ₦54,924
₨27,843.05
List Price:  ₨38,981.39
You save:  ₨11,138.33
฿3,249.77
List Price:  ฿4,549.81
You save:  ฿1,300.04
₺4,434.22
List Price:  ₺6,208.09
You save:  ₺1,773.86
B$522.90
List Price:  B$732.09
You save:  B$209.18
R1,698.53
List Price:  R2,378.02
You save:  R679.48
Лв168.75
List Price:  Лв236.26
You save:  Лв67.50
₩149,597.13
List Price:  ₩209,441.97
You save:  ₩59,844.83
₪311.85
List Price:  ₪436.60
You save:  ₪124.75
₱5,992.85
List Price:  ₱8,390.23
You save:  ₱2,397.38
¥15,867.70
List Price:  ¥22,215.41
You save:  ¥6,347.71
MX$1,783.55
List Price:  MX$2,497.04
You save:  MX$713.49
QR364.74
List Price:  QR510.65
You save:  QR145.91
P1,362.95
List Price:  P1,908.18
You save:  P545.23
KSh12,968.70
List Price:  KSh18,156.70
You save:  KSh5,188
E£5,264.16
List Price:  E£7,370.03
You save:  E£2,105.87
ብር15,573.46
List Price:  ብር21,803.46
You save:  ብር6,230
Kz91,203.97
List Price:  Kz127,689.21
You save:  Kz36,485.24
CLP$91,242.87
List Price:  CLP$127,743.67
You save:  CLP$36,500.80
CN¥689.08
List Price:  CN¥964.74
You save:  CN¥275.66
RD$5,918.90
List Price:  RD$8,286.69
You save:  RD$2,367.79
DA13,266.85
List Price:  DA18,574.12
You save:  DA5,307.27
FJ$222.20
List Price:  FJ$311.09
You save:  FJ$88.89
Q763.98
List Price:  Q1,069.61
You save:  Q305.62
GY$20,867.18
List Price:  GY$29,214.89
You save:  GY$8,347.71
ISK kr12,387.76
List Price:  ISK kr17,343.36
You save:  ISK kr4,955.60
DH932.29
List Price:  DH1,305.24
You save:  DH372.95
L1,748.69
List Price:  L2,448.24
You save:  L699.54
ден5,319.35
List Price:  ден7,447.31
You save:  ден2,127.95
MOP$804.75
List Price:  MOP$1,126.68
You save:  MOP$321.93
N$1,691.12
List Price:  N$2,367.64
You save:  N$676.51
C$3,670.61
List Price:  C$5,139.01
You save:  C$1,468.39
रु14,915.40
List Price:  रु20,882.16
You save:  रु5,966.75
S/346.98
List Price:  S/485.79
You save:  S/138.80
K430.66
List Price:  K602.95
You save:  K172.28
SAR375.35
List Price:  SAR525.50
You save:  SAR150.15
ZK1,932.48
List Price:  ZK2,705.56
You save:  ZK773.07
L439.64
List Price:  L615.52
You save:  L175.87
Kč2,112.10
List Price:  Kč2,957.03
You save:  Kč844.92
Ft33,622.40
List Price:  Ft47,072.71
You save:  Ft13,450.30
SEK kr932.34
List Price:  SEK kr1,305.32
You save:  SEK kr372.97
ARS$139,691.62
List Price:  ARS$195,573.86
You save:  ARS$55,882.24
Bs689.24
List Price:  Bs964.96
You save:  Bs275.72
COP$370,685.54
List Price:  COP$518,974.59
You save:  COP$148,289.04
₡46,519.22
List Price:  ₡65,128.77
You save:  ₡18,609.54
L2,640.03
List Price:  L3,696.14
You save:  L1,056.11
₲651,786.11
List Price:  ₲912,526.63
You save:  ₲260,740.52
$U4,075.18
List Price:  $U5,705.41
You save:  $U1,630.23
zł368.52
List Price:  zł515.94
You save:  zł147.42
Already have an account? Log In

Transcript

Hello, in this jQuery video, I am going to show you the id selector. The id selector, as the name suggests, allows you to select an element based on your something triggering it based on its, you know, particular ID. So this is just a sort of a very generic spaces, like in the code. This is a very generic selector that gets triggered whenever something happens to the div, or any div, which in this case is a click. We want something a bit more specific. So maybe just this particular div to trigger it, you could just do ID or the no call this ID hello world ip 20 hates W. hw two shorter.

So instead of doing div, we can just do hash and then the actual name of the rd so hw was it Can you click, save that? reload? Click second Dave, nothing happened. Click paragraph, not yet nothing happened. Click this page to view is clicked. So this will only ever get triggered when a click event occurs on any element doesn't actually have to be a dip.

So if I were to grab hold of this Correct, yeah. And reload. Now, the hello world doesn't trigger me with a second div before click the paragraph that triggers it. So with any element that has an ID of hate to be. So that's it for selecting elements based on ID. Thanks for watching.

If you have any questions, feel free to shoot me a message and on the 40 new in the next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.