How to Show message instead of alert
By FoxLearn 2/16/2024 9:42:37 AM 225
To show a message instead of using the alert box you can insert a hidden div on your form and show it instead of using the alert.
Add a class to div tag
<div class="message-box"></div>
and javascript
<script> $(".message-box").text("Welcome to foxlearn.com !").show(); </script>
- How to get datatype in JavaScript
- How to convert string to boolean in Javascript
- How to fix 'Fetch request to https:www.google.com fails with CORS'
- How to Check Internet Connection Status in Javascript
- How to download file using JavaScript
- How to get selected option in JQuery
- How to get data attribute JavaScript
- How to Convert a String to an Integer in JavaScript
Categories
Popular Posts
Spica Admin Dashboard Template
11/18/2024