26
26
< h1 > < a href ="https://learncodeweb.com/web-development/how-to-create-a-custom-popup-form-with-php-and-ajax/ "> How
27
27
to create a custom POPUP form with PHP & Ajax</ a > </ h1 >
28
28
< 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 "
30
30
data-content ="ajax "> Open Popup New</ button >
31
31
32
32
< 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
368
368
top : '50' ,
369
369
overlay : true ,
370
370
type : 'ajax' ,
371
- method :'GET' ,
372
371
ajaxHeaders : {
373
372
'X-Another-Header' : 'some-value' ,
374
373
'Custom-Header' : 'another-value'
@@ -388,7 +387,7 @@ <h1><a href="https://learncodeweb.com/web-development/how-to-create-a-custom-pop
388
387
}
389
388
} ) ;
390
389
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' } ) ;
392
391
$ ( '#inline' ) . lightWeightPopup ( { type : 'inline' , title : 'Inline Model' } ) ;
393
392
$ ( '#ancher' ) . lightWeightPopup ( { type : 'ajax' , width : '95%' , maxWidth : '320px' , title : 'Ajax Model' } ) ;
394
393
$ ( '#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
398
397
399
398
</ body >
400
399
401
- </ html >
400
+ </ html >
0 commit comments