Category "html"

How can I have multiple functions in onkeyup?

I am writing code to be able to search multiple fields within cards that pull customer data from endpoints. The first function that searches customerID works fi

Remember/maintain navbar scroll position between pages ( Javacript )

I have a vertical navbar on the left side of my page like this: $active = basename($_SERVER['PHP_SELF'], ".php"); echo '<ul id="navbar"> <li i

html 5 drag and drop not working on mobile screen

I am creating a scenerio in which I want a component of drag and drop, and I found one after some work around, which looks like the following function allowDr

Javascript input value of search bar not updating

I've created a search bar on my site with the code below. For some reason the value is not updating when the user clicks on a name in the dropdown options of th

How to call different functions for different targets using an Intersection Observer?

I'm using the Intersection Observer API on a site. For every instance of using it, I'm using the same config (main viewport). My issue is that I need to have di

HTML - style input type "time" - change color of selection

Is it possible to style the blue rectangles? I need to change the color to orange. There are some handles to change some style (see here), but I couldnt find on

Custom checkbox wont toggle when click and drag on label

I have a problem with my custom checkbox. If you click on a checkbox element, move the mouse cursor and then release the click inside the checkbox area, the ch

Navbar fixed left - Bootstrap

I am trying to make navbar in bootstrap to be fixed left, like on this link. Anyway, it is working, but when I add block content of the leaflet map, my navbar i

Error while trying to install mui core with npm

I just deployed a new create-react-app and still receiving this same error message. I installed MUI and am receiving a 'unable to resolve dependency tree' n

Get content of span

how can I get the contents of span ? I'm looking for a way for all of this to be vanilla, not jQuery javascript (and a little jQuery) var swear_words_arr=new

Input type time 24 hour format

Too many this type of old questions are already in Stack Overflow, but now I would like to know any new method to fix this problem! <input type="time"&g

How to position row of divs?

I'm currently working on a page that displays cards. My final row of cards has two cards centered because of my parent class text-align center. I am trying to m

How to add animate icon menu dropdown open / closed

I built a dropdown menu with fade animation with the help of stackoverflow users. Everything works beautifully. But now I would like to add an icon to the butto

How to Enable Scroll Bar iside Ant Design Modal Component Body?

I am having a modal with long content. I need to have an internal scroll bar inside the modal but there is no information about that in the documentation <M

Password Validation Not Working For Flask Form

I'm trying to implement a form where I want a message to be shown in advance if passwords don't match. I have added a data required validator but password match

How can I put text over a fixed image in html and make the text scrollable?

This may be a stupid question, but I am making a website and I want to have a page that has a fixed image that stays where it is when you scroll to see more tex

Add a unique ID to each menu item in Material UI TablePagination

Is it possible to add a unique ID to each menu item that is rendered using <TablePagination >? I want to add a unique ID (for example: id="menu_item_0", i

Refresh specific HTML content that retrieves data from MySQL

So i have a form that that does a simple calculation, depending on the users input. If the results is a certain value then it stores that value in a database, t

Local Variable 'X' Referenced Before Assignment in Django Views

I am working with Django and trying to create two forms on one page which I am struggling with. I would like to know why I am getting the error "local variable

ion-Checkbox only on box clickable

I want to separate my <ion-checkbox> from <ion-label>. So the main issue is that I have to display additional informations if you click on the label