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

Image may be NSFW.
Clik here to view.

Why do I have two upload buttons on a laravel blade page?

I'm unable to resolve an issue where I'm seeing two upload buttons on a page.Laravel Blade File Snippet:<div class="col col-12 col-md-12 col-lg-12 col-xl-12"> <div class="form-group">...

View Article


Show and hide id with JavaScript for multiple items with the same name

The problem is that it only hides / shows the first element. I want the button to work on all elements.Here is the public interface on the developer page:...

View Article


How do I calculate the angle between two points in HTML5?

I am attempting to create a 2d tile based game in Javascript, and I need to be able to calculate the angle between two points. I am using the atan2 function to find the angle between two points like...

View Article

Unexpected and different behaviors of same function while executing it by...

Here is a confusing and wired issue in my code.I just wrote a simple speech recognition code using web speech API, it works fine. At each start of the recognition I create and initiate a timer to stop...

View Article

Uncaught RangeError: Maximum call stack size exceeded in jquery trigger function

Why does this code give me an error when the trigger function executes? Please tell me the solution.<input /> <input /> <div id='dd'></div> x = $('input'); x.on("input",...

View Article


How to make a functional HTML5 navbar

I’m trying to practice my HTML5 and CSS3 skills by making a navbar for my page, but I’m having a lot of trouble. I'm trying to use HTML5 semantic tags to make it, but none of them are looking how I...

View Article

How to prevent input.value returning empty string if it contains "e" character

The example below is number input which if contains "e" character will return "" empty string when accessed with JavaScript.const input = document.querySelector('input'); input.oninput = (e) =>...

View Article

How to access query string parameters inside IFRAME after a redirect back

I have an HTML Host1Page with an IFRAME, the IFRAME's attribute sandbox doesn't include allow-top-navigation so the hosting page is not affected by any navigation which could be requested inside the...

View Article


Jekyll/github pages issue: URL without trailing slash is loading an old/...

I am running into an issue with our website, which is built using github & Jekyll. The web page that I am trying to load works WITH a trailing slash, but if you type it in to your browser WITHOUT a...

View Article


SVG - Line becomes thicker as I rotate it

I need multiple straight lines, and I have set the stroke-width to 4, but when I try to rotate them, the lines get thicker. Also when I try to set a negative value, for example <path d="M0 -10 20 0"...

View Article

How to center a div that has absolute positioning without a set width

I would like a div that has absolute positioning and text generated by JavaScript to be in the center of the screen I do not want a set width or height on the elementI have already tried .element {...

View Article

I'm trying to make an Alert box with two different colors. Ex. Image included

I've been trying to get an alert box working when someone opens this page but I'm having some trouble. I'll show you what I mean by that. What I'm trying to achieve:Alert boxWhat I got so far:My Alert...

View Article

Hybris: How to pass class as a parameter to cms:component?

I've started to learn Hybris and I want to find out how to pass the class as a parameter to a custom CMS Component (for the component's root element).Let's suppose that in a jsp file named...

View Article


How to make the button stay in a row in php/json?

I have a php code as shown below. The below html/php code is working in a way that on adding rows, we can select date from every row and can save it as well. Now I am trying to add a button in a row....

View Article

Adding a class to the previous div

I would like the div containing the .disable-hover class to be hidden along with the previous div with class .owl-item.Is there such a possibility?jsbin.com/suloyir/edit?html,css,js,output

View Article


Image may be NSFW.
Clik here to view.

How do I add rounded corners to complex shapes in CSS

How can I make the corners of a complex shape rounded in CSS? Similar to how VSCode rounds the corners of selected code. I know how to make a regular rectangle rounded in CSS but how do I join the...

View Article

How can I print after a node another div element

I am trying to append after the element div another div, but seems it is not appending the element. Javascript: const divList = [ { divv: "Div-1" },{ divv: "Div-2" },{ divv: "Div-3" },{divv: "Div-4" }...

View Article


Image may be NSFW.
Clik here to view.

Prevent HTML read-only text fields to be changed

I'm developing a Grails web application whose modules, mostly, must implement a master-detail interface. As an approach, I want to put the following code to your consideration:Master Class:import...

View Article

Prevent Resizing of Image Inside a Table (Table is in inside another Cell)

my app is able to make PDF documents and I have issues displaying multiple images in a cell. <td class="table-cell" style="vertical-align: top;"> <table class="photo"> <tr> @forelse...

View Article

Changing colors of stroke in canvas

I have just started to play with some JavaScript and I found thing called canvas.My problem is that after the click on a button I want to change the color of stroke, but I dont know how. I'm out of...

View Article
Browsing all 72358 articles
Browse latest View live


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