Hi Liam Potter,
Yeah u have to pass dynamic id for those input field then u have to pass
those id on ur events

hope this will help u :)

If ur not using dynamic id then obviously it will get first input only b'coz
its taking that
on top of ur input fields .

regards

Ragx

On Thu, Feb 5, 2009 at 6:18 PM, Liam Potter <[email protected]> wrote:

>
> var current =  $("input:focus").attr("alt");
>
>
>
>
> obiwanknothe wrote:
>
>> I have created a form that has multiple input tags (6 to 8) and I am
>> using the "alt" attribute of the of the input tag to to retrieve
>> information with this method "var current =  $("input").attr("alt");".
>> While this works on the first index of the input tag it does not help
>> if the input fields are chosen at random. I have also tried using
>> selectors and filters, but have been unable to determine how to
>> retrieve the Attr("alt") on the element that has focus.
>>
>> Any help is appreciated.
>>
>> Bob
>>
>>
>


-- 
---| Regard |---

Mohd.Tareque

Reply via email to