How to Show message instead of alert
By FoxLearn 2/16/2024 9:42:37 AM 63
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 Add Active Navigation Class Based on URL
- How to Display popup message in Javascript
- How to fix 'Uncaught TypeError: Cannot read property 'fn' of undefined'
- How to Format numbers with commas in Javascript
- How to format number with commas and decimal in Javascript
- How to Pass string parameter in an onclick function
- How to get @Url.Action url in a separate script file?
- How to use sweetalert2
Categories
Popular Posts
Visual Studio: Auto increment version
04/01/2024
What is ARM architecture?
04/01/2024