Quantcast
Channel: Active questions tagged html - Stack Overflow
Browsing all 72388 articles
Browse latest View live
↧

How to pair the values of these two arrays in PHP?

I have a table with some items on it and each row has a checkbox and a textarea. When I pres submit I want to take the values of the textareas ONLY for the respective checked checkbox and NOT for the...

View Article


How can I send leads to specific mailing list depending on their selection...

I am trying to link my newsletter form with my Mailchimp list however, I want the lead to go into a specific list depending on the selection the user makes.For example, if they select the "I am a...

View Article


JQuery checking if classes matches

I'm trying to make kind of quiz game using html, css, jquery, eventually javascript. At the moment i want to make if statement, to check if dropped element is dropped in the right div (city). I had an...

View Article

Fetch website HTML, then find & copy columns and rows: PHP

I'm fetching the entire HTML code of a website using file_get_contents and saving it into a variable.The content of this website is time-based and updates frequently. I need to run a script that will...

View Article

I'm trying to dynamically change the icons based on the favorite attribute...

I'm trying to dynamically change the icons based on the favorite attribute value, doesn't seem to work, many thanks in advance. showHeader()chat-area

View Article


Can't run php in html

I am trying to run php in html. I know that I can change this to a .php file, but for some complication reasons, I cannot do this. Mainly, I am running nodejs code, and forwarding to a directory. It's...

View Article

Add quotation marks to URL when redirecting with GET method

I have a search form looking like this:<form action='http://localhost:1000/' method='GET'> <input name="searchTerm" type="search"> <button type="submit">Search</button>...

View Article

Image may be NSFW.
Clik here to view.

How to define an html element to have a polygon shape, and how to change the...

I am trying to create this button in html with a little animation as below.How can I make the below polygon shape in css, and how to move it to a regular rectangle in animation on hover?This is what I...

View Article


Set height to 2 lines of text, for Android dynamic font

I have a div (the title of an item) that should always be two lines tall. If the title is short, the second line is blank. If the title is long, it may be cut off.This normally works:.title{...

View Article


Mouse onclick event target (Moving sidenavifation)

I want the sidebar to close when cicked outside the sidebar. Right now the sidebar closes when pressed inside the sidebar.Please checkout the code below. I have a code sample below. var mySidenav =...

View Article

Image may be NSFW.
Clik here to view.

Flexbox one child fills the right space - the others fill the left space...

.container { display: flex; flex-direction: column; flex-wrap: wrap; height: 500px; } .cell { background: #ccc; border: solid 3px black; width: 50%; } .cell-1 { flex-basis: 100%; } @media (max-width:...

View Article

how to have both a horizontal and vertical navigation bar

How can I make it so that I can have both a horizontal and vertical navigation bar? I'm a big beginner baby at design and I'm trying to figure out what I'm doing wrong but I'm not sure how to have CSS...

View Article

document.getElementById.addEventListener doens't work for all users inside a...

I'm getting data from firestore db and dynamically creating this layout with innerHTML:enter image description hereCode: db.collection("xa").doc(user.uid).collection("xb").get() .then(querySnapshot...

View Article


Image may be NSFW.
Clik here to view.

How to add a checkbox to a vertex in mxgraph?

I need to put a checkbox to a vertex in mxgraph, similar to those checkbox in these icons below but in the graph in the bottom:

View Article

Image may be NSFW.
Clik here to view.

JavaScript input validation - unexpected results

I have this event listener functiondocument.addEventListener('input', function (e) { if (e.target.classList.contains('mileage-validation')) { if (document.getElementById('warningMileage').value >...

View Article


rails haml file, looping through values and linking to them

I have two models, downtowns and properties. The relationship is one to many, one downtown, many properties. What I have been having trouble doing is display and link to a list of each downtown's...

View Article

Pure javascript method to wrap content in a div

I want to wrap all the nodes within the #slidesContainer div with JavaScript. I know it is easily done in jQuery, but I am interested in knowing how to do it with pure JS.Here is the code:<div...

View Article


How to Add Optional Content to Android App

How do I add optional content to an Android App? Like say I had a media/music playing app and I wanted to give users the option to download more playing options (like making playlists/music controls in...

View Article

Input type for HTML form for integer

The code below is from an HTML form. If the input is supposed to be an integer, do I need to change the "type'?<div class="friend2title"> <label for="url">Add points:</label>...

View Article

Draw box in PDF and capture the coordinate

I want to draw a box in pdf using canvas and find out the coordinate of drawing box. I have a code here after selection of pdf it convert to a canvas and on that canvas we create box but box not shows....

View Article
Browsing all 72388 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>