title: Is it possible to replace the childbrowser url with a database variable?
body: <p>Is it possible to replace the url in the childbrowser with a database variable? The database variable is a url in the database. For example, in the code below res[i].showlink is a database variable that is a url. The child browser works perfectly if I replace the database variable with <a href="http://www.google.com" rel="nofollow">http://www.google.com</a>. I also know that my database call is pulling the urls correctly with "res[i].showlink". However, when I put in the database variable, the child browser displays a blank screen and reads as loading. I am working with phonegap in Xcode. </p>
  
  <pre><code>function openGoogle(){ 
  var root = this; 
  cb = window.plugins.childBrowser;  
  cb.showWebPage("res[i].showlink"); 
  }
  </code></pre>
  
  <p>If I remove the quotes around the res[i].showlink, then nothing happens when I click on the link. If I put the quotes back on, the childbrowser loads as if it is going to work but the browser remains blank. The childbrowser does seem to be able to determine that the url links from the database are different. If the link is going to google then the childbrowser will display a blank screen and the loading bar will output "about:blank". If the url link is going to a pdf file then the childbrowser will also be blank but the loading bar will actually output "Loading". Weird. </p>
  
  <p>Here is what the Xcode output console displays when I click on a link with the quotes on the res[i].showlink. </p>
  
  <p>2012-07-09 08:01:25.549 MyAppTest[13067:13403] View did load </p>
  
  <p>2012-07-09 08:01:25.551 MyAppTest[13067:13403] Opening Url : res[i].showlink </p>
  
  <p>The output console does not display anything if the quotes are not around the res[i].showlink </p>
  
  <p>Any help will be greatly appreciated! Thank you</p>