I\'m trying to submit a form from a link that is located in my nav bar.
I\'m new to javascript.jQuery and unsure why this won\'t execute.
I have a feeling there
You are clicking in the "A", not in the Italic (With ID). Supposing you will not change the HTML to that work out you should use this:
$(document).ready(function() { $('#add-product-save-link').parent().click(function(e) { $('#add-product-form').submit(); return false; }); });