Thursday, June 30, 2011

Re: [phpXperts] jQuery Help

 

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 ??


__._,_.___
Recent Activity:
Visit phpXperts website at www.phpxperts.net
MARKETPLACE

Stay on top of your group activity without leaving the page you're on - Get the Yahoo! Toolbar now.

.

__,_._,___

No comments: