I am newbie to Phonegap so help me to getout from this issue.
In my application i have to redirect to List.html file while click on button1, I wrote code like this,
a href='#' onClick='test();' id="button"> button1
function test()
{
window.location="/home/swift-03/phonegapexamples/MySmartCity/www/List.html";
}
But while running on emulator it showing file not found.whether i should use my local ip address to redirect to my List.html in local directory.
But when i am redirecting to www.google.com it is working fine.
function test()
{
window.location="www.google.com";
}
This is redirecting to google page.
Please help me.thanks in advance