Well, for me there are even three <input> fields. I don't know what the
last one (id="gs_htif0") is for, but the first one (id="gbqfq") contains
the string you've entered and the second one (id="gs_taif0") is used for
showing a search suggestion in light gray.
Sebastian
On Monday, November 4, 2013 8:15:21 AM UTC+1, David Schulberg wrote:
>
> I am trying to identify the input field on a Google home page. When I move
> the Firebug arrow on to the Search input field the display shows with the
> latter 'input id' is highlighted (as below). How come there are two 'input
> id' statements? If I step the arrow out from the middle of Search input
> box the highlighting switches to the top level td statement. I am doing
> this to identify the name of the input field, which for some reason is
> specifically tied to the first 'input id' only.
>
> <td id="gs_tti0" class="gsib_a">
> <div id="gs_lc0" style="position: relative;">
> <input id="lst-ib" class="gsfi" type="text" autocomplete="off" size="41"
> title="Search" value="" maxlength="2048" name="q" style="border: medium
> none; padding: 0px; margin: 0px; height: auto; width: 100%; background:
> url("data:image/gif;base64,R0lGODlhAQABAID/AMDAwAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw%3D%3D")
>
> repeat scroll 0% 0% transparent; position: absolute; z-index: 6; left: 0px;
> outline: medium none;" dir="ltr" spellcheck="false">
> <input id="gs_htif0" class="gsfi" disabled="" autocomplete="off"
> aria-hidden="true" style="border: medium none; padding: 0px; margin: 0px;
> height: auto; width: 100%; position: absolute; z-index: 1;
> background-color: transparent; color: silver; left: 0px; visibility: hidden;
> " dir="ltr">
> </div>
> </td>
>
>
>
--
You received this message because you are subscribed to the Google Groups
"Firebug" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/firebug.
To view this discussion on the web visit
https://groups.google.com/d/msgid/firebug/dbeb693a-1be7-4189-896c-2a4a0800ebe9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.