About
Pricing
Community
Teams
Start Free Trial
Log in
Tom
asked on
8/12/2016
Get value of id using jQuery
I'm attempting to create a GreaseMonkey script that will return the value of id in the following html:
<div class="foo">
<div class="bar" id="random1234"></div>
</div>
Select all
Open in new window
In the above example random1234 would be returned.
JavaScript
jQuery
HTML
2
1
Last Comment
Tom
8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Mukesh Yadav
8/12/2016
THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Tom
8/12/2016
ASKER
Excellent!
Your help has saved me hundreds of hours of internet surfing.
fblack61