javascript - Twitter Bootstrap alert (notification) dynamically change text -


simple question, didn't succeed finding satisfactory answer on so.

when have bootstrap alert:

<div id='alert' class='alert alert-error hide'>alert.</div> 

i want text controlled using either javascript of jquery, looked @ solution this problem, have complicated? really?

as simple as: $("#alert").text("my new text");


Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -