javascript - How do I link to Play Store, so users can rate my APP? -


i build app phonegap. have added custom settings menu, ul li tags, 1 of tag needs link, users can click , go play store rate app. not sure how achieve this.

<ul> <li><a href="javascript: void(0);" class="rate_app">rate app</a></li> <li><a href="javascript: void(0);" class="exit_app">exit app</a></li> </ul>        $("li a.rate_app").on('click', function() {     this.href="https://play.google.com/store/apps/details?      id=com.project.projectxxx" //i need link?     });  

any ideas?

thanks

you should point window.location = "https://play.google.com/store/apps/details? id=com.project.projectxxx"


Comments

Popular posts from this blog

html5 - What is breaking my page when printing? -

html - Unable to style the color of bullets in a list -

c# - must be a non-abstract type with a public parameterless constructor in redis -