jquery-steps
jquery-steps copied to clipboard
using the plugin in ASP.net environment
I tried to use this plugin in a ASP.net environment but there is an issue.
When rendered, all the content of the page is in a form tag and removes the form tag of the plugin:
<body>
<form>
/*other content*/
<div id="form" class="wizard-big">
<h1>step 1</h1>
<fieldset>
content
</fieldset>
<h1>step 1</h1>
<fieldset>
content
</fieldset>
</div>
</form>
</body>
and this error shows up:
Uncaught Error: One or more corresponding step contents are missing
at R (jquery.steps.min.js:386)
at d (jquery.steps.min.js:14)
at HTMLDivElement.<anonymous> (jquery.steps.min.js:145)
at Function.each (jquery-2.1.1.js:2)
at n.fn.init.each (jquery-2.1.1.js:2)
at n.fn.init.w (jquery.steps.min.js:137)
at n.fn.init.a.fn.steps (jquery.steps.min.js:426)
at HTMLDocument.<anonymous> (inquiry.js?v=1.0:3)
at j (jquery-2.1.1.js:2)
at Object.fireWith [as resolveWith] (jquery-2.1.1.js:2)
Have the same issue
I have the same issue
wizard take it in document ready
for example:
$(document).ready(function () {
var wizard = $("#steps-checkout").steps({
enableContentCache: true,
headerTag: "h1",
content: "div",
enableAllSteps: false
});
});