API to map QR Code to web site

I have to write a program to read the scanned QR codes from mobile and direct it to website or a specific URL location.
How can we do that?
WHat tools we need and what code we need to write it?
jgdvishnuSoftware ArchitectAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

This plugin do what you want : https://github.com/LazarSoft/jsqrcode
If you go on their page, they propose a demo page : https://webqr.com/
This demo do exactly what you want, you just need to replace
by :
location.href = a;

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
jgdvishnuSoftware ArchitectAuthor Commented:
When I run test.html it asks for flash plugin.
How can I bypass it? Pl help
This is a requirement to capture the QR with the camera with the browser you're using
Determine the Perfect Price for Your IT Services

Do you wonder if your IT business is truly profitable or if you should raise your prices? Learn how to calculate your overhead burden with our free interactive tool and use it to determine the right price for your IT services. Download your free eBook now!

jgdvishnuSoftware ArchitectAuthor Commented:
I have 2 separate websites:- 1) for creating QR Code for a link.
                                                    2) Upon Scan which website to bring them to.
I am new. could u pl help me which files are relevant to site 1 and site 2.
you "new" to ?
I'm, like you, new to this plugin if this is what you refer to "new"
You should go  step by step, and ask for help when you stump.
jgdvishnuSoftware ArchitectAuthor Commented:
1) for Creating the code to be used is
jgdvishnuSoftware ArchitectAuthor Commented:
Thanks for the help
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Web Development

From novice to tech pro — start learning today.