I’m trying to submit (on mousedown) some text which takes up the class “current” when hovered:
$("#SomeDynamicMenu li").live("mousedown", function() {
var SearchTerms = $('li.current').text();
$('#SomeForm').submit(SearchTerms);
});
What am I doing wrong?
1 Answer