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

Php display image even if it was deleted

I am new on php and I have some very weird situation here. Basically, I wanted to display an image called Default.jpg. After that, I felt like this image is not suitable and decided to change it inside...

View Article


Image may be NSFW.
Clik here to view.

Datepicker validation doesn't work after change-BootStrap

On submit of the form, date-picker field validates and highlight it is mandatory as expected.But even after selecting the date from the picker,the validation doesn't go away. The field still highlights...

View Article


How to get a element name in html for ASP.NET MVC

What I need to do is get the an element property name and make a post, the post part, I think I can handle, but I'm couldn't do it.I have a list of items with a loop of CompanyNames:<div...

View Article

Image may be NSFW.
Clik here to view.

Javascript adding multiple arrays in a loop

I am trying to add multiple arrays in javascript. Here are my arrays I have made, and are working.function getAmountSpent(){ var amountSpent = ((Math.random() * 500) + 1); return amountSpent.toFixed(2)...

View Article

How to submit 0 if checkbox is unchecked and submit 1 if checkbox is checked...

How to submit value 1 if a checkbox in a checkbox array is checked, and submit 0 if it's unchecked? I tried this but no luck. I am trying to grab this array in a php array when the form is submitted....

View Article


Add html attribute if the input value meet requirements

Let say I have two input. When I key-in value in input1 for example 0.4 and meets the requirement then the input2 will remove the readonly attribute. Meanwhile if I input value in input1 is 0.3 then...

View Article

Image may be NSFW.
Clik here to view.

Position off for absolutely positioned input in Safari

I have this very strange issue in Safari, both desktop and iOS. Here is a screenshot of what is currently happening (again, both iOS and desktop Safari): And here is a picture of what should be...

View Article

removing space between columns in html table

i have an html table which is coded like the followingsome of the code is below:<table><tr><td><div style="width: 4.999999998%;" class="col-md-.6 col-sm-6"><div...

View Article


Auto Show and Div automatically after a set time in jQuery

I have divs that automatically cycle to the next div and show its contents after every few seconds. The functionality works fine however, there seems to be a gap when the last div hides and the first...

View Article


Single elimination 4, 8, 16 (no byes)

i am currently developing a tournament system which would have a tournament bracket in order to fill in participant according to the size of tournament given by the user. I am currently clueless how to...

View Article

Letter by letter fading in in javascript without jquery

var i = 0; var txt = 'UNITING PEOPLE'; /* The text */ var txt2 = '&'; var txt3 = 'DELIVERING '; var txt4 = 'INTELLIGENCE'; var txt5 = 'Access your hub for Open Journalism'; var speed = 0; function...

View Article

Vaadin set background color for selected row in a grid

I'm new in vaadin development and i hope someone can help me. I just created a grid table with a model and everything works fine. But now, i want to change the background color of the selected row. I...

View Article

Image may be NSFW.
Clik here to view.

How to make this div full auto size?

I am trying to make a restaurant menu but I can't figure out how to do it I want to make the div named "menu-spacer" the maximum size it could get.With the "min-width" and "max-width" it only takes the...

View Article


DatePipe is not working in safari browser

I have used the DatePipe for Date Format and it working fine except safari browser, it showing blank in safari and throwing..InvalidPipeArgument: 'Unable to convert "2019-10-30 12:36:12" into a date'...

View Article

Looking for a better way to change an image with multiple images onclick

So I'm curious if there is a better way to change a single img src with multiple a href imagesI am using multiple onclick functions but I am mostly curious if I can create one single function to do...

View Article


Ampersands string name is not working in javascript and aspx page

Here I have an automatically generates HTML code .when clicking the tab I want to go to the tab details .but my tab is using dynamic append.in some of my columns name I use "&" like shirt&pants...

View Article

How to give a div max auto width?

Hello i would like to give my div ("menu-content") an auto full width. My first div is auto-width by the text lenght and i want "menu-spacer" to take the maximum size it could get. Here is the html...

View Article


Change background color of parent menu only if it has submenu wrapped inside...

I have a mega menu which show submenus wrapped inside div along with brief text and image. Not all parent menu has sub menu as shown in the example.On hover i want to change background-color for only...

View Article

How to pass parameters on onChange of html select

I am a novice at JavaScript and jQuery. I want to show one combobox-A, which is an HTML <select> with its selected id and contents at the other place on onChange(). How can I pass the complete...

View Article

I am getting this 'Error: mat-form-field must contain a matformfieldcontrol'...

I am using angular material native select and getting 'error: mat-form-field must contain a matformfieldcontrol'HTML : <mat-form-field> <select matNativeControl formControlName="xyz"...

View Article
Browsing all 67411 articles
Browse latest View live