if ($.("#myForm").valid()) {
// do form submission AJAX call here
}
Useful tips, rants, etc.
if ($.("#myForm").valid()) {
// do form submission AJAX call here
}
@media screen and (-webkit-min-device-pixel-ratio:0) {
#my_id .my_form_row.my_embed_label input[type=password] {
float: left;
}
}
init_spinning : function(lines, length, width, radius, colour, speed, trail, shadow) {
var opts = {
lines: lines,
length: length,
width: width==null? 5,
radius: radius==null? 8
etc..
}
}
init_spinning(8, 4, null, null, '#20CNSE', 1.6, 30, false);
init_spinning : function(options) {
var opts = $.extend({
lines: 8,
length: 5,
width: 7,
radius: 7,
color: '#26BCED',
speed: 1.3,
trail: 44,
shadow: false
}, options||{});
etc..
}
init_spinning({
length: 3,
width: 3,
radius: 3
});