Skip to content Skip to sidebar Skip to footer

Redirect To Other Page Intel Xdk

actually I'm developing on Intel XDK IDE, but I need redirect to other page. Thanks. Code: $(document).on('click', '#ini-sesion', function(evt) { var user = $('#u

Solution 1:

This:

window.location.href = "#sales";

won't work, cause href needs an URL, not a CSS selector.

You need to have a web protocol (http:// or https://), or something like this:

window.location.href = "sales.html";

Solution 2:

This works for me:

activate_subpage("#sales"); 

Post a Comment for "Redirect To Other Page Intel Xdk"