need a javascript fix for form button and lightbox

I have a product page on an e-commerce site and the "add to cart" button code looks like this:

<form method="post" action="[login to view URL]" id="form1" name="form1">


<div id="cart"><button class="button" name="Add_to_cart" value="1"><i class="fa fa-shopping-cart"></i> Add to Cart</button>




I want to implement this lightbox [login to view URL] on the "add to cart" button above so the lightbox pops up when the button is clicked HOWEVER the button should still function to actually ADD THE ITEMS TO THE CART.

I have this lightbox working on another part of this web page, but that is just on a simple link.

GOAL: When clicked, the add to cart button needs add the items to the cart PLUS open a lightbox (I will already add my own content to the lightbox).

The site is coded with and I think this can be fixed with javascript, but whatever solution works is fine.

Skills: HTML5, Javascript, jQuery / Prototype

See more: simple javascript registration form, drop submit button javascript order form, javascript show form clicking button, lightbox jquery free download, lightbox html code, css lightbox popup, lightbox bootstrap, lightbox css, lightbox gallery jquery, simple jquery lightbox, lightbox download, html, website design, javascript, html5, javascript calculator form button checkout, free simple javascript mp3 player button, simple javascript order form, paypal simple form button, simple javascript order form total

About the Employer:
( 10 reviews ) Brooklyn, United States

Project ID: #15797106

33 freelancers are bidding on average $111 for this job


hello, i am very interested in your project and i am sure i can provide you perfect result for your requirements. I am hoping to hear from you very soon. Thank you. Relevant Skills and Experience Website Design, P More

$155 USD in 3 days
(60 Reviews)

A proposal has not yet been provided

$100 USD in 3 days
(31 Reviews)

hi,javascript developer here and i would like to open lightbox with your cart [login to view URL] Relevant Skills and Experience here are the technologies i am well experienced with 1) javascript,jquery,angular,d3 2) php,my More

$100 USD in 3 days
(95 Reviews)

Hi, I am Javascript expert. I can do it! Stay tuned, I'm still working on this proposal.

$155 USD in 3 days
(49 Reviews)

Hello there, I would like to be considered for this job as I have great working experience in HTML, CSS and JavaScript/jQuery development. Thanks, Ramesh Relevant Skills and Experience HTML, CSS and JavaScript/jQu More

$72 USD in 3 days
(66 Reviews)
$111 USD in 3 days
(47 Reviews)

Hello sir I read your proposal and i am sure i can satisfy you immediately I have rich experience in javascript and React.js and Angular.js Relevant Skills and Experience Html5, jQuery Proposed Milestones $155 USD - More

$155 USD in 3 days
(16 Reviews)
$155 USD in 3 days
(12 Reviews)
$30 USD in 0 days
(21 Reviews)

I am interested inn your project. Text back if you may wish to offer me this task. Relevant Skills and Experience Javascript Proposed Milestones $30 USD - completion

$30 USD in 3 days
(14 Reviews)

Hello , I have read your project details and also I have some questions to ask you so please message me for feature details am waiting for your message . Thanks Relevant Skills and Experience HTML5, Javascript, jQuery More

$50 USD in 1 day
(27 Reviews)

Hi, It's great to hear about you have requirement of some good developer, Well we have 6 + year's of working experience in Web Development industry, and we are highly qualified for this kind of work Relevant Skills an More

$100 USD in 1 day
(39 Reviews)

Hi , Greetings! We have read and understood your need. We have work with the similar type of project we are confident about the work Relevant Skills and Experience These are samples of our work will share other wor More

$100 USD in 3 days
(19 Reviews)

Hello, I have read the project description and understand the project requirement. I can do the task which you mention in your project description and also I am ready to start work on our project Relevant Skills and E More

$100 USD in 3 days
(4 Reviews)
$155 USD in 3 days
(7 Reviews)

Hello there, I have reviewed your job description as well and very confident to handle this project perfectly. I am expert in Web designing/developing. Relevant Skills and Experience [login to view URL] Proposed Mil More

$100 USD in 3 days
(13 Reviews)

hello i am interest in your project. i have enough skills for your project. Relevant Skills and Experience I can do it at a high level in the near future. i will work full time. if you give me chance, i will do my bes More

$50 USD in 3 days
(8 Reviews)
$111 USD in 3 days
(13 Reviews)

I'm available to discuss more on your project, I will provide 24/7 support and quick response guaranteed! So feel free to contact me at any time! Stay tuned, I'm still working on this proposal.

$30 USD in 1 day
(14 Reviews)

Hello. I’ve carefully gone through your job post. I have more 8+ years experience in Web development .I am very much interested in your project with all of your requirements. Relevant Skills and Experience I feel very More

$155 USD in 3 days
(9 Reviews)