Hi, I&#39;ve got a similar problem. I can&#39;t select the text inside the input field. <br>I tried with the following code:<br>OpenLayers.Event.observe(myTextInput, &quot;click&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.focusInputField
);<br>focusInputField: function(evt) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;evt.target.select();<br>},<br><br>but the text on the field in not selected. <br>Any idea?<br>THANKS<br><br><div><span class="gmail_quote">On 9/14/07, <b class="gmail_sendername">
Jachym Cepicky</b> &lt;<a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
hi,<br><br>OpenLayers.Event.observe(myTextInput, &quot;click&quot;,<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;this.focusInputField);<br>focusInputField: function(evt) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;evt.target.focus();<br>},<br><br>j<br><br>Jachym Cepicky píše v Čt 13. 09. 2007 v 16:11 +0200:
<br>&gt; Hi,<br>&gt;<br>&gt; I try to setup basic WPS [1][2] client in OpenLayers. I used<br>&gt; OpenLayers.Control.LayerSwitcher as base for the code. The working demo<br>&gt; (at least in Firefox) can be seen at [3].<br>
&gt;<br>&gt; Only one problem: It is not possible, to focus input text fields by<br>&gt; mouse (&lt;input type=&quot;text&quot;&gt;&lt;/input&gt;), so you can not write new values per<br>&gt; keyboard (for example the server name or later the process Input
<br>&gt; values). Could anybody give me advice, how to get this working?<br>&gt;<br>&gt; The source, used in the demo [3] is new file, called WPS.py [4].<br>&gt;<br>&gt; Thanks<br>&gt;<br>&gt; Jachym<br>&gt;<br>&gt; [1] <a href="http://www.opengeospatial.org/standards/requests/28">
http://www.opengeospatial.org/standards/requests/28</a><br>&gt; [2] <a href="http://pywps.wald.intevation.org">http://pywps.wald.intevation.org</a><br>&gt; [3]<br>&gt; <a href="http://www.bnhelp.cz/mapserv/pokusy/OpenLayers/jachym/openlayers/examples/wps.html">
http://www.bnhelp.cz/mapserv/pokusy/OpenLayers/jachym/openlayers/examples/wps.html</a><br>&gt; [4]<br>&gt; <a href="http://dev.openlayers.org/sandbox/jachym/openlayers/lib/OpenLayers/Control/WPS.js">http://dev.openlayers.org/sandbox/jachym/openlayers/lib/OpenLayers/Control/WPS.js
</a><br>&gt; _______________________________________________<br>&gt; Dev mailing list<br>&gt; <a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br>&gt; <a href="http://openlayers.org/mailman/listinfo/dev">http://openlayers.org/mailman/listinfo/dev
</a><br>--<br>Jachym Cepicky<br>e-mail: <a href="mailto:jachym.cepicky@gmail.com">jachym.cepicky@gmail.com</a><br>URL: <a href="http://les-ejk.cz">http://les-ejk.cz</a><br>GPG: <a href="http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub">
http://www.les-ejk.cz/pgp/jachym_cepicky-gpg.pub</a><br><br><br>_______________________________________________<br>Dev mailing list<br><a href="mailto:Dev@openlayers.org">Dev@openlayers.org</a><br><a href="http://openlayers.org/mailman/listinfo/dev">
http://openlayers.org/mailman/listinfo/dev</a><br><br><br></blockquote></div><br>