Notification System Using JavaScript and Bootstrap


Welcome back to short learner , today we will see how we can make a notification system using java-script and bootstrap.
first of all you must have some basic knowledge of java script and bootstrap classes.
In this tutorial we will use some bootstrap classes for precise look of our web based notification system, and also we will use some of java script functions
to play sound.

For using bootstrap i would recommend the use of maxcdn files A maxcdn bootstrap file allows you to directly call all bootstrap functions without downloading the bootstrap package.

<link rel="stylesheet" href="">
<!-- jQuery library -->
<script src=""></script>
<!-- Latest compiled JavaScript -->
<script src=""></script>

Use these files inside your <head> section of your html code. Now we will write some javascript function which is used to show the preview of html code.
After putting maxcdn links in head section we move to the body part of our html code. in body section we make a form which will contains 2 fields , first is Name and another one is message. after filling name and message we click on to the submit button, after submission a javaascript function will be called and the function will invoke the sound script.

Also Read :
PHP Login Script With Remember me.
Change password using javascript, php and mysqli.
Password and Confirm Password Validation Using JavaScript
Check Email is Already Registered in Database using Ajax and JavaScript.
How to hide extension of html and php file.?

<h3 style="text-align: center; color: purple">Notification Sound Using Javascript</h3>
  <div >
                    <span></span> Shortlearner
                        <button type="button" data-toggle="dropdown">
  <form id="form1" >
                            <img src="" alt="User Avatar" />
                                    <strong>Shortlearner</strong> <small>
                                        <span></span>12 mins ago</small>
                                   Hey, welcome to <a href=""></a>.
  <input type="hidden" name="fname" value="form1"> 
  <input type="text" name="name" placeholder="Enter Name" required="required" style="width:100px;"> </div><br><br>
  <input type="text" name="msg" placeholder="Enter Msg" required="required"></div><br>
   <br><br><button type="button">Submit</button> 

Here is the javascript which is important to invoked the sound..

  $(function() {
     $("button").click(function() {
      var name = $.trim($("input[name='name']").val());
        var msg = $.trim($("input[name='msg']").val());
        if(name == '' || msg == '') {
            alert("Please enter required fields");
            return false;
        var audio = new Audio('notification.mp3');;
        $(".Shortlearner").append("<li class='right clearfix'><b>"+name+": </b> "+msg+"</li>");

Put the above javascript on the head section of your html code.
Note: the audio file must be present inside the same folder as your html code is placed.


  1. Raging Bull Casino is an online casino that has been that you can buy since around 2014. although it was formerly based in Costa Rica. It currently has a license from Costa Rica, which is one of the simpler to get regulatory licenses. Australian players have the ability to access Raging Bull Slots quickly and will begin playing right away. It includes a good range of different choices and the site design is one of the best out there. Raging Bull Casino’s customer As we have already mentioned, sister casinos are sites that are related or similar to the original casino. In case you did not like something specific about Raging Bull but enjoyed the service in general, these sites might be a great choice for you. The list of sister casinos of Raging Bull includes the following gambling sites: Accepted by many online casinos – there are many online casinos that now support accepting GCash deposits. The understand that to make playing easy, GCash must be an offered form of deposit and withdrawal. How can it not be, when every Filipino is using it? Live dealer casinos are more relevant than ever. Players crave live communication during the game, those who can live with them the moment of excitement and winning. Therefore, many casinos have added games to their functionality that offer to play with real dealers. Thus, using a special chat, the player can communicate with real people, discussing the course of the game or talking about other popular topics, thereby having a beneficial and fruitful time. These casinos also accept GCash as a payment method and allow you to withdraw your winnings using GCash.

  2.   如今,很多人去到香港, 香港的老街道两旁伫立着不少旧唐楼,在寸土寸金的香港,很早就有人利用唐楼楼梯口的小空间摆摊,不仅“地尽其用”,还容易吸引路人的注意。 说起麻将,一般人会想到乌烟瘴气的茶馆,烟雾缭绕下昏黄的灯光;但还有一种是李安的电影《色、戒》中优雅的麻将,这些富太太们在战乱年代唯一的消遣社交就只剩得躲在屋内打麻将了,她们翘着涂着红蔻丹的小指轻轻的碰牌,轻描淡写的聊着八卦其实下面影藏着一圈又一圈的心机。 FacebookTwitterYoutube 正宗香港麻雀-特色七番好牌玩法 is on the top of the list of Card category apps on Google Playstore. It has got really good rating points and reviews. Currently, 正宗香港麻雀-特色七番好牌玩法 for Windows has got over 10,000+ Game installations and 4.3 star average user aggregate rating points.斗-地主-的-玩-法 普通七对:2番,无风七对:3番,豪华七对:4番,一共9番,45元。七小对,国标麻将规则的番种,是基本胡牌型的一种,以七种对子成和。连七对,是麻将中和牌的一种方 Simplemente disfrute de 正宗香港麻雀-广东麻将,欢乐斗地主 PC en la pantalla grande de forma gratuita! 星期一至五 10.00am-3.00pm 请注意在付钱表的番数会有不同变化, 因为这是根据玩家喜好而把最低番数和最高番数放在付钱表内任何一行。自摸的最低价通常是2 。 Looking for a way to Download 正宗香港麻雀-特色七番好牌玩法 for Windows 10 8 7 PC? You are in the correct place then. Keep reading this article to get to know how you can Download and Install one of the best Card Game 正宗香港麻雀-特色七番好牌玩法 for PC.

  3. The general rule for dosing CBD is to take 1-6 mg for every 10 lbs of body weight. It’s better to start small and track the amount you’re taking and the effects you’re experiencing. For more information, check out our guide to CBD dosage. We took the latest dosage recommendations and turned this into an easy-to-use CBD dosage calculator. Simply enter your weight to receive a dosage range. However, some scientists who study cannabis say that these generalizations of indica and sativa aren’t particularly accurate or useful. More important, they say, is the composition of cannabinoids and terpenes. When considering using cannabis for sleep (or other health conditions), these scientific experts say we’re better served by using an understanding of the effects of cannabinoids and terpenes to choose the particular strain that’s most suited to our individual needs. While legalization is a federal decision, the provinces and municipalities also have areas of responsibility. The first state to allow for medical marijuana use was California in 1996. Although many states have passed this legislation, there are significant differences among those laws. For example, some states require patient registry or ID cards, some allow for dispensaries or retail sales, and some states only allow use for specific medical conditions, such as epilepsy. Some states do not actually legalize medical marijuana, but allow it to be used as legal defense to criminal possession. Researchers conducted telephone interviews with the doctors between January and October 2019 and published their findings in the Canadian Medical Association Journal Open this month. Summary Report of the Medical Cannabis Research Roundtable, urging Federal investment in medical cannabis research and clinical trials.

  4. Kolejną istotną kwestią jest to, że kolory nigdy nie są brane pod uwagę przy rozstrzyganiu wyższości rozdania. W przypadku remisów, czyli dwóch takich samych par u dwóch graczy, o zwycięstwie decyduje wyższość piątej, czyli kickera. W pokerze Texas Hold’em panuje zasada „karty mówią”, która oznacza, że podczas showdownu nie trzeba określać siły swojego układu. Wystarczy, że odsłoni się swoje karty, a porównania dokona krupier lub oprogramowanie pokerowe w przypadku gier online. Informacje o “Zasady Gry” zostały przedstawione dzięki Prawdziwość tego twierdzenia potwierdza fakt, że wielu graczy na świecie z grania w pokera zrobiło sobie zawód i stałe źródło dochodu. Również ustawodawstwo niektórych krajów uznaje pokera w odmianie holdem za grę umiejętności (tzw. “skill of game”). Gry kasynowe czy to w posiadających licencję kasynach naziemnych czy w salonach gry muszą przestrzegać norm dotyczących odległości od szkół i kościołów, a także liczby na jednego mieszkańca. I tak w miejscowościach do 250 tys. mieszkańców może funkcjonować tylko 1 kasyno. W przypadku województw na 1 kasyno przypada 650 tys. mieszkańców. Legalne kasyna są dopuszczalne także na polskich pełnomorskich statkach pasażerskich i promach pasażerskich. Grę należy rozpocząć jednak pół godziny po wypłynięciu statku z portu. Gry kasynowe czy to w posiadających licencję kasynach naziemnych czy w salonach gry muszą przestrzegać norm dotyczących odległości od szkół i kościołów, a także liczby na jednego mieszkańca. I tak w miejscowościach do 250 tys. mieszkańców może funkcjonować tylko 1 kasyno. W przypadku województw na 1 kasyno przypada 650 tys. mieszkańców. Legalne kasyna są dopuszczalne także na polskich pełnomorskich statkach pasażerskich i promach pasażerskich. Grę należy rozpocząć jednak pół godziny po wypłynięciu statku z portu.

  5. [url=]appetite suppressants over the counter[/url] over the counter muscle relaxers cvs

  6. Existem muitas carteiras de criptomoedas por aí. Então, por que você deve escolher MetaMask? Vamos dar uma olhada nos prós e contras da carteira MetaMask: O fato é que alguns nichos podem ser bastante complicados de monetizar ou de encontrar uma forma de lucrar. Pois é, a Braip é muito semelhante à líder de mercado Hotmart, porém com foco exclusivo para a venda de produtos físicos mesmo, Clique aqui para cadastrar na braip gratuitamente. Além disso, use estratégias de SEO em seus pins. Blockchain Game: Trata-se de jogo para Android que explora a agilidade e reflexo do usuário, que pode faturar até 30 mil bônus Bitcoins por dia. Bitcoin é uma moeda virtual que possibilita realizar em quitações eletrônicas a capacidade dos pagamentos com cédulas. Pagamentos com bitcoins são ágeis, baratos e sem intermediários. Sobretudo, eles são capazes de ser realizados para qualquer ser humano, que ache-se em qualquer parte do mundo, sem limite mínimo ou máximo de valor. Esta moeda virtual indica um novo tipo financeiro sem governos ou instituições financeiras. Todas as transações são feitas de usuário para usuário. UNI é o símbolo do protocolo Uniswap, que confere ao seu titular direitos de gestão. Isso significa que os detentores da UNI podem votar a favor de mudanças no protocolo.  Uniswap é um protocolo financeiro descentralizado usado para trocar criptomoedas. Uniswap também é o nome da empresa que construiu inicialmente o protocolo Uniswap. O protocolo facilita transações automatizadas entre tokens de criptomoeda no blockchain Ethereum por meio do uso de contratos inteligentes. O preço de agora de Uniswap de hoje é de R$35.19 BRL com um volume de negociação em 24 horas de R$818,518,326 BRL. Atualizamos nosso preço de UNI para BRL em tempo real. Uniswap subiu 3.90% nas últimas 24 horas. A classificação atual na CoinMarketCap é de #17, com uma capitalização de mercado de R$26,820,623,989 BRL. Há um fornecimento em circulação de 762,209,327 UNI moedas e um máximo. fornecimento máximo de 1,000,000,000 UNI moedas

  7. [url=]over the counter migraine medicine[/url] best over the counter weight loss pills

  8. [url=]what is the best over-the-counter anti-inflammatory for dogs[/url] what is the best over-the-counter anti-inflammatory for dogs

  9. Разные виды насадок. Таким образом можно расширить функциональность массажера. Благодаря 5 сменным насадкам перкуссионный массажер Naipo Gun MGPC-007 – универсальный гаджет, который прорабатывает любые мышечные группы в любой части тела. Антицеллюлитные электрические массажеры, кроме вибрационного воздействия, благодаря инфракрасному излучению обладает согревающим действием. При частом использовании позволяет достичь желаемых результатов. Наверное, самый лучший антицеллюлитный массажер для тела по соотношению цена/простота использования – силиконовые банки. Они продаются во всех аптеках и стоят действительно недорого, а эффективность вакуумного массажа давно подтверждена практическими результатами. Допомога з оплатою товару Выпускают такую технику, как электрический роликовый массажер для спины и шеи, многие известные производители, однако отзывы пользователей обращают внимание на следующие наиболее популярные марки и модели электромассажеров: Существуют и другие виды этого декоративного средства, которые продаются в Украине. Например, тушь с фиброй — в ее составе есть маленькие ворсинки, которые увеличивают объем бровей и делают их цвет более выразительным. Маркер с ультратонким аппликатором с зубчиками обеспечивает сверхточное нанесение волосок к волоску для натурального эффекта на бровях. С помощью зубчиков легко имитировать волоски для придания густоты бровям. Маркер в наличии в трех оттенках: коричневый, светло-коричневый, темный блонд. На сегодняшний день в магазинах косметики можно увидеть огромный выбор тушей для бровей. Но не все они являются качественными и безопасными. Ниже описаны пять наиболее популярных образцов туши для бровей. Татуаж можно заменить правильно подобранной тушью для бровей. Если её правильно использовать, вы приведёте непокорные волоски в порядок. Тушь уложит брови в нужную форму. Затруднений возникнуть не должно – тушь оснащена специальной удобной щёточкой, благодаря чему проста в использовании.

  10. บาคาร่าเป็นหนึ่งในเกมคาสิโนที่ได้รับความนิยมมากที่สุดในโลก เกมนี้เล่นด้วยสำรับไพ่และมีกฎที่ง่ายมาก A : ลูกค้าสามารถที่จะติดต่อทีมงานของเรา เพื่อให้ทางทีมงาน reset รหัสผ่านให้กับลูกค้า โดยที่ลูกค้าสามารถแจ้งเข้ามาได้ตลอด 24 ชั่วโมง คำถามที่พบบ่อยที่สุดเกี่ยวกับกระเป๋าเงินจริงของบาคาร่าไม่มีขั้นต่ำคือวิธีการเล่น มีสามวิธีพื้นฐานในการเล่นบาคาร่า:
    การเล่นการพนันแบบออนไลน์มีประโยชน์มากมาย: สแกนพิ่มเพื่อน พัธมิตร สปอนเซอร์ พนันบาคาร่าออนไลน์หลากหลายรูป เริ่มต้นเพียง 10 บาท อัตตราจ่ายดีที่สุด เพิ่มความสมจริงด้วย Live Baccarat ถ่ายทอดสด GClub มีความปลอดภัยหรือไม่ การเล่นการพนันแบบออนไลน์มีประโยชน์มากมาย: GClub มีความปลอดภัยหรือไม่

  11. The police press statement seen by the Madrid Metropolitan details a sophisticated operation by the fraudsters who were operating through the Madrid region. While this could just be a coincidence, it could also be indicative of a rigged machine. Another factor that could make automated roulette machines seem suspicious is the fact that they are often located in areas where there is not a lot of foot traffic. Auto roulette is still real roulette. It involves a real physical roulette wheel and the ball. However, you can’t beat all wheels. This article discusses the differences between live dealer roulette, and auto roulette. With integrating Progressive Jackpot System in the electronic roulette game, casino games owners gain considerable advantage over the competitors. When choosing Progressive Jackpot System operators can decide whether they want the roulette machine to further incentivise the full-number bets by automatically including them in the Jackpot System, or simply run the Jackpot as a side bet.
    Home » USA Online Casino Blog » How to win at roulette every time you play Naturally just a mention of a sure win at Roulette or any other casino or lottery game rises (or should rise) suspicions and is dishonest and untrustworthy. Even though we can find those who would give a selfless hint for free or share their secrets, the opposite would likely hold true. In any case no hint, guide, strategy or system can reverse an implicit house edge. Therefore it is impossible to beat casinos in the long run. Here the “good” hint is motivated by endeavor to earn on those who believe that they can keep winning easily. There is rarely something like an easy way in life, not to mention gambling industry. In 2018, the U.S. Supreme Court gave states permission to legalize sports betting if they wish to do so. It is still fully illegal in 17 states, including California, Massachusetts, and Texas. In four other states, there is some form of pending legislation.

  12. Sie suchen nach einem Echtgeld Casino Bonus? Mögen Sie es exklusiv und suchen Sie vielleicht sogar nach einem Online Casino Echtgeld Bonus ohne Einzahlung? Bei uns sind Sie richtig. Schnappen Sie sich Online Casino Echtgeld Freispiele ohne Einzahlung oder auch mit, Einzahlungsboni oder den beliebten No Deposit Bonus. So können Sie länger spielen und müssen manchmal gar keine eigene Einzahlung tätigen, um Casino Spiele zu spielen. Echtes Geld gewinnen können Sie aber dennoch. Grundsätzlich sollten Sie ein Online Casino danach wählen, ob Sie das Spielangebot anspricht. Ihre bevorzugten Casino Games sollten im Programm sein. Wenn Sie neue Spiele kennenlernen wollen, ist ein breites Spielangebot wichtig. Damit alle anderen wichtigen Punkte ebenfalls stimmen, haben wir bereits eine Bestenliste zusammengestellt. Bei den von uns empfohlenen Online Glücksspiel Anbietern können Sie sich auf zuverlässige Zahlungsmethoden, EU Lizenz, Kundenservice und Auszahlungsquote verlassen.
    Um mit den Casino Apps für das iPhone mit Echtgeld loszulegen, müssen Sie nur ein Konto erstellen, eine Einzahlung t䴩gen und schon kann es losgehen. Daher sollten Sie sich zuerst Zeit nehmen und unsere Bewertungen lesen, damit Sie sich sich ein iPhone Casino online aussuchen können, das zu Ihnen passt. Wenn ihr in der Echtgeld Slots App spielen möchtet, empfiehlt es sich einen Bonus in Anspruch zu nehmen. Mit dem zusätzlichen Startguthaben könnt ihr viele Spielautomaten unterwegs testen. Einige Casino Apps bieten euch dafür sogar Casino Free Spins an. Einige Promotionen erfordern einen Bonus Code. Das Angebot hier unten erhaltet ihr ohne Promo Code direkt nach eurer Casino Einzahlung. Einige Attribute von Applauz stimmen nicht mit den gesendeten Werten überein

  13. Best and news about drug. Drug information.
    [url=]ivermectin oral 0 8[/url]
    Get information now. Get warning information here.

  14. Read now. Some are medicines that help people when doctors prescribe.
    [url=]ivermectin cost uk[/url]
    Everything information about medication. Read information now.

  15. Read information now. All trends of medicament.
    [url=]stromectol medication[/url]
    Some are medicines that help people when doctors prescribe. Long-Term Effects.

  16. Learn about the side effects, dosages, and interactions. Everything information about medication. where to buy stromectol online
    Everything information about medication. Definitive journal of drugs and therapeutics.

  17. Sie können den Book of Ra Deluxe Slot auch auf allen gängigen mobilen Geräten spielen. Das Spiel ist perfekt integriert und bietet Ihnen einen tollen Spielablauf und großartige Gewinnkombinationen, so wie Sie es auch von der originalen Version gewohnt sind. Sie können hier regelmäßig mit den erweiterbaren Symbolen, Freispielen und Wild-Symbolen gewinnen. Das Automatenspiel Book of Ra™ Deluxe lässt sich jederzeit online unverbindlich ausprobieren. Viele Casinos bieten den beliebten Novoline-Klassiker an und legen obendrauf einen Bonus für die Anmeldung. So macht der Einstieg gleich doppelt Spaß. Das Entwicklerteam verfolgt scharf alle neusten Trends auf dem Spielmarkt und in den Anfragen der Kunden. So erschien 2017 Book of Ra Deluxe Jackpot Version als Modetribut und rechtzeitige Reaktion des Herstellers auf die Nachfrage der Spieler. Erwähnenswert sind besondere Applikationen für Spielformate: Book of Ra Roulette, Bingo, Dice, interessante Sujetanwendungen wie Book of Ra Magic, Temple of Gold, Mystic Fortunes.
    Im Online Casino mit hoher Gewinnchance müsst Ihr also immer zuerst nach den richtigen Spielen suchen. Eure Online Casino Auszahlungen hängen nicht von der durchschnittlichen Auszahlungsquote in allen Casino Spielen einer Seite ab. Die wichtigste Faustregel lautet dabei: spielt in keinen Online Casinos mit neuer deutscher Lizenz. Dort findet Ihr aufgrund der neuen Steuer die niedrigsten Auszahlungsraten und fast keine Auswahl an Casino Spielen. Online-Casinos nehmen den Schutz Ihrer Kunden sehr ernst. Sollten Sie das Gefühl haben einer Spielsucht zu verfallen, dann wenden Sie sich an den Kundendienst oder eine Fachstelle. Egal, wie gut die von Ihnen gewählte Casinoseite bezüglich Auszahlungen ist, die Schnelligkeit hängt oftmals davon ab, welche Auszahlungsmethode Sie wählen. Mit der Ausnahme an Seiten die wirklich langsam in der Auszahlungsbearbeitung sind, ist das der wichtigste Faktor, wenn es zu der Schnelligkeit von Auszahlungen kommt.

  18. Top 100 Searched Drugs. Long-Term Effects.
    [url=]ivermectin usa price[/url]
    Medscape Drugs & Diseases. earch our drug database.

  19. Read now. Learn about the side effects, dosages, and interactions.
    [url=]ivermectin cream canada cost[/url]
    What side effects can this medication cause? Get warning information here.


Please enter your comment!
Please enter your name here