_tina_ Posted September 24, 2009 Share Posted September 24, 2009 Hi, I am new to jquery. What I need to do is, if a person clicks a certain button and are not logged in, then a message will pop up prompting them to log in. I am using jquery.ui.min.js Does anybody know how to do this? Thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/175383-jqueryuimin-dialog/ Share on other sites More sharing options...
RichardRotterdam Posted September 25, 2009 Share Posted September 25, 2009 I think you need to do this serverside since you need to check wether or not a person is logged in. If a person is not logged in you could output some html/javascript which would give an alert on a button event. Quote Link to comment https://forums.phpfreaks.com/topic/175383-jqueryuimin-dialog/#findComment-924975 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.