TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
aditya immadi
NA
215
23.8k
bootstrap data-target is not working
Oct 6 2016 1:39 AM
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
Reply
Answers (
2
)
I copy a file from one place two another when checkbox check
small dought on ajax success