In jquery we use "id" of an element.You can use either separate ids or use
$(this).val(); to get the value & than apply function on it.
From: asma tuli <asmatuli@gmail.com>
To: phpexperts@yahoogroups.com
Sent: Thursday, June 30, 2011 10:56 AM
Subject: [phpXperts] jQuery Help
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 ??
<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 ??
__._,_.___
Visit phpXperts website at www.phpxperts.net
MARKETPLACE
.
__,_._,___
No comments:
Post a Comment