chef 3745 Posted March 25, 2015 Share Posted March 25, 2015 (edited) I noticed when a session has ended in the dashboard and you attempt to "back-page" in your browser, the web client will produce an alert on the screen which says something like: "Session no longer available" or "Session not found", or something along those lines. What is the Api call in javascript to produce that alert in the middle of the screen? Thanks again, Ben Edited March 25, 2015 by chef Link to comment Share on other sites More sharing options...
ebr 14905 Posted March 26, 2015 Share Posted March 26, 2015 As luck would have it.... alert(). http://www.w3schools.com/jsref/met_win_alert.asp However, there may be a jquery mobile method you should be using instead (can't remember). The jquery docs are a good reference. Link to comment Share on other sites More sharing options...
chef 3745 Posted April 11, 2015 Author Share Posted April 11, 2015 If anyone else comes across this, you can create a "popup" <div> and then call it on a button press. But the button has to be an link , with the "href" pointing to the "popup div" with a "#", add these data-roles: 'data-transition="pop" data-rel="popup"' the 'popup div" has to have some class types added: ' data-role="popup" ' seems to work Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now