how to call Child with JS selector ?

how to call Child with JS selector ?

tayssir.chtayssir.ch Posts: 2Questions: 2Answers: 0

Hello,
I am using wordpress plugin called Product tables (https://barn2.co.uk/wordpress-plugins/woocommerce-product-table/)
I am not able to put specific content with the plugin, so i decide to put it using JQuery using this code.
$("#content-"+productID+"").detach().appendTo("#"+productID+" .col-description");
Responsive is Enabled, and when i browse the site on Mobile device, the content is not appearing in the Child.
my question how can i select the child and append data ?

Answers

  • colincolin Posts: 15,142Questions: 1Answers: 2,586

    We're happy to take a look, but as per the forum rules, please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.

    Cheers,

    Colin

This discussion has been closed.