Facebook style confirm alert box

| Last Updated: | In: Facebook, HTML / CSS, Javascript & Ajax


When i am developing a web application, there i have to open a confirm alert box that ask for confirmation when user has change his some privileges, then i will be find out the facebook.alert.js for alert box like facebook.

You can also customize the appearance of the alert box some changes in style.css

fbalert

Javascript Code

Add below javascript code before head tag closed. In the below code i have defined the alert message like facebook notification message.

HTML Code

Style.css code

demo download.

Tags: , , , , , , , ,


About: Prem Tiwari

Prem Tiwari is founder of freewebmentor.com and Software developer from New Delhi (India). Follow Prem's development codes on facebook, and make sure you check out freewebmentor.com for the latest in web development related Tips with the complete code.


You may also like:

Follow us!

Get Free Access of 350+ Scripts

Don't worry you'll not be spammed!

Featured eBook

WordPress Security Guide

Learn how to implement security guideline in your WordPress site...

DOWNLOAD

Pincode Finder

pincode-finder tool

Online Pincode Finder

Best tool to locate post Office address and pincodes of all india...

SEARCH NOW