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 -

Optimized Line drawing in QT -

datetime - str to time in python -