I write external js and write JSON string in js file want to parse main html file's js tag but it gives like
**error: missing } in xml expression**
I miss out the sequence of loading external style and script file, that's why that error occur I am using jqtouch and jquery's functionality in external js and where actually the problem comes into the picture. so I added here the correct sequence for loading script-
<style type="text/css" media="screen">@import "jqtouch/jqtouch.min.css";</style>
<style type="text/css" media="screen">@import "jqtouch/themes/theme.css";</style>
<script src="jqtouch/jquery-1.4.2.min.js" type="text/javascript" charset="utf-8"></script>
<script src="jqtouch/jqtouch.min.js" type="application/x-javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8" src="phonegap.js"></script>
<script type="text/javascript" charset="utf-8" src="Common.js"></script>
<script type="text/javascript" charset="utf-8" src="LoginLiveInterface.js"></script>
<script type="text/javascript" charset="utf-8">