Skip navigation

Inject the trigger elements

Inject the trigger elements: Creating Expandable Panels with jQuery
Inject the trigger elements: Creating Expandable Panels with jQuery

Now we need to run the function when the page is ready. This function will tell our script to wait until the browser has downloaded all of the HTML before the script is executed. Once we create the function, we can check it in our browser by right-clicking and choosing Inspect Element. We’ll see a brand-new div element and the actual text that matches the data link text value.

Resume Transcript Auto-Scroll
Skill Level Intermediate
46m 41s
Duration
9,365
Views
Show More Show Less
Skills covered in this course
Web Web Development jQuery

Continue Assessment

You started this assessment previously and didn't complete it. You can pick up where you left off, or start over.

Start Your Free Trial Now

Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now