Tabs with forms and inline javascript
-
Hello,
thanks for your excellet plugin, however I’m having some problems with what I want to achieve. I’ve checked the docu and forum, but didn’t find the answers. Many thanks for your help, Erich
1) I have 2 tabs and outside of the tabs is the input tag for submit. The tabs are appearing ok, but the submit button seems to be not active.
2) I also have some inline javascript code (actually to include the datepicker for a date field). When I include this code, the tabs are not appearing.
3) When the form is submitted, another page is loaded (special template with php code to check for errors). With errors, I’m using another form input tag with onClick=\”history.back()\”>. Will this work with your plugin?[code language="css"]
[tabby title="Tab 1"]<form action="antwort" method="post">
Input fields tab 1<?-- javascript for datepicken input field -->
<script type="text/javascript">
jQuery(document).ready(function() {
jQuery("#MyDate1").datepicker({
dateFormat: "d.m.yy",
defaultDate: "3.12.2014",
minDate: "3.12.2014",
maxDate: "8.12.2014"
});
});[tabby title="Tab 2"]
Input fields tab 1[tabbyending]
<input type="submit" value="Submit" />
</form>
[/code]
The topic ‘Tabs with forms and inline javascript’ is closed to new replies.