Actually I am trying to use following codes
$("div#relationship").hide();
$('input.text_relation').focus(function()
{
$("div#relationship").slideDown('slow');
});
$('input.text_relation').blur(function()
{
$("div#relationship").slideUp('slow');
});
When i am clicking on any one of the three input text box all three slideDown occurs. But i need only the clicked one slideDown.
you have to give a each text box a individual name or id. then you can do this. other wise how can you told the control to focus then next test box
--On Thu, Jun 30, 2011 at 11:56 AM, asma tuli <asmatuli@gmail.com> wrote:
I have 3 input text box like
<input type="text" name="relation[]" class="text_relation" />
<input type="text" name="relation[]" class="text_relation" />
<input type="text" name="relation[]" class="text_relation" />
I would like to apply .focus() and .blur() on each of them individually.
How is it possible ??
Muhammod Arifur Rahman
Senior Software Engineer
Website: http://www.learneveryday.net
http://www.smartwebsource.biz
Cell : 880-1914282809
No comments:
Post a Comment