Best way to trigger a js function ?
My client would like a pop-up window to appear when a member logs in, if there are any messages or other outstanding info which has appeared since they last logged in.
I am recording when members log in and out, so that is ok, so what I want to do is call a js openwindow() function if, for example, the messages recordset contains any rows
I can do this easily enough with a button ‘on click’ event, but can’t work out how to do it if there isn’t a button or some other interaction
I don’t want to call the function on load, but only if the recordset is not empty