Hi,
I need to determine what was the previous page in my history and if it matches a certain page in my app then I want to perform some action. What is the way to write this JS part? For example:
---------------------------------------------------------------------var a = homepage.html
if (history == a) {
Appery('mobilegrid_218').show();
}
else {
Appery('mobilegrid_218').hide();
}
the part Im not sure about in this example is "if (history == a)"
Please clarify if this is correct and if not what is the correct structure? Thank You.