Comments on: How to Load Dynamic Content in Bootstrap Modal https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/ Web & Mobile App Development Company Fri, 29 Nov 2024 15:40:34 +0000 hourly 1 By: Eswar https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-261084 Fri, 29 Nov 2024 15:40:34 +0000 https://www.codexworld.com/?p=2651#comment-261084 Nice Coding, its really helped me lot

]]>
By: Martin https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-181709 Tue, 07 Jun 2022 11:46:05 +0000 https://www.codexworld.com/?p=2651#comment-181709 my code looks like this

$(‘.openBtn’).on(‘click’,function(){
var id = $(this).attr(‘data-id’);
alert (“Made it here: Variable is = “+id);
$(‘.modal-body’).load(‘fetch_record.php?rowid=’+id,function(){
$(‘#myModal’).modal({show:true});
});
});

]]>
By: Chris https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-141590 Mon, 31 May 2021 13:32:57 +0000 https://www.codexworld.com/?p=2651#comment-141590 Ah, the CSS is being overridden by the “bootstrap-4.4.1.css” :(. I probably need these to be restyled in my CSS or apply a separate class.

]]>
By: Chris https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-141588 Mon, 31 May 2021 13:19:22 +0000 https://www.codexworld.com/?p=2651#comment-141588 This is great, although the modal text is much larger than the original HTML (I’m linking to a simple HTML page on the same site). CSS seems to be applied correctly to the modal, but heders are massive (for example).

]]>
By: ezzah https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-81195 Sun, 24 Mar 2019 12:56:27 +0000 https://www.codexworld.com/?p=2651#comment-81195 Thank you so much. It Really helped me a lot.

]]>
By: Juan Marmot https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-55653 Mon, 09 Apr 2018 01:14:27 +0000 https://www.codexworld.com/?p=2651#comment-55653 Hello, how i can reload the principal page when i close modal windows?
very thank

]]>
By: Ron senina https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-54779 Thu, 15 Mar 2018 07:03:14 +0000 https://www.codexworld.com/?p=2651#comment-54779 Thanks for this one. =)

but ive got one question.

whta if ive got multiple anchor buttons on a table and it is looped whith the same class but have different data-href? how can i get the value of the data-href?

Thanks in advance =)

]]>
By: Linces https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-53636 Fri, 26 Jan 2018 19:20:44 +0000 https://www.codexworld.com/?p=2651#comment-53636 How i control width and height of the modal window?

]]>
By: Daryl Snowden https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-48460 Mon, 31 Jul 2017 02:41:16 +0000 https://www.codexworld.com/?p=2651#comment-48460 WOh Thanks for updating it CodexWorld 🙂 I’ve used it on my project 🙂

]]>
By: Daryl Snowden https://www.codexworld.com/bootstrap-modal-dynamic-content-jquery-ajax-php-mysql/comment-page-1/#comment-48459 Mon, 31 Jul 2017 02:38:59 +0000 https://www.codexworld.com/?p=2651#comment-48459 Wohh. Thanks CodexWorld for Updating 🙂

]]>