Difference between revisions of "MemEOL"
From Desal Wiki
Line 257: | Line 257: | ||
$( document ).ready(function() { | $( document ).ready(function() { | ||
+ | mw.loader.using( ['jquery.ui.core', 'ext.bootstrap','ext.bootstrap.scripts', 'ext.bootstrap.styles'], function () { | ||
+ | $('.form-memEOL').bootstrapValidator() | ||
+ | .on('success.form.bv', function(e) { | ||
+ | // Prevent form submission | ||
+ | e.preventDefault(); | ||
+ | //$('.nav-pills > .active').next('li').find('a').trigger('click'); | ||
+ | }); | ||
+ | }); | ||
mw.loader.using( 'jquery.ui.core', function () { | mw.loader.using( 'jquery.ui.core', function () { | ||
$( ".memEOL-submit" ) | $( ".memEOL-submit" ) | ||
Line 626: | Line 634: | ||
<script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.11.1/additional-methods.js"></script> | <script src="http://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.11.1/additional-methods.js"></script> | ||
--> | --> | ||
− | + | </head><body></div></body></html> | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
[[Category:Major Resources]] | [[Category:Major Resources]] | ||
[[Category:Resources]] | [[Category:Resources]] |
Revision as of 08:02, 5 January 2015
Introduction text