jquery - Bootstrap Tooltip showing behind modal MVC 5 -


i unable bootstrap tooltips show inside modal.

i have mvc site load partial views ajax , show them inside modal. when user clicks button, perform , update modal body html. code contains current test modal show properly.

        $.ajax({         url: url,         type: 'get',         success: function (response) {             $('#modal-levering-body').html(response);              var button = $('#udleveringvhbutton');             button.attr('value', 'found button');             button.tooltip({ container: '#modal-levering-body' });         } 

my button defined in view as

        <input type="button" id="udleveringvhbutton" value="udlevering vh" class="btn btn-xs" title="sæt alle varer til udlevering varehus"            data-tooltip="yes" data-placement="top" /> 

this result when mouse-ver 'found button' button tooltip shown behind modal

the weird thing when try on jsfiddle, works fine http://jsfiddle.net/z6qqvycf/

i limited in debugging, because not know how inspect tooltip. not visible chrome development tools.

i have looked @ bootstrap tooltip showing behind modal window did not affect situation.

any suggestions on how debug , fix situation?

edit:

found guide on how inspect tooltip:

freeze screen in chrome debugger / devtools panel popover inspection?

edit2:

i found tooltip entirely different jsfiddler jsfiddler html jsfiddler example

my mvc setup html mvc

somehow .tooltip function generating entirely different on setup in jsfiddler. unknown why currently.

edit 3

found out there conflict between bootstrap , jquery ui on .tooltip() function. loading jquery ui last won.

i reversed loading order , works expected jqueryui tooltips competing twitter bootstrap

i found out there conflict between bootstrap , jquery ui on .tooltip() function. loading jquery ui last, took precedence.

i reversed loading order , loaded bootstrap js file last , works expected.


Comments

Popular posts from this blog

php - Wordpress website dashboard page or post editor content is not showing but front end data is showing properly -

How to get the ip address of VM and use it to configure SSH connection dynamically in Ansible -

javascript - Get parameter of GET request -