Skip to content

Tag: html

Hide or show input on dropdown selection

I am trying to create a sign-up page for my app. All the code works, but when I try to hide input box based on dropdown select, it doesn’t work. I tried this: But it didn’t work. And this is my code for the signup page: Answer It does work, you only need to place the script underneath the form

How to hide radar chart index labels (chart.js)

I’m trying to make a radar chart with a dark background. White index labels distract from the chart itself. (my chart) I found a thread that raised a question about customizing index labels, but the code in the answer only works with version 2.1.3 or mb close to it. Is it possible in chart.js@3.5.1? Ans…

HTML CSS Vertical Line with exact height of a div

I’ve got a div element with some content (shown in the picture). I want (for styling purposes) create a vertical line next to it with the exact same height (needs to be responsive so a static “height” value isnt working) Does anybody have ideas? Answer You can attain it using a simple border…

OnClick inside anything on Modal crash it

First of all, excuse me for my level of english and for beign baerly new on this. I have this, it is a modal with a 2 gridsviews, a textbox and three buttons as you can see. The table i am hidding has a list of information from a sql data base. Appears Modal Whenever i click on a function

Dynamic Div Tags in a While Loop

I have a while loop that populates 4 div tabs (in one parent div) with PHP. I also have a copy-to-clipboard script to copy text from a P tag. Unfortunately, this function works only if the tag and button have a unique Id. So my question is this: How do I assign a sequential Id to my looped P tags?