JavaScript How do i dissable the bootstrap popover on page resize disable bootstrap popover,bootstrap disable popover on mobile,ngx-bootstrap

I am using the bootstrap popover for a drop down menu. Is there any way I could disable the popover function either with css media queries or by jquery on page resize and make the menu visible and vertical in mobile view.

Here is what I've tried:

<a target='_blank' href="#"  id="ble" class="ved" data-placement="bottom" data-toggle="popover" data-content='
<ul class="nav nav-pill">
<li><a target='_blank' href="#" >home</a></li>
 <li><a target='_blank' href="#" >home</a></li>
 </ul>
 '>Toggle popover</a>
</div>
 <script>
 $(document).ready(function(){
$('#ble').popover({html:true}); 
$(window).on('resize', function () {
if ($window.width() > 300) {
   $('#ble').unbind('popover');
 }
  });
     });     
Answer:1

Have looked at many examples but cant seem to get to make an nested array to store some data nicely. How can I get the following code to work? It gives me an error now: var shipdata = []; shipdata['...

Have looked at many examples but cant seem to get to make an nested array to store some data nicely. How can I get the following code to work? It gives me an error now: var shipdata = []; shipdata['...

  1. creating nested array javascript
  2. create nested array php
  3. create nested array python
  4. create nested array
  5. create nested array js
  6. create nested array java
  7. create nested array in jquery
  8. create nested array c#
  9. create nested array laravel
  10. create nested array json
  11. create nested array in angularjs
  12. create nested array typescript
  13. create nested array arduinojson
  14. create nested array of objects
  15. create nested arrays in json objects
  16. create bidimensional array python
  17. create bidimensional array js
  18. creating a nested array from items with parent ids
  19. create a nested array recursively in javascript
  20. create nested json array in java

I am Working on Codeigniter and am getting a problem while inserting values in database via ajax. Problem occur when sql query throws an error. This is My Controller code:- public function ...

I am Working on Codeigniter and am getting a problem while inserting values in database via ajax. Problem occur when sql query throws an error. This is My Controller code:- public function ...

  1. jquery ajax data shows object object

I need to store a list of points and check if a new point is already included in that list class Point { x: number; y: number; constructor(x: number, y: number) { this.x = x; ...

I need to store a list of points and check if a new point is already included in that list class Point { x: number; y: number; constructor(x: number, y: number) { this.x = x; ...

I'm using Auth0 rules to add some info to the user profile. When reading the profile from the web app: $userInfo = $auth0->getUser(); the data added by the rules does not seem to be there. Is ...

I'm using Auth0 rules to add some info to the user profile. When reading the profile from the web app: $userInfo = $auth0->getUser(); the data added by the rules does not seem to be there. Is ...