The exact answer to this question depends very much on your particular 
implementation. For instance, if you're using the standard SearchForm (e.g., in 
a standard SearchControl), the easiest way would be to write your own 
getElementsByClassName function and then walk through the returned array to 
find the input you want. But if you're using a custom form, I would actually 
recommend assigning your input an id attribute and using 
document.getElementById to track it down.

In short, without knowing what you're doing right now, it's impossible to offer 
real suggestions on how to proceed. Please provide a link to your application, 
working or not.

Jeremy R. Geerdes
Generally Cool Guy
Des Moines, IA

For more information or a project quote:
[email protected]

If you're in the Des Moines, IA, area, check out Debra Heights Wesleyan Church!

On Jul 11, 2011, at 1:05 AM, Soheil wrote:

> Hi guys
> 
> I want to read the searched word which user searched it and pass that
> word to next page, how can I read the search box value in JavaScript
> language
> 
> Thanks
> 
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Google AJAX APIs" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/google-ajax-search-api?hl=en.
> 

-- 
You received this message because you are subscribed to the Google Groups 
"Google AJAX APIs" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-ajax-search-api?hl=en.

Reply via email to