I would like to ask how do I make a notification section like in Facebook and Twitter where when we click the button it shows out all the notification. I am currently using BootStrap and Jquery to develop a social app. Anyone have tutorials or can give me sources on how to do this? thanks
Question posted in Twitter Bootstrap
2
Answers
If you want to send notifications to someone I would use something languages like SQL and PHP but if you don’t want to send anything to anyone heres an example for you:
the key to this is using jquery’s val() to get the value of an input then append something to the screen with that text with the text method again.
Heres the code to do it:
TIP: research all parts of the code you dont understand I recommend searching and putting w3schools because its a very good place to learn
If you want the notifications to hide its easy. Just use ‘fadeToggle()’ and a button like this: