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

Popular posts from this blog

SAP Web Service from .NET via WCF -

email - PHP Mail Error "The Page at X Says: E-Mail can not be sent!" -

Optimized Line drawing in QT -