Multiple divs | WordPress.org

[ad_1]

Hey CFF team,

First of all thanks for a great plugin! I currently have the following setup:

  • One div (let’s call it A) and inside that div, I have two divs (A.1 and A.2)
  • In div A.1 I have fields where user inputs data
  • In div A.2 I have calculated fields that dynamically change based on what the user fills in div A.1

What I need to get done:

  • Create another div, independent of the ‘main div’ from above – let’s call it B
  • Add a button inside div A.1 as mentioned above
  • Upon pressing the button, the newly created div B should appear with calculated fields.

I’m struggling to find a way to add the button and on pressing it more content to appear – do you think you could point me in the right direction?

Thank you!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer