Equivalent of $('#myModal').modal('toggle') in React/Redux template #310

Closed
opened 2025-08-09 17:15:48 +00:00 by fergalmoran · 0 comments
Owner

Originally created by @mgregory22 on 11/22/2017

Can someone explain how I can open a Bootstrap modal window programmatically? I try it in the Chrome console and it tells me modal is not a function. I'm using the React & Redux project template in VS2017.

I'm new to this stack and I'm trying to sell a client on it because I know it's good, but I'm struggling to figure it out to give them a demo before I exhaust their patience.

I'm trying to use Bootstrap for modal dialogs, and I'm trying to go by the Bootstrap documentation, but things aren't working the way those docs say it does. I think Typescript is the reason, but I'm not sure what to do about it. This is all new to me.

*Originally created by @mgregory22 on 11/22/2017* Can someone explain how I can open a Bootstrap modal window programmatically? I try it in the Chrome console and it tells me modal is not a function. I'm using the React & Redux project template in VS2017. I'm new to this stack and I'm trying to sell a client on it because I know it's good, but I'm struggling to figure it out to give them a demo before I exhaust their patience. I'm trying to use Bootstrap for modal dialogs, and I'm trying to go by the Bootstrap documentation, but things aren't working the way those docs say it does. I think Typescript is the reason, but I'm not sure what to do about it. This is all new to me.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/JavaScriptServices#310
No description provided.