ucohockey
asked on
Bootstrap 4 modal using ajax wont load classes needed in form
I'm displaying a table that returns users I want to click on the user and edit them in a bootstrap modal. I'm able to do this using ajax but the modal that opens won't load some of the classes I'm using in the form. If I open the modal from that page without using the ajax the form loads and works as it should but I can't load that user id in my where statement. I up to try anything. One example is using the floating labels bootstrap has.
ASKER
Thanks for the help, I went back thru everything and cleaned a few things up and have it working. You asked the question is the form you are loading by AJAX is that a complete page (<html><head> styles etc) or partial? I have done both what is the correct or best way?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the help.
You are welcome.
Remember a modal form is a faux modal - it is just a <div> in the page styled to look like a modal so the styles it uses are the ones that are on the host page.
Given that you have not given us enough to answer the question - we need to see a link (at lease some code - but preferably a link)