Tech
Forums
Jobs
Books
Events
Interviews
Live
More
Learn
Training
Career
Members
Videos
News
Blogs
Post
An Article
A Blog
A Video
An Ebook
An Interview Question
Register
Login
2
Reply
bootstrap data-target is not working
aditya immadi
7 years ago
226
Reply
hai all,i m going to share my code
<script src="~/Scripts/jquery-1.7.1.min.js"></script>
<script type="text/javascript">
$(document).ready(function () {
alert("hai");
$(document).on("click", "#btnedit", function () {
alert("button clicked");
----
---ajax calls
--
--
});
});
</script>
alerts are working fine .
and i m using bootstrap for pop up and bind recods from db..well that is another problem but now
<input type="button" id="btnedit"name="@row["OutletId"]" value="Edit" data-target="#myModal" />when i try to write like this mymodal wont works and ajax calls works fine
and when i m using anchor tag
<a href="#" data-toggle="modal" data-target="#myModal" height="10" onclick="editoutlet();" id="btnedit">outlet details</a>
bootstrap is working but my ajax cals wont firing
im confusing totally can any one hel me out ..
Thanks and Regards
Post
Reset
Cancel
Answers (
2
)
Next Recommended Forum
how I can give RegistrySearch in creating setup via Wix
small dought on ajax success