Browse Source

fix demo

master
Repellent 6 years ago
parent
commit
1972d6a312
  1. 5
      contactsnew/demo/demo_ajax_jqval.php

5
contactsnew/demo/demo_ajax_jqval.php

@ -24,8 +24,8 @@ $form_tpl = array(
[tag:fld:8]
[tag:fld:9]
<div class=\\"form-group\\">
<div class=\\"col-sm-offset-4 col-sm-4\\">
<button type=\\"submit\\" class=\\"btn btn-primary\\">Отправить</button>
<div id=\\"addbtn-[tag:formalias]\\" class=\\"col-sm-offset-4 col-sm-4\\">
<noscript>включите js в браузере</noscript>
</div>
</div>
</form>
@ -36,6 +36,7 @@ $form_tpl = array(
<script type=\\"text/javascript\\">
$( document ).ready( function () {
$(\\"#addbtn-[tag:formalias]\\").append(\\\'<button type=\\"submit\\" class=\\"btn btn-primary\\">Отправить</button>\\\');
$( \\"#form-[tag:formalias]\\" ).validate( {
rules: {
\\"form-ajax_jqval_cap[1]\\": {

Loading…
Cancel
Save