troubleshooting Question

Prepend to DOM after Ajax Refresh

Avatar of lowpriceskates
lowpriceskatesFlag for United States of America asked on
10 Comments1 Solution873 ViewsLast Modified:
Hello, I am using a shopping cart that is very restrictive and I cannot edit what I need to. I am trying to add some text to a DIV using Jquery's .prepend() method, but the DIV that I need to access it not created until the 4th step of the checkout, which is refreshed in between each step.

The checkout is at
Feel free to add any product to the cart and go to the checkout page to see how it updates.

Here is the code that I want to add:
<script>$('#ctl00_pageContent_divEditAddress').prepend('<h1>Billing Address</h1>');</script>

That is supposed to add the heading "Billing Address" before the Edit link on the Payment step. Please let me know if you need any more info. Thanks!!
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 10 Comments.
Join the Community
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 10 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