Hello Modal
Hello Modal
Hello Modal
DEVHIDE
  • Home (current)
  • About
  • Contact
  • Cookie
  • Home (current)
  • About
  • Contact
  • Cookie
  • Disclaimer
  • Privacy
  • TOS
Login Or Sign up

bootstrap 4 modal bug?

713 Views Asked by needitohelp At 08 July 2017 at 18:46 2025-12-12T10:01:12
  <html><body><div class="modal fade" id="myModal">
  <div class="modal-dialog modal-xl" role="document">
  <div class="modal-content">Hello Modal</div></div></div>


  <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
  <script src="https://cdnjs.cloudflare.com/ajax/libs/tether/1.4.0/js/tether.min.js"></script>
  <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-alpha.6/js/bootstrap.min.js"></script>

  <script> function showModal { $('#myModal').modal('show') }</script>
  </body></html>

When calling showModal:

Uncaught TypeError: $(...).modal is not a function

What am I doing wrong?

jquery twitter-bootstrap bootstrap-4 tether
Original Q&A
1

There are 1 best solutions below

0
LordK LordK On 18 March 2019 at 07:52

your code should look like this

 <script> function showModal() { $('#myModal').modal('show'); };</script>

this should be ok

Related Questions in JQUERY

  • How to sort these using Javascript or Jquery Most effectively
  • Ajax jQuery firing multiple time display event for the same result
  • .hover() seems to overwrite .click()
  • Check for numeric value with optional commas javascript
  • Extending Highmaps Side Effect
  • Array appending after each onclick and loop in javascript
  • how can i append part of a table based on how many tr it has?
  • Play multiple audio files in a slider
  • Remove added set of rows
  • Access property of an object of type [Model] in JQuery
  • AJAX PHP - Reload div after submit
  • proengsoft/laravel-jsvalidation ReferenceError: jQuery is not defined
  • when a checkbox is checked how to display a different hidden element using javascript
  • Get jquery error Uncaught RangeError: Maximum call stack size exceeded
  • Removing only the closest thead on table filtering

Related Questions in TWITTER-BOOTSTRAP

  • UIWebView Screen Fitting Issue
  • Website zoomed out on Android default browser
  • Twitter Bootstrap horizontal form elements on a line
  • My navbar is not expanding after collapse
  • Reload List after Closing Modal
  • Overwrite Bootstrap style for a single page
  • UI.Bootstrap Angular Typeahead and Firebase Array
  • Bootstrap - Fixed navbar doesn't do what's expected?
  • Bootstrap NavBar with no content on small screens
  • Bootstrap Dropdown Button Problems
  • ScrollBar not showing up - BootStrap
  • Bootstrap flip card with css3 transform
  • bootstrap grid layout questions
  • How do I make jquery events work in a bootstrap modal with dynamic content and selectors?
  • Using GLYPHICONS's free pngs with classes

Related Questions in BOOTSTRAP-4

  • How to remove these margins between my Bootstrap 4 links?
  • Float nav items to the right in Bootstrap 4?
  • What does offset do in Bootstrap 4?
  • Webpack: Bootstrap-loader is not able to find installed bootstrap 4 module
  • Angular 2 - how to use scss with bootstrap 4 in testing using webpack
  • Angular, Bootstrap 4, angular-cli - where to place dependent scss and import it?
  • Bootstrap 4 -- branding + navbar items
  • bootstrap 4 feedback text doesnt render properly
  • Bootstrap 4: How to make top fixed navbar stay in container and not stretch?
  • 4 column responsive in Bootstrap
  • Bootstrap 4 Dropdown not working
  • Change Bootstrap 4 tooltip template without refresh
  • Multi-item carousel bootstrap 4
  • Vertical alignment in Bootstrap 4
  • Align navbar toggle button to the right

Related Questions in TETHER

  • Setting up tether-drop to work with [email protected]
  • Getting an error with context in jQuery when using ng-repeat and limit-to and a tooltip from tether.js
  • Can't connect to laptop webserver after tethering to android phone
  • usdt through solana blockchain failed
  • How use Binance Api to receive USDT in app
  • Does coinbase API support USDT?
  • How to enable Bootstrap4 tooltips inside an Angular app
  • Is there any way to get usdt from Ropsten Testnet?
  • Append Tether element on custom parent
  • How to set USB Tethering automatically when plugged in (Android 8.1)
  • Bootstrap 4 , error because of teher file
  • Harp compile produced gradient syntax error
  • Uncaught Error: Bootstrap tooltips require Tether (http://tether.io/) at bootstrap.min.js:7
  • How to change popover arrow when target element is not in center?
  • How can i create a smart contract on TRON network to use USDT Token instead of TRX

Trending Questions

  • UIImageView Frame Doesn't Reflect Constraints
  • Is it possible to use adb commands to click on a view by finding its ID?
  • How to create a new web character symbol recognizable by html/javascript?
  • Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
  • Heap Gives Page Fault
  • Connect ffmpeg to Visual Studio 2008
  • Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
  • How to avoid default initialization of objects in std::vector?
  • second argument of the command line arguments in a format other than char** argv or char* argv[]
  • How to improve efficiency of algorithm which generates next lexicographic permutation?
  • Navigating to the another actvity app getting crash in android
  • How to read the particular message format in android and store in sqlite database?
  • Resetting inventory status after order is cancelled
  • Efficiently compute powers of X in SSE/AVX
  • Insert into an external database using ajax and php : POST 500 (Internal Server Error)

Popular # Hahtags

javascript python java c# php android html jquery c++ css ios sql mysql r reactjs

Popular Questions

  • How do I undo the most recent local commits in Git?
  • How can I remove a specific item from an array in JavaScript?
  • How do I delete a Git branch locally and remotely?
  • Find all files containing a specific text (string) on Linux?
  • How do I revert a Git repository to a previous commit?
  • How do I create an HTML button that acts like a link?
  • How do I check out a remote Git branch?
  • How do I force "git pull" to overwrite local files?
  • How do I list all files of a directory?
  • How to check whether a string contains a substring in JavaScript?
  • How do I redirect to another webpage?
  • How can I iterate over rows in a Pandas DataFrame?
  • How do I convert a String to an int in Java?
  • Does Python have a string 'contains' substring method?
  • How do I check if a string contains a specific word?
.

Copyright © 2021 Jogjafile Inc.

  • Disclaimer
  • Privacy
  • TOS
  • Homegardensmart
  • Math
  • Aftereffectstemplates