Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

add GitHub Flavored Markdown to README #32

Merged
merged 1 commit into from

2 participants

@phlipper
  • This makes the example code easier to read, especially when perusing the docs on github
@phlipper phlipper add GitHub Flavored Markdown to README
* This makes the example code easier to read,
  especially when perusing the docs on github
3f7bcc5
@thecodemine thecodemine merged commit 5bf5f84 into thecodemine:master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Dec 24, 2012
  1. @phlipper

    add GitHub Flavored Markdown to README

    phlipper authored
    * This makes the example code easier to read,
      especially when perusing the docs on github
This page is out of date. Refresh to see the latest.
Showing with 20 additions and 19 deletions.
  1. +20 −19 README.md
View
39 README.md
@@ -28,26 +28,27 @@ Be sure to have the correct includes obviously.
Example usage. This is a very simple setup.
- $(function() {
- $("#demoForm").formwizard({
- formPluginEnabled: true,
- validationEnabled: true,
- focusFirstInput : true,
- formOptions : {
- success: function(data) {
- $("#status").fadeTo(500,1,function(){
- $(this).html("You are now registered!").fadeTo(5000, 0);
- })
- },
- beforeSubmit: function(data){
- $("#data").html("data sent to the server: " + $.param(data));
- },
- dataType: 'json',
- resetForm: true
- }
- });
+```javascript
+$(function() {
+ $("#demoForm").formwizard({
+ formPluginEnabled: true,
+ validationEnabled: true,
+ focusFirstInput : true,
+ formOptions : {
+ success: function(data) {
+ $("#status").fadeTo(500,1,function(){
+ $(this).html("You are now registered!").fadeTo(5000, 0);
+ })
+ },
+ beforeSubmit: function(data){
+ $("#data").html("data sent to the server: " + $.param(data));
+ },
+ dataType: 'json',
+ resetForm: true
+ }
});
-
+});
+```
# Live Demo
Something went wrong with that request. Please try again.