Collapsible menu: Having trouble with transition for my submenu

I am trying to make a collapsible sidebar by myself using bootstrap only. I need some help with transitions for my submenu. Everything else works as intended so far. I have already tried to wrap e

View details »

Appending form action url to the current url

I want to send the form data to the current URL + a relative path. For example, I have the form on the url https://domain/path/:id and I want to send the form data to https://domain/path/:id/form-ac

View details »

Stop table cells from overlapping HTML CSS

I am trying to set up a responsive table where each cell contains an image but with the code I have, the cells overlap. Widths are set to 100% rather than fixed width so not sure why this is happen

View details »

Main nav starts scrolling and then comes back

On Chrome, the main nav of our wordpress website starts to scroll with the content but then quickly moves back up which creates an unwanted visual hitch. www.vitrinemedia.ca (check carefully the bl

View details »

Yii2: How to disabled or readonly a Select2 widget?

I use a widget based on select2.github.io and I need it to be readonly so the user can see a default select option but it can't be changed and I think this widget doesn't have this option. Is there

View details »

unable to get the default selected value of drop down from selenium

Scenario1: I have two fields in the screen district and territory. For some user it has default value selected and the drop down is disabled. PFB code for reference. <select id="abcd" name="xyz

View details »

MDB Bootstrap carousel indicators change position

I'm currently working on a site that uses MDB bootstrap for all the components. I've been working on a carousel that contains cards thats moved left and right based on the indicator being clicked.

View details »

Position “sticky” not working in ReactJS app, and no “overflow” attribute specified in parent

I'm building a React app, and I'm having a problem with position: sticky in my story-header element. I already checked the parent styles and there's no overflow: hidden attribute-value. HTML <div

View details »

scrollTop always returning 0 from iframe on iPad safari iOS

I know there are several discussions about this, but this in particular is quite specific as well. I got a preview iframe on my page that whenever is scrolled, it has some functionality attached t

View details »

Removing text from text returned by javascript function

I have a function that returns text but I need to remove a specific substring from the returned text. I've tried a bunch of variations on suggestions I found through stackoverflow but none have work

View details »

React useState() doesn't update value synchronously

React useState() doesn't update value of the variable if called just after setting value. I read about useEffect(), but don't really know how this will be useful for this particular scenario. Code

View details »

How to set up an array for audio files in HTML on Squarespace?

So I am trying to integrate some custom code onto Squarespace in order to play audio when you click an image. I am a complete beginner to web dev but I found some HTML code which did the job for one

View details »

Combining anchor-offset and target-styling on a html-table

I'm trying to combine an anchor-offset with an anchor-target-style on a table-row. Having the anchor-ID applied to the table row and styling it via 'tr:target td' does achieve the desired look, whi

View details »

Attribute value is automatically inserted inside double quote

I want to place html node as I have created. But when using JS and inserting inside div it single quotes changes to double quotes. Code is : function createHederaObject(params){ let Hederaobjec

View details »

Responsive navigation links being pushed under navigation bar when browser is made smaller

I am trying to create a responsive website. I had a navigation bar on top of the page with links on the right and social media icons on the left. When I make the browser smaller it pushes the links

View details »

It is posible to send a window.print through whatsapp?

I want to send a window.print via whatsapp://send? to share the current page as pdf document. Actually the website send only the current url with whatsapp://send?text={url} {text} whatsapp: {

View details »

Multiple choice programming questions

I’m in need of some help with these simple multiple choice coding questions pertaining to HTML, CSS, and Javascript. There’s only 10 questions... any help would greatly be appreciated at least f

View details »

Do not enter in submit() function

I'm trying to do a function that sends the form via AJAX, but does not enter the .submit function of the form. what am I doing wrong? That's my function JQuery in file script.js $(document).ready(

View details »

I create a input file with jQuery and it is not detected to upload [duplicate]

I have a bit of code where I am looping through all the select boxes on a page and binding a .hover event to them to do a bit of twiddling with their width on mouse on/off. This happens on page rea

View details »