javascript - HTML and JSP - How to initiate an action on a form without moving to another page -


i'm trying create youtube website, , has been setup except voting , down.

is there way in html create upvote , downvote button without changing current webpage (for example user watching video), , initiate piece of code or servlet can perform logic?

thanks all, i'm inexperienced html, i'm confused step.

since doing using html only. need save data in database need jquery magic post data in webservice , save in database.

[working demo http://jsfiddle.net/ukrs7/12/][1] 

you can see upvote downvote jquery logic in above fiddle,

you need enhance saving in database.


Comments

Popular posts from this blog

node.js - Bad Request - node js ajax post -

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -