In short, you can’t.
You might want to consider looking into using something like a jQuery UI dialog instead.
More Related Contents:
- Can you wait for javascript callback?
- Create and save a file with JavaScript [duplicate]
- How to show the “Are you sure you want to navigate away from this page?” when changes committed?
- JavaScript Form Submit – Confirm or Cancel Submission Dialog Box
- Javascript close alert box
- How to create a dialog with “Ok” and “Cancel” options
- Javascript Confirm popup Yes, No button instead of OK and Cancel
- Open file dialog box in JavaScript
- Custom “confirm” dialog in JavaScript?
- Modal Dialog without jQuery
- Trigger a Browser’s Save-As Dialog via Javascript using only On-page data
- Is there a functionality in JavaScript to convert values into specific locale formats?
- How do you force your Javascript event to run first, regardless of the order in which the events were added?
- what happens when a Promise never resolves? [duplicate]
- ng2-charts update labels and data
- Passing a local variable from one function to another
- Calculate SVG Path Centroid with D3.js
- How can the current number of i be accessed in a for of loop?
- refresh div with jquery
- Remove everything within script and style tags
- URL regex validation
- Clear localStorage on tab/browser close but not on refresh
- JQuery AutoComplete, manually select first searched item and bind click [duplicate]
- D3: How do I set “click” event and “dbclick” event at the same time?
- How to focus an input field on Android browser through javascript or jquery
- Google maps responsive resize
- How to export an HTML table as a .xlsx file
- Variation of e.touches, e.targetTouches and e.changedTouches
- Get scroll position with Reactjs
- Why an empty Array type-converts to zero? +[]