Ajax Poll (simple questions/answers)

written in classic ASP (VBScript)

Demo

Which Internet browser do you prefer?

Introduction

Ajax Poll is an easy code snippet written in classic ASP (VBScript) + jQuery (or Zepto) you can integrate into your website and show simple polls (voting system) to your visitors.
It shows active poll and displays results immediately after voting, without refreshing your page.
Our source code is readable, tidy and small. You only need to include 1 file into your existing website.

Features

Once a you set up this code snippet, it will be shown on your website without interference with other code:
• Create unlimited polls
• Each question can have unlimited answers
• No refreshing after voting (immediately displays results)
• Disable repeating votes (IP address and cookie validation)
• Poll history

Documentation

1) Include latest jQuery (or Zepto) and call ShowPoll subroutine on any location in your page
2) Edit lib/poll.asp and replace the values under "your configuration" with yours
3) Upload script to your FTP
4) Import database.sql to your MySQL server
5) Optionally change style.css to match your design

We made it simple and clear so that you can install the code snippet within a minute. There are more useful information commented inside script.

Requirements

• ASP 3.0 (VBScript)
• Microsoft IIS 6+
• MySQL ODBC 5+
• jQuery or Zepto (JavaScript library)

Changelog

Version 1.3 (2018/mar/6)
• minor optimizations

Version 1.2 (2016/oct/26)
• source rewritten and optimized
• simple CMS for adding/deleting polls
• poll animations

Version 1.1 (2016/feb/6)
• minor optimizations

Version 1.0 (2015/aug/13)
• initial release