I am working on a K-Mapping application for electrical engineering. However, I am stuck in one click function.
if(jQuery) $(document).ready(function(){ $('a').click(function(){ alert("Evaluate Click Works"); var match = $(mintermIndexes).compare(ArrayOfEight); if(match){ alert("All squares have been checked"); } return false; }); });
This is HTML,
<div id="body"> <input id="Clear" value="Clear Form" type="submit" /> <a id="Evaluate" href="#" >Evaluate</a> </div>
I could really use some help, I really used the only code that I think is the problem. Share your thoughts on how to fix this problem. Thanks.
ps: I tried almost all possible selectors, but still nothing. When I click the link, there is no answer.
EDIT: The order of the links in the header tag has changed, that is, I have changed the order of my jquery application and the jquery reference order. Thanks for the help anyway.
source share