Toggle navigation
Bootsnipp
Bootstrap
For
CSS Frameworks
Bootstrap
Foundation
Semantic UI
Materialize
Pure
Bulma
References
CSS Reference
Tools
Community
Page Builder
Form Builder
Button Builder
Icon Search
Dan's Tools
Diff / Merge
Color Picker
Keyword Tool
Web Fonts
.htaccess Generator
Favicon Generator
Site Speed Test
Snippets
Featured
Tags
By Bootstrap Version
4.1.1
4.0.0
3.3.0
3.2.0
3.1.0
3.0.3
3.0.1
3.0.0
2.3.2
Register
Login
"Collapsible Form Div with CTA Button"
Bootstrap 3.2.0 Snippet by
girliestgeek
3.2.0
jQuery
Preview
HTML
JS
View Full Screen
Fork
Fork this
2.3K
 
0 Fav
Post to Facebook
Tweet this
<link href="//netdna.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet" id="bootstrap-css"> <script src="//netdna.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script> <script src="//code.jquery.com/jquery-1.11.1.min.js"></script> <!------ Include the above in your HEAD tag ----------> <div class="col-sm-4 col-md-4 "> <h3 class="navy nomarg">Proven Trading Systems for Accelerating Your ROI</h3><br/> <p class="med-grey">Learn how these back-tested and automated trading systems could help you accelerate your trading return on investment.</p> <table> <tr> <td><hr /></td> <td class="free-download caps bold" style="width:1px; padding: 0 10px; white-space: nowrap;">Free Download</td> <td><hr /></td> </tr> </table> <h4 class="center navy nomarg">FX Annihilator Video</h4> <div class="incentive well"> <div class="center"> <!-- FORM --> <div id="downloadform5" class="panel-collapse collapse"> <div class="panel-body"> <p class="navy text-left"></p> <form data-role="form" novalidate data-ng-controller="FormController" name="webinarRegistration"> <!-- Numeric Form Id Here --> <div data-form-id="83"></div> <!--Fields--> <div data-field="fullName" data-placeholder="Enter your full name"></div> <div data-field="emailAddress" data-placeholder="Enter your email address"></div> <div data-submit="submitForm()" data-label="Submit" ></div> </form> </div> </div> <!-- END FORM --> <button type="button" class="btn btn-default btn-lg btn-custom change-me" role="button" data-toggle="collapse" data-target="#downloadform5"> <p class="nomarg" style="font-size: 16px;">Download Now</p> </button> </div> </div> </div>
$(document).ready(function () { "use strict"; $('.change-me').click(function () { if (this.childNodes[1].innerHTML === "Download Now") { this.childNodes[1].innerHTML = "No, thanks"; this.style.backgroundColor = "transparent"; this.style.borderColor = "transparent"; this.style.color = "#fff"; this.style.textDecoration = "underline"; } else { this.childNodes[1].innerHTML = "Download Now"; this.style.backgroundColor = "#ebebeb"; this.style.borderColor = "#e1e1e1"; this.style.color = "#555"; this.style.textDecoration = "none"; } }); });
Related:
See More
Free Template
Datepicker
57.3K
25
Hexa shape button
477.8K
46
login-form
176.2K
18
Login Form
Questions / Comments:
Post
Posting Guidelines
Formatting
- Now
×
Close
Donate
BTC: 12JxYMYi6Vt3mx3hcmP3B2oyFiCSF3FhYT
ETH: 0xCD715b2E3549c54A40e6ecAaFeB82138148a6c76