troubleshooting Question

Definition List get id

Avatar of SteveW109
SteveW109Flag for United States of America asked on
HTMLJavaScript
8 Comments1 Solution17 ViewsLast Modified:
Definition List

 <dl>
    <dt>SKU</dt>
    <dd id="product_sku"></dd>
 </dl>

How can I get the value of id for id="product_sku" during runtime ?  I'd like to get the value and then execute other code depending on the value.  It seems like it should be easy to do, but have not been able to get the value.  

ASKER CERTIFIED SOLUTION
Join our community to see this answer!
Unlock 1 Answer and 8 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 8 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros