Hi all i am working on jquery i have a text area i need to select class for hide functions in jquery once it load it will be displayed when i eneter and when i leave it should hide
here my code follows:
<script type="text/javascript">
$(document).ready(function () {
$('.select').mouseleave(function () {
$('.select').hide();
});
});
</script>
here my html:
<textarea rows="10" class="select" id="editor1"> </textarea>
here i have my textarea right i need when entered no function will be fired when i leave the textarea it shouls hide for that i need to call text area with class so i need to how to fine a textarea class any help wil be appreaiated thanks
Altho you might wanna try:
And as per your question in title
Whereas
And inside any event or func call on an element, $(this) represents the element called: