This is a Gitlab for NZOSS Members
Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Dave Lane
jquery-validate-experiment
Commits
186c6011
Commit
186c6011
authored
Aug 28, 2018
by
Dave Lane
Browse files
working form
parent
a30cf6c7
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
test.css
View file @
186c6011
body
{
font-size
:
12px
;
}
div
,
form
{
/*border: #ccc 1px dotted;*/
}
legend
{
font-size
:
160%
;
padding
:
0.8em
0
;
}
label
,
span
{
display
:
block
;
padding-bottom
:
0.2em
;
}
label
{
font-weight
:
bold
;
margin-top
:
0.5em
;
}
label
.error
{
color
:
red
;
}
.ore-modal-block
{
padding-top
:
1em
;
text-align
:
center
;
float
:
left
;
width
:
49%
;
}
.form-group
{
margin-top
:
0.5em
;
}
test.html
View file @
186c6011
...
...
@@ -5,7 +5,7 @@
<link
rel=
'stylesheet'
href=
'./test.css?ver=4.9.8'
type=
'text/css'
media=
'all'
/>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"https://cdnjs.cloudflare.com/ajax/libs/jquery-validate/1.17.0/jquery.validate.js"
></script>
<script
type=
"text/javascript"
src=
"./test.js
?ver=1
"
></script>
<script
type=
"text/javascript"
src=
"./test.js"
></script>
</head>
<body>
<div
id=
"form"
>
Form goes here
</div>
...
...
test.js
View file @
186c6011
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment