how to fetch the id or class of a textbox if not known
<p>i am using a jquery functionality which uses the dasher java applet(a writing aid)
using which when one clicks on an input area(mostly textboxes) the popup window opens and the dasher starts working
this jquery element works on any web page this means i should not know the id or the class of each and every text area but then how o fetch its id(i mean how to access it)</p>

<p>this is the code for the jquery plugin i am using
hope this is of some help</p>

<pre><code>var dasherApplet = $('&lt;applet /&gt;'); 

    dasherApplet.attr({
        'height':'100%',
        'width':'100%',
        'archive':farfalla_path+'plugins/dasher/Dasher.jar',
        'code':'dasher/applet/JDasherApplet.class'
    });

var dasherDiv = $('&lt;div id="farfalla_dasher"&gt;&lt;/div&gt;');

    dasherDiv.css({
        'position':'absolute',
        'top':0,
        'left':0,
        'width':'100%'
    });

    dasherApplet.appendTo(dasherDiv);
    dasherDiv.appendTo('body').hide();

jQuery.fn.dasher = function(){

    dasherDiv.toggle();

};  


$('textarea, input').click(function() {
    $(this).dasher();
});
</code></pre>
