Center a position:fixed element

I would like to make a position: fixed; popup box centered to the screen with a dynamic width and height. I used margin: 5% auto; for this. Without position: fixed; it centers fine horizontally,...

HTML5 form required attribute. Set custom validation message?

I've got the following HTML5 form: http://jsfiddle.net/nfgfP/ <form id="form" onsubmit="return(login())"> <input name="username" placeholder="Username" required /> <input name="pass" ...

Detect whether browser shows <select multiple> as modal dialog

Is there any way to use JavaScript to detect whether a given browser renders a focused <select multiple> element as a popup or solely as an inline box? On some platforms, such as the Android...

onclick on option tag not working on IE and chrome

I am using onclick event in option tag for select box <select> <option onclick="check()">one</option> <option onclick="check()">two</option> <option...

Jquery UI Dialog multiple dialog creation issue

I have searched almost every single thing here and over the internet but i can't get this code to work. I am trying to get dialog box open when user click on php generated link which loads another...

Set focus to new popup winform

I have an app that runs in the system tray and when a user presses a combation of buttons it displays a WinForm to be filled out and sends an email. Everything works great but the part when the...

Popup Window in ASP.Net

im very new to C# and ASP.Net. Does anybody know how to create a popup in Asp? My scenario: When I click on a button, it checks some states. If a condition is being fulfilled a popup shall be...

Show popup after page load

I created a jQuery popup by following an online tutorial. I want to show this popup after page load/after page load it appears + how to code it as like it appears after 5 second of page load. Due...

jquery AJAX call to web method not running error function

I have a WebMethod on an aspx page that I am calling in jquery, and I am trying to have it display the message of a thrown exception in a popup box, but instead of running the code under the error...

How do I pass a GET parameter to ajax and load the data in a popup?

I have an html page that contains a table with course links. When you hover over a link, the information from the course table in the database should display inside of a bootstrap popup or...

How to Close InfoBox.Popup on Timer Expiration?

I cobbled this test procedure together in Outlook 2013 from other posts. It should display a popup box, and then close after 3 seconds. It never closes. Sub MessageBoxTimer() Dim AckTime As...

How to show comment box as popup in iOS?

I want to show a view which contains a UITableView as top view which will show the comments posted by the users & UITextField along with a button below which will enter the comment & add it on to...

Show results in popup

This code is working fine to show results on the page itself but I want to show the results in a popup. We have linked the code to a database and it is retrieving the expected result, but how can...

ASP.NET 5 MVC: unable to connect to web server 'IIS Express'

What I'm doing: Opening Visual Studio Community 2015 File -> New -> Project Under Visual C#: Web -> ASP.NET Web Application Web Application And press f5 for the popup error "unable to connect to...

How to check only one checkbox in angular?

Could you please tell me how to check only one checkbox at one time? I show a popup screen in which I display checked box. But user can select multiple checkboxes. I need to prevent that.I mean...

How to apply hex to the whole world

How to apply hex to the whole world. I found this example on the internet but couldn't apply it for the whole world var bbox = [-180, -90, 180, 90]; but it doesn't works as...

Style a Mapbox Popup's Pointer/Indicator

I am styling some popups for a map displayed through Mapbox using Mapbox's GL JS. However, I cannot find in their documentation regarding the classes that are automatically assigned to the popups....

Hadoop : HortonWorks SandBox Installation : Not able to launch Dashboard(Ambari Interface) from Splash page due to Authorization failure

Referring to below link Installed Hortonworks Sandbox on Oracle VM Virtual box. https://hortonworks.com/tutorial/learning-the-ropes-of-the-hortonworks-sandbox After starting the VM , Connected...

How to open a multiple message box with ReactJS

I'm building a multiple chatbox messaging like Facebook's popup messenger windows. At the moment, the user can call up a chatbox, close it, minimize it, etc. When I click on multiple users, say 3,...

NgbDatePicker : Focus on Input box

I am not able to focus on the input box (on click/focus), instead it focuses on the calender popup. When i press tab or click on the ngbDatePicker input box, it opens the calendar, and focus is on...

Bootstrap 4 Modal scrolling not working after adding input from DOM jQuery

I am using Bootstrap 4 Modal and I have a UI something like this. As you can see, I have Questions label and Add Question and by cliking on Add Question I can add new input boxes through jQuery....

Popup box if a negative number based from formula

I am trying to figure out a script that will popup a box if a number in column F goes negative. I think I may be running into an issue due to the negative number generating from a formula as...

How to test material ui autocomplete with react testing library

I am using material-ui autocomplete component and am trying to test it using react-testing-library Component: /* eslint-disable no-use-before-define */ import TextField from...

Angular ng serve asking to open app and not working

Problem Statement When I try to do ng s -o in my terminal for my Angular app, it says, "How would you like to open this?" inside a popup box where I can choose an app, but choosing an app doesn't...

How to create a pop up modal from Chrome Extension

I am creating a google chrome extension and I need to create a popup modal. I don't want to use the default popup that chrome has to offer, because the size and function is very limited. I want to...

CSS Grid & overflow issue with Safari

I'm currently working into a project where I've found an issue which happens only on safari and I can't find a proper way to fix it without too much complication. Let me explain it. The issue...

How to show/hide Popup when I have a Tab Layout with multiple fragments being displayed in Jetpack Compose?

I have Tab Layout with multiple fragments and I would like to display a Popup only when a specific screen is being displayed. I am using the Jetpack Compose Popup component. I followed the docs...

withRouter' is not exported from 'react-router-dom

After npm i --save react-router-dom and npm install --save with-router I tried to write import {withRouter} from 'react-router'; But I Get this error Attempted import error: 'withRouter' is not...

Android overlay window using jetpack compose

I need to develop an android library that should be able to allow the developer, who is using my library, to show an overlay window on top of his current screen. I can use popup overlay for this,...

Error when opening .aj file in STS 4 (Eclipse 4.21.0)

UPDATE 11/15/2021 Also looks like this may have already been reported, and the fix simply not released yet. https://bugs.eclipse.org/bugs/show_bug.cgi?id=575897 A workaround would still be...