Awesome!  That worked like a charm :o)  Thanks so much!

-Ben




Musachy Barroso wrote:
> 
> http://www.nabble.com/Extract-autocompleter-value-from-javascript%2C-when-autocompleter-is-in-a-%3Cs%3Adiv-object-tf3883593.html#a11007078
> 
> On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote:
>>
>>
>> Ravi Kumar-26 wrote:
>> >
>> > On 7/25/07, chengas123 <[EMAIL PROTECTED]> wrote:
>> >> I had an HTML input I was accessing in script as follows:
>> >>    document.inputForm.city.value
>> >> I replaced it with a Struts autocompleter and cannot access it in that
>> >> manner anymore.
>> >
>> > Hey ,
>> >  I think it is not text filed it is select box. so try to access using
>> > input
>> > type as select
>> > Thanks
>> > Ravi
>> >
>>
>>
>> I don't understand.  I can access a select from JavaScript the same exact
>> way I would access a text box.  The real problem is that I can't figure
>> out
>> if there is a named element on the page to access.  If I do
>> alert(document.inputForm.city) then I get a popup box that says
>> undefined.
>> So the problem isn't in the manner in which I'm accessing it, but that
>> the
>> element does not even exist.  Do I need to change something in my Struts
>> tag
>> to make the element accessible from script?
>>
>> Thanks,
>> Ben
>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/-S2--Accessing-autocompleter-value-from-JavaScript-tf4138749.html#a11781657
>> Sent from the Struts - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>>
>>
> 
> 
> -- 
> "Hey you! Would you help me to carry the stone?" Pink Floyd
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/-S2--Accessing-autocompleter-value-from-JavaScript-tf4138749.html#a11784710
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to