Category "html"

How should I add an id attribute using Javascript?

I attempted to create a button id when I clicked on using Javascript. Here's something from my code. <div class="DivButton" style="" onclick="divClick()">

Flickity transform issue

Before the holidays my client's site was working fine with the Flickity carousel. But after returning it has completely crashed, but it starts working when I re

Draw rectangle over HTML 5 tag video

I tried to use canvas to draw a rectangle 100 x 100 over the center of the image captured by webcam (using "navigator.mediaDevices.getUserMedia") and HTML 5 tag

Duplicate hidden form with not unique input ID

I have a layout that require to have the same form in 2 different place for mobile and desktop view What I did is to wrap both in a container that hide one or a

Pandas' read_html not reading html tables

I am trying to see if I can use, and only use, Pandas' read_html function to scrape HTML tables from the following website: https://www.baseball-reference.com/t

Getting text from angular input elements in Protractor

The angular Input controls doesn't let me get values directly by using getText() in protractor. <input ng-switch-when="TextBox" ng-if="::!field.uiControlInf

How to connect to a Sqlite db from an HTML file via Javascript

I would like to insert data into a SQlite3 db by pressing a button from an HTML file. In order to achieve this, I wrote a JS script. Unfortunately, when I press

Selected Field Value visible in matToolTip but not in disabled divTable dropdown

I have the following code: table.component.html <div *ngFor="let person of persons; let i = index;" class="tbody"> <div class="row"> <

JS download doesn't download entire file

I am trying to download a csv file with 3607 lines (1.0 Mb): const hiddenElement = document.createElement('a'); const fileContent = `data:text/csv;charset=ansi,

Audio file not playing

I want to embed the audio file on the html page on the server. The audio file is in the same folder as the html file, the path in src in the tag audio is correc

The sum of the user's points

I am a beginner when it comes to PHP and it is not my specialty, I am rather in the front end and I have a big problem. I need to edit one of the tables after a

mouse actions for SVG in HTML

If I embed an SVG into a HTML page, then users can click on words in the SVG (that are included as text). Is it possible (via JavaScript or similar) to find out

Problem with HTML reload with TailwindCSS and Gulp

I'm setting up a project with TailwindCSS. I'm trying to set up my automation with Gulp, but I'm running into an issue with the HTML reloading. Everything see

button form for header sticky by javascript html laravel

There are two buttons on that blades (Laravel). The button (.btn-main) works in the main, but the button (.btn-header) in the header does not work. I mean when

Prevent parent been clickable while child clicked -not bubbeling issue [duplicate]

I have a grandfather div which is contain 200 "father" divs (and 200 child1 and 200 child2). I want to target "child2" element while clicking

Delete an item(Object) from an array using ng-if

I am trying to remove item using ng-if and ng-else-if. "ng-if="navItem.gbn.indexOf('12345') !== -1" is true then array item only show contains('12345') items. b

Open link in safari instead of the native app

I am trying to open a link when a user clicks a button, using window.open() on button click. Currently this works as expected in Android browsers, but on IOS it

overflow-anchor doesn't work for horizontal scrolling

I would like to build an infinite horizontal scroll that scrolls in both directions - left and right. As user scrolls to the left, new content is prepended to t

Most efficient way of showing or calling repeat/duplicate HTML?

I have five div elements containing the same six images. Only one div is shown at a time (others are display:none) but all are on the same page. Basic example:

Integracion de HTML sin templateId

Good evening, I want to send my own html, not created in sendgrid by email, but I can't find a way to integrate it that is my code and this is the html templat