javascript - JQuery css function not persisting its change -


i have "button-bar" div want show once user has clicked on "settings" button. have set button-bar div display:none in css. unfortunately, when settings button clicked, div shows split second, goes away. know why might happening? current code:

$(document).ready(function() {     $('#settings').on('click', function() {         $('#button-bar').css('display', 'inline-block');     }); }); 

the problem href="" empty, reloading page. put hashtags in them. href="#"


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -