Hi,<div><br></div><div>I have been through a difficult time to integrate jQuery with OpenLayers, it's because I was trying to relate the elements created by OpenLayers and the jQuery to get values as position or to use features like Dialog (jquery UI) or qTIP, or other things.</div>
<div><br></div><div>The problem I'd realized was in the name of the ID used by OpenLayers in web elements (like <div> or <svg>), there is dots in the id name, but for jQuery (and generaly others frameworks who threat like CSS) the dot in the ID is a separation, that means the class used with the ID. So, I have to create a scape to the dots.</div>
<div><br></div><div>Some example:</div><div><br></div><div>The openLayers create the id <circle id="OpenLayers.Geometry.Point_188"></div><div>$("#OpenLayers.Geometry.Point_188") <- this is like search this element: <tag id="OpenLayers" class="Geometry Point_188"></div>
<div><br></div><div>So I have to create a scape to the dot :</div><div>$("#OpenLayers\.Geometry\.Point_188")</div><div><br></div><div>A simple line to a var in javascript solve this problem: </div><div>var featID = "#" + f.geometry.id.replace(/\./g,'\\.');</div>
<div>$(featID);</div><div><br></div><div>I'm noticing this and wanna know, if this is a bug or just a suggestion to better the software, or nothing? </div><div>And how is the best way to report this?</div><div><br></div>
<div>My regards,</div><div><br></div><div>Fernando Norte </div><div>Developer at <a href="http://Globalgeo.com.br">http://Globalgeo.com.br</a></div><div>Nova Lima - MG - Brazil</div><div><br></div><div><br>
</div>