Hi I am trying to load bootstrap modal on page load.
I have referred this links:
Modal error – Uncaught TypeError: undefined is not a function modal
Bootstrap : TypeError: $(…).modal is not a function
TypeError: $(…).modal is not a function with bootstrap Modal
So As per them I arranged my scripts as:
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script src="<?php echo site_url('js/bootstrap.min.js'); ?>"></script>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-1.12.0.min.js"></script>
<script src="<?php echo site_url('assets/js/jquery-1.11.1.min.js');?>"></script>
<script src="<?php echo site_url('assets/js/jquery.backstretch.min.js');?>"></script>
<script src="<?php echo site_url('assets/js/retina-1.1.0.min.js');?>"></script>
<script src="<?php echo site_url('assets/js/scripts.js');?>"></script>
And My Modal code like this:
<div class="modal hide fade" id="myModal">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Subscribe our Newsletter</h4>
</div>
<div class="modal-body">
<p>Subscribe to our mailing list to get the latest updates straight in your inbox.</p>
<form>
<div class="form-group">
<input type="text" class="form-control" placeholder="Name">
</div>
<div class="form-group">
<input type="email" class="form-control" placeholder="Email Address">
</div>
<button type="submit" class="btn btn-primary">Subscribe</button>
</form>
</div>
</div>
</div>
</div>
<script type="text/javascript">
$(window).load(function(){
$('#myModal').modal('show');
});
</script>
But I am still getting the error on my modal is not being loaded. What can be the possible solution to this? How should be my scripts called in correct way
modafinil anxiety – provigil 200mg provigil for sale
buy accutane cheap online – where to buy accutane online uk accutane prices uk
buy amoxicilina 500 mg – amoxil 500mg antibiotics without a doctors prescription
buy vardenafil viagra – order vardenafil online uk generic vardenafil
stromectol ivermectin 3 mg – ivermectin side effects buy oral ivermectin
online pharmacy in germany – cialis from canadian pharmacy cheap cialis fast shipping
price of stromectol – stromectol for lice ivermectin drug
accutane europe – accutane india accutane costs uk
where to buy lyrica cheap – buying drugs from canada canadian pharmacy ratings
buy amoxil online – buy amoxil buy amoxicilina 500 mg
price of viagra 100mg in india – sildenafil tablets from india 100mg tablets viagra 100mg price comparison
non prescription cialis – american pharmacy generic tadalafil canada
ivermectin tablets uk – how to buy stromectol ivermectin 3mg
prednisone drugs – prednisone by mail buy prednisone 1 mg mexico
provigil online – modafinil alternatives buy modafinil online
buy zithromax 100mg – zithromax 100mg online buy zithromax online
lasix canadian pharmacy – furosemide 40mg cost medicine lasix 20 mg
generic clomiphene – clomid dosage clomid 50mg
cheap erectile dysfunction pills online – lemonaid ed pills generic ed pills
100 mg prednisone daily – buying prednisone online apo-prednisone
how much is prednisone cost – sterapred ds prednisone online sale
order accutane online canada – buy cheap accutane online accutane 40003395956
purchase hydroxychloroquine generic – buy hydroxychloroquine 400mg without prescription valtrex cheap
ampicillin online buy – order ampicillin sale hydroxychloroquine 200mg pill
order plaquenil 400mg sale – order plaquenil for sale plaquenil 200mg usa
buy sildenafil 150mg pill – order sildenafil 100mg without prescription cialis 10mg us
sildenafil 50mg comprimГ© – viagra 50mg sans ordonnance en pharmacie cialis 5mg en france
ivermectin oral – stromectol 3mg without prescription stromectol south africa
order prednisone without prescription – prednisone over the counter brand prednisone 10mg
pregabalin 150mg brand – ventolin inhalator price buy zithromax pills
buy atarax 25mg online cheap – order motilium for sale buy crestor without prescription
inderal 10mg drug – plaquenil 200mg cheap order hydroxychloroquine 200mg without prescription
order generic chloroquine – oral baricitinib 4mg sildenafil online