Skip to content
/ sinatra_ajax Public template

Demo project created to use ajax in sinatra

License

Notifications You must be signed in to change notification settings

slashpai/sinatra_ajax

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sinatra_ajax

Demo project to use ajax in sinatra. In this example a table is displayed from ajax response and based on selected table row another ajax request is send with selected row's first column value. I added sleep time before sending ajax data to mimic server computation time.

Initial page load

initial load

Table Loaded

table1 loaded

Row 1 Selected

row 1 selected

Row 2 Selected

row 1 selected

References

About

Demo project created to use ajax in sinatra

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published