On Thu, 12 Aug 2010, Dawid Lorenz wrote: > > 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: > > > <script type="text/javascript" src="hellowrt.js"></script> > > > 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: > > > <script type="text/javascript" src="jquery-1.4.2.min.js"></script> > > <script type="text/javascript" src="hellowrt.js"></script> > > > 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. > > > > 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?
http://docs.jquery.com/Using_jQuery_with_Other_Libraries -- Aj.
_______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers