PHP
OOPs
JavaScript
JQuery
Ajax
Codeigniter
Laravel
MySql
Node.js
Tutorials
C
C++
Json
Codeigniter 4
htaccess
wordpress
react.js
Blogs
Fundamental
Python
Search Your Query
×
--- Select Category ---
PHP
OOPs
JavaScript
JQuery
Ajax
Codeigniter
Laravel
MySql
Node.js
Tutorials
Blogs
Fundamental
Python
Most Popular Tutorials
What is Javascript
BOM (Browser object model)
DOM (Document object model)
Variable
Variable is empty or Not
Javascript output
Function
Events
Array
Get text value
Get Form field value
Pattern validation
Form validation
Checkbox validation
Inner Html form validation
Form validation on php server
Window and window location
Get Text Value
get javascript value in php
Date Format
Get php variable in javascript
Redirect page in javascript
Auto Refresh page and DIV
Get text value from dropdown
Clear Browser History
Get Checkbox value
select (Dropdown)
PopUp Contact Form
sidebar contact form
Show modal on page load
Auto calculate price GST
print html and Div content
Calculate Discount prince
Checked single or all checkbox
Auto Fill form data on click checkbox
Show subcategory (Dependent Dropdown)
country, state, city (Dependent Dropdown)
Image upload with preview image
Filter table data
Character Limit Validation
uploading file size validation
Special Character validation
multiple file upload (Add more)
function call after page load
Disable Submit Button After Form Submission
disable browser back button
Remove selected item from second & third dropdown list
Interview Question
Active Tab Menu
String methods
Tutorials Menus
What is Javascript
BOM (Browser object model)
DOM (Document object model)
Variable
Variable is empty or Not
Javascript output
Function
Events
Array
Get text value
Get Form field value
Pattern validation
Form validation
Checkbox validation
Inner Html form validation
Form validation on php server
Window and window location
Get Text Value
get javascript value in php
Date Format
Get php variable in javascript
Redirect page in javascript
Auto Refresh page and DIV
Get text value from dropdown
Clear Browser History
Get Checkbox value
select (Dropdown)
PopUp Contact Form
sidebar contact form
Show modal on page load
Auto calculate price GST
print html and Div content
Calculate Discount prince
Checked single or all checkbox
Auto Fill form data on click checkbox
Show subcategory (Dependent Dropdown)
country, state, city (Dependent Dropdown)
Image upload with preview image
Filter table data
Character Limit Validation
uploading file size validation
Special Character validation
multiple file upload (Add more)
function call after page load
Disable Submit Button After Form Submission
disable browser back button
Remove selected item from second & third dropdown list
Interview Question
Active Tab Menu
String methods
Share On Facebook
How to show modap on page load using javascript?
Show modal popup on page load
File name : index.php
<!doctype html>
<html lang="en">
<head>
<!-- Required meta tags -->
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/css/bootstrap.min.css">
<title>Hello, world!</title>
</head>
<body>
<h1>On page load show Modal Popup !</h1>
<!-- Modal -->
<div id="idname" class="modal fade" id="exampleModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="exampleModalLabel">Modal title</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
Modal body text goes here.
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">Close</button>
<button type="button" class="btn btn-primary">Save changes</button>
</div>
</div>
</div>
</div>
<!-- jQuery first, then Popper.js, then Bootstrap JS -->
<script src="http://khaalipaper.com/js/jquery-3.2.1.min.js"></script>
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.1.1/js/bootstrap.min.js"></script>
<script type="text/javascript">
$(document).ready(function(){
$("#exampleModal").modal('show');
});
</script>
</body>
</html>
Share On Facebook
Previous
Next
Trending Tutorials
PHP
100+ Tutorials
PHP OOPs
80+ Tutorial
Codeigniter
100+ Tutorial
Laravel
100+ Tutorials
NODE.JS
100+ Tutorials
Javascript
100+ Tutorials
Download Live Projects
Review & Rating
0.0
/ 5
0
Review
5
(
0
)
4
(
0
)
3
(
0
)
2
(
0
)
1
(
0
)
Write Review Here
Review
Submit Review
×
Submit
Ittutorial
Ittutorial
Most Popular Tutorials
Filter table data
uploading file size validation
Events
Auto Fill form data on click checkbox
get javascript value in php
Remove selected item from second & third dropdown list
Get Text Value
Date Format
Inner Html form validation
Pattern validation
Array
Window and window location
Active Tab Menu
country, state, city (Dependent Dropdown)
Javascript output
disable browser back button
Clear Browser History
BOM (Browser object model)
Get php variable in javascript
Get Form field value
Important Link
Core php Online Advance Tutorails and video Tutorials.
How to manage Session in php Tutorials.
More .......
upcomming codeigniter and angular js tutorials.
Click here to see More ...
Hello Friend Please Follow & Share Ittutorial.
×
Ittutorial
Please Follow and Share ittutorial.
Ittutorial