How to Show message instead of alert
By FoxLearn 2/16/2024 9:42:37 AM 174
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 data attribute JavaScript
- How to Convert a String to an Integer in JavaScript
- How to use getday in Javascript
- How to use repeat in Javascript
- How to use regexp in javascript
- How to get url parameter in javascript
- How to Format numbers with commas in Javascript
- How to format number with commas and decimal in Javascript
Categories
Popular Posts
How to sign a powershell script
10/03/2024
How to get Credentials in PowerShell?
10/03/2024
How to implement Jint in C#
09/14/2024