<br><div class="gmail_quote">On 12 August 2010 15:34,  <span dir="ltr">&lt;<a href="mailto:Devesh.Kothari@nokia.com">Devesh.Kothari@nokia.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">I can try and help you out.</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Devesh</span></p></blockquote></div><br><div>Thanks, Devesh. Firstly, I&#39;d like to ask what is the rough ETA to publish proper documentation for this? I&#39;ve used some references to w3c-based docs from your blog post [1], which helped in some areas (ie. SystemInfo API), but not all (ie. I&#39;m not sure how to use geolocation APIs).</div>

<div><br></div><div>Secondly, I have a problem using jQuery along with device APIs within same widget. I&#39;ve already described my problem on Qt dev forums [2], yet with no answer, so let me reiterate it here:</div><div>

<br></div><div>==== copy/paste from forum [2] ====</div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

I have created a widget which uses sysinfo API and all relevant API calls are stored in separate js file, so I include it into main html with:</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

&lt;script type=&quot;text/javascript&quot; src=&quot;hellowrt.js&quot;&gt;&lt;/script&gt;</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

Script itself uses plain old document.getElementById(‘element’).innerHTML calls to update corresponding html placeholders and it generally works nicely together. Now, the problem I have is that as soon as I include jQuery to the JS stack:</blockquote>

<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

&lt;script type=&quot;text/javascript&quot; src=&quot;jquery-1.4.2.min.js&quot;&gt;&lt;/script&gt;</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

&lt;script type=&quot;text/javascript&quot; src=&quot;hellowrt.js&quot;&gt;&lt;/script&gt;</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

suddenly all my API calls just stop working and I don’t get responses from sysinfo API. I don’t modify anything within hellowrt.js, just adding jquery-1.4.2.js file renders hellowrt.js non-functional.</blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">

Perhaps there’s some sort of conflict between jQuery and sysinfo API? Additionally, is there any way to debug QtWRT apps, ie. see JS errors as they happen?</blockquote><div> </div><div><br></div><div>Many thanks in advance for your input on this. </div>

<div><br></div><div><br></div><div>[1] <a href="http://dkothari.blogspot.com/2010/08/qt-web-runtime-for-n900.html">http://dkothari.blogspot.com/2010/08/qt-web-runtime-for-n900.html</a></div><div>[2] <a href="http://developer.qt.nokia.com/forums/viewthread/486/">http://developer.qt.nokia.com/forums/viewthread/486/</a></div>

<br>-- <br>Dawid &#39;evad&#39; Lorenz * <a href="http://dawid.lorenz.co/" target="_blank">http://dawid.lorenz.co</a><br><br>null://
 I haven&#39;t lost my mind - it&#39;s backed up on disk somewhere<br>