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

How to compare two arrays in jquery

I want to compare two arrays and if they are equal, add a new attribute to html.First my html<ul class="checkout__delivery-collect-shoplist" data-bind="foreach: currentOptions "> <li...

View Article


How to process data from query in PHP

I wanted to display data from SQL Server database in my html page. I already wrote a code that get data in PHP :<?php $serverName = "srv\SQLEXPRESS"; $connectionInfo = array("Database" =>...

View Article


If specific value from dropdown selected show different dropdown

In my html webpage I have a dropdown menu, when the user picks a value from the drop down i would like to show a subsequent dropdown. e.g. dropdown 1 pick value 1 > show dropdown 2. Dropdown 1 pick...

View Article

Looping through Object containing two different arrays in VueJS

I'm currently working on a chat program written in VueJS and have a problem when trying to display the message with a given timestamp, because I need to loop inside an object containing two arrays...

View Article

JavaScript/React noobie - I have to move an icon down and I feel like I did...

I am getting started with an existing website and I have to do some basic redesigning. It is written in JavaScript and React and I experienced an issue when trying to rearrange some icons. This part of...

View Article


Image may be NSFW.
Clik here to view.

Angular Kendo DatePicker: Select Month and Day without Year

How do I disable year in Angular Telerik DatePicker component? I am trying the following, and its not working. https://www.telerik.com/forums/datetimepicker-select-month-and-day-without-yearCurrently...

View Article

Image may be NSFW.
Clik here to view.

close a UL List programmatically

I have a Unordered List of items, the submenus of which I want to close/hide programmatically, when some other List item is clicked, be it another Mainmenu or another item. From the answers given, I...

View Article

Unable to refactor inline script contained innerHTML in JavaScript

I currently have the following code in JavaScript:container.innerHTML = ` <h3 id="box-title"> Build Analysis </u><span id="close" class="close"...

View Article


on-site refreshing, My JavaScript disabled

First thing to mentione is that I don't have access to the source codes of the website, I am just coding a A/B test which should be applied with JavaScript.The thing is functioning properly, the main...

View Article


Image may be NSFW.
Clik here to view.

Showing unwanted space on the right side of a page in mobile chrome browser...

A page on my site is showing an unwanted white space on the right side in mobile, the page is showing fine in android Mozilla Firefox browser but the problem is occurring in android Google Chrome...

View Article

Image may be NSFW.
Clik here to view.

Body styling stops at one screen for no apparent reason

The styling I have on the body element stops exactly where my computer "first screen" stops. There doesn't seem to be a code related reason for it:// Styled JSX react.js library: body { font-size:...

View Article

Inline edit a hyperlink using jquery

Here is my code:<html> <head> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script> <script> $(function(){...

View Article

SVG click event not being triggered [duplicate]

This question already has an answer here:Event binding on dynamically created elements? 23 answersI have a table with two SVG on the end of each td, one is for deleting the row and the other is to edit...

View Article


scrollTop behaves exactly opposite on iOS safari

Template:<section id="chat-messages" class="chat-messages"> <div class="message sent"> <p>e</p> <span>1:34pm</span></div> <div class="message sent">...

View Article

In material bootstrap radio button not working in jquery append

In material bootstrap radio button is not working in jquery by append html in that radio button not working. If i put html without append using jquery as simple in html div then it's working. Can...

View Article


String.prototype.replace wont replace a × character

Oh God Why does this not work??? Ok, trying to be cool now x).The HTML part Im fetching with JQUery is:<div class="chip"> #<c:out value="${pred.id } "></c:out><span...

View Article

How to solve Datefilter error in Datatable?

The datefilter is working but the issue is it is giving events incorrectly. For example there is an entry on 1st Nov, but it will not filter it on 1st Nov rather on 2nd Nov.<div...

View Article


how to display an alert in an Onclick event after dom is loaded

I am stuck with a displaying a simple alert. I have a filter button which is created dynamically using jQuery. With this code I am getting alerts randomly. I am not sure why this is happening? Please...

View Article

How to pass an input target value and setState values as parameters for a...

I have a function that looks like this, it takes an input file and posts it to the backend:const loadFile = async ({ target }) => { const file = target.files[0]; if (file) { const { name, size } =...

View Article

owl carousel flashing on page load

I have several owl carousels running. When it first loads the carousel flashes at full width until the jquery kicks in and then resizes everything. Is there anyway to stop this? Here's my...

View Article
Browsing all 67469 articles
Browse latest View live


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