How to use string as a object method?
<p>I am trying to use an element class name and call it as a method for my object.</p>

<pre><code> var thisClass=$this.attr('class')
 //thisClass = 'call'               

 obj.thisClass(ID);
</code></pre>

<p>My codes don't work as I wanted to be. Are there anyways to solve this? Thanks a lot!</p>
