Some background:I am having trouble with the following:Currently I have a tab element on my webpage (3 tabs). This works out fine--> when a tab is clicked, the script tabs.js will change the css from display: none to display: block.I would like to nest another jquery element in one of the tabs: a 'send me your comments' form, which uses jquery to stay on the page after clicking submit. Furthermore, the form content will be replaced by a 'thanks for your comments' message.I have been able to run both the tabs and the 'send me your comments' form succesfully. But now I want to combine the two. Meaning, I want to add the form on tab #1.The problem:I am bumping into the following problems:
- the form will not show correclty once embedded in the tab1 (conflicting css, but I don't know how to fix this)
- the form will disappear correcly once clicked on a different tab, but does not reappear after clicking tab1. (problem with tabs.js that does not correctly alter the css of the form elements into 'display: block'.)