Skip to content

Commit 5651064

Browse files
authored
Add files via upload
1 parent 2c717f8 commit 5651064

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

index.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<h1><a href="https://learncodeweb.com/web-development/how-to-create-a-custom-popup-form-with-php-and-ajax/">How
2727
to create a custom POPUP form with PHP & Ajax</a></h1>
2828
<div class="text-center mt-5">
29-
<button type="button" class="btn btn-light mb-3 open-popup" data-href="https://learncodeweb.github.io/lightWeightPopup/contact-us.html"
29+
<button type="button" class="btn btn-light mb-3 open-popup" data-href="contact-us.html"
3030
data-content="ajax">Open Popup New</button>
3131

3232
<button type="button" id="popup" class="btn btn-primary mb-3" data-overlay="true"
@@ -368,7 +368,6 @@ <h1><a href="https://learncodeweb.com/web-development/how-to-create-a-custom-pop
368368
top: '50',
369369
overlay: true,
370370
type: 'ajax',
371-
method:'GET',
372371
ajaxHeaders: {
373372
'X-Another-Header': 'some-value',
374373
'Custom-Header': 'another-value'
@@ -388,7 +387,7 @@ <h1><a href="https://learncodeweb.com/web-development/how-to-create-a-custom-pop
388387
}
389388
});
390389

391-
$('#popup').lightWeightPopup({ type: 'ajax', href: 'contact-us.html', method: 'POST', overlay: true, width: '90%', maxWidth: '600px', title: 'Ajax Model' });
390+
$('#popup').lightWeightPopup({ type: 'ajax', href: 'contact-us.html', overlay: true, width: '90%', maxWidth: '600px', title: 'Ajax Model' });
392391
$('#inline').lightWeightPopup({ type: 'inline', title: 'Inline Model' });
393392
$('#ancher').lightWeightPopup({ type: 'ajax', width: '95%', maxWidth: '320px', title: 'Ajax Model' });
394393
$('#iframe').lightWeightPopup({ type: 'iframe', href: 'https://www.youtube.com/embed/foSaKHdXbss', maxWidth: '600px', height: '400px', title: 'Iframe Model' });
@@ -398,4 +397,4 @@ <h1><a href="https://learncodeweb.com/web-development/how-to-create-a-custom-pop
398397

399398
</body>
400399

401-
</html>
400+
</html>

0 commit comments

Comments
 (0)