Search
 
SCRIPT & CODE EXAMPLE
 

JAVASCRIPT

jquery alert design


<script src="alert/jAlert-v3.min.js"></script>
<script src="alert/jAlert-functions.min.js"></script>
<script>
 
$('.alertdemo').on('click', function(e){
 
e.preventDefault();
 
theme = "blue";
 
 
 
$.jAlert({
 
'title': 'jAlert Demo',
 
'content': 'This is a simple jAlert that is based at jQuery!',
 
'theme': theme,
 
'backgroundColor': 'white',
 
'btns': [
 
{'text':'OK', 'theme':theme}
 
]
 
});
 
});
 
</script>
Comment

PREVIOUS NEXT
Code Example
Javascript :: jquery ajax form submission 
Javascript :: drawer navigation set width react native 
Javascript :: get largest number in array javascript 
Javascript :: vuetify change text color of radio button 
Javascript :: javascript check if two keys are pressed 
Javascript :: nodejs on exit event 
Javascript :: cheerio get href text 
Javascript :: phaser 3 add button 
Javascript :: You need to authorize this machine using `npm adduser` 
Javascript :: js unique array 
Javascript :: how to detect onend reach of scrollview in react native 
Javascript :: Round off a number to the next multiple of 5 using JavaScript 
Javascript :: if select option disabled jquerz 
Javascript :: update angular materia; 
Javascript :: javascript replace doublequote with empty string 
Javascript :: Toggle on button click in react js functional component 
Javascript :: properly import mat icon angular 10 
Javascript :: transitionduration js 
Javascript :: express get raw path 
Javascript :: javascript create array from 1 to n 
Javascript :: Deleting all white spaces in a string 
Javascript :: js select element by css selector 
Javascript :: how to install mongodb in node js 
Javascript :: draw line in javascript 
Javascript :: ... unicode 
Javascript :: javascript parse json string 
Javascript :: innertext vs textcontent 
Javascript :: redux persist a non-serializable value was detected in an action in the path register 
Javascript :: replace spaces with backslash js 
Javascript :: kendo clear selection 
ADD CONTENT
Topic
Content
Source link
Name
3+7 =