if ($('status_'+id).getText()=="Active")
anybody knows why JS returns false even if the passed string is "Active"? i also tried changing the code to if ($('status_'+id).getText()==String("Active")) or even
if (String($('status_'+id).getText())=="Active")
and still no luck T_T...
i've also checked $('status_'+id).getText()
through console.log
to verify if it really returns "Active"
i wonder why it doesnt work? any ideas?