jquery - What is wrong with this javascript -
argh! what's wrong this??
$(document).ready(function() { var monkeytrouble = $('#monkeytrouble').attr('rel'); if (monkeytrouble = "banana") { alert("oooh oooh ahh ahhh"); } });
think looking this...
if (monkeytrouble == "banana") {
hope helps!
Comments
Post a Comment