-
Notifications
You must be signed in to change notification settings - Fork 273
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
can i put a form in notice type jbox? #14
Comments
i want to use jbox notice as incoming message which showing data and two buttons. I insert string of element in content. but when i click button it does not work. |
Sorry for answering so late! If you are still having that problem, could you provide some code, so I can have a look at what you are trying to do. |
The problem is solved. I declared button click event like this: |
Ok, its not the nicest solution, but if it works for you, all right. |
Ah, OK, I see what you'd like to do. Firstly, I think you would be better off creating this with a jBox 'Modal' as jBox Notices normally are only useful to show a notice and then disappear. Let me know if you like a jBox Modal Example that has the same functionality as your example, I'd be more than happy to create one. Meanwhile, your code does work, but I have a few improvements if you like: Also, Notices close themselves when you click on the notice itself (anywhere). So I would add the option See this fiddle here, thats how I would do it with type Notice: http://jsfiddle.net/StephanWagner/gybpytr4/ But as I said above, you could achieve the same behavior with type Modal. |
Thanks you very much. |
That must be an error on your side then. When you define the function in global scope, the Alternatively you could also just add the |
No description provided.
The text was updated successfully, but these errors were encountered: