Changing information within the same modal

Asked

Viewed 238 times

0

Good afternoon,

I am making a page for a software manual. It happens that there is a part of this page that is a modal that when opening has a navbar with 5 buttons. My intention is that as I press each button on the navbar, the navbar information will appear in the present modal. I choose another button and that information changes.

I hope you can help me...

Thank you

  • This information would come from a database or from the page itself?

1 answer

0

You can use Jquery Ajax, so that when the user clicks on one of the buttons, ajax looks for the text elsewhere and inserts it into a div, without the page having to give a Reload.

Follow a practical example: http://www.w3schools.com/jquery/ajax_ajax.asp

Browser other questions tagged

You are not signed in. Login or sign up in order to post.