|
Dahol, you can't use javascript alone to accomplish this task, because javascript doesn't have any means of storing collected data (the votes) at a central point.
PHP would be a better choice, as this runs server side where you CAN store all the votes.
You can use javascript in combination with PHP to let users submit their votes without having to reload the page. This technology is called AJAX and a google search will give you plenty of tutorials and documentation.
|