How to Show message instead of alert
By FoxLearn 2/16/2024 9:42:37 AM 353
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 convert voice to text in Javascript
- LET vs VAR in JavaScript Variable Declarations
- How to add voice commands to webpage in Javascript
- How to capture an image in javascript
- How to Build Your Own JavaScript Library
- How to reverse a string properly in Javascript
- How to bypass 'Access-Control-Allow-Origin' error with XMLHttpRequest
- What is Hoisting in JavaScript
Categories
Popular Posts
Stisla Admin Dashboard Template
11/18/2024
Admin Tailwind CSS Admin Dashboard Template
11/18/2024
Portal HTML Bootstrap
11/14/2024