SyntaxFix
Write A Post
Hire A Developer
Questions
function doosomething () { //Doo something } $(function () { $("div.class").click(doosomething); $("div.secondclass").click(doosomething); });