Why can\'t I get this to work??
$(\"a\").each(function() { if ($(this[href$=\"?\"]).length()) { alert(\"Contains questionmark\"); } }); >
$(\"a\").each(function() { if ($(this[href$=\"?\"]).length()) { alert(\"Contains questionmark\"); } });
$("a").each(function() { if (this.href.indexOf('?') != -1) { alert("Contains questionmark"); } });