Skip to content

crguezl/how-jquery-works-tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

There are five branches:

  [~/javascript/jquery/how-jquery-works-tutorial(master)]$ git branch 
    getallparams # shows the use of jQuery AJAX get method with all its params
    heroku       # shows how to deploy the app in Heroku
    getscript
  * master
    separated
  • master shows how to use jQuery get on the client side and Sinatra on the server side

  • getallparams shows how to use jQuery get exemplifying how to use all the get params.

    There is a version using express.js instead of Sinatra in this branch composed of these files:

              gulpfile.js                  
              app.js                       
              package.json
              views/index.ejs
              views/layout.ejs
              README.md                    
    
  • getscript shows how to use jQuery get with dataType script

  • separated shows how to put the views/templates in separated files

See