Hi I would appreciate any help with this little issue I'm having.. I'm trying to use jQuery ajax along side twitter bootstrap and I cannot get the modal to function properly. When I remove the $("#process").modal("show"); from the script the modal will still show, when I leave the $("#process").modal("show"); in, it will show for a split second and then disappear. I also have $("#process").modal("hide"); on a document ajaxcomplete function, yet it wont hide, but the ajaxcomplete alert is firing. What am I doing wrong?
id is singular, you can not have two or more items with the same id.
And I do not see you cancelling the click action.
Joined: May 23, 2012
Ah ok, thank you, that would explain why I couldn't get the second button to fire. What would be the correct syntax to target each button if I change their id's to id="dpp_button-1" and id="dpp_button-2". I've tried this:
Also, It seems like the data-toggle="modal" in the anchor tag was the culprit, it looks like they were canceling each other out.