I am trying to figure out how to simply add a facebook share function upon click/submit of a form button. I would assume this will be done in jquery but I am not sure. ANY HELP WILL BE APPRECIATED.
I am trying to add an "onClick" function to this submit button to open up share to facebook once it is submitted/clicked.
<input class="btn btn-primary" onclick="window.open='http://www.facebook.com/sharer.php?s=%20100&p[title]=Bedding'" type="submit" value="Wish It" name="wishit" id="wishit">