Questions tagged as 'html5'

1
answer

HTML and CSS - Center Tabs to the center of the page

It's a newbie question, but I'm having this difficulty. I have 3 tabs that look like this: ButI'dlikeyoutostayinthecenterlikethis: Alsoinsteadoftext,Iwouldliketoputimages.MyCSSforthetabslookslikethis:/*Stylethetab*/div.tab{overflow:hidden...
asked by 19.11.2017 / 17:14
1
answer

About each, this and attr in jQuery [closed]

Good morning friends, I have a big question regarding these attributes (if I may say so), I would actually like to really understand how each of them works, I wanted to understand why use each one of them, since I already thank and apologize if t...
asked by 26.01.2017 / 14:08
2
answers

check email in jquery as if it were two string

Good evening, I'm finalizing a form check and I caught it at one point, maybe because of the way they wrote my work code I can not use jquery validate , so I have trouble verifying that a input field has an e -mail typed. I made...
asked by 17.04.2017 / 01:08
1
answer

How to create a textarea autorisize with js? [duplicate]

I need to create a text field that grows with what the user types, but it has to be with pure JavaScript, without jquery or anything like that.     
asked by 29.12.2016 / 13:32
1
answer

How to add and remove required input with jQuery?

I have a select with two option , when I select the first option I want it to show me an input field strong> with the attribute and when I select the second option I want it to do the same, only removing the required input . The...
asked by 26.11.2016 / 23:36
1
answer

How to return today's type input date?

I'm trying to fill an input field with type="date" with the date of the day the form is being filled. I tried the following code in PHP: function getDatetimeNow() { $tz_object = new DateTimeZone('Brazil/East'); $datetime = ne...
asked by 05.12.2016 / 15:58
2
answers

Save login input text

Personal I need to record 2 fields of the login screen of my program, I want to give facility to the friend that has logged in, he does not need to enter things like company code, and email. I tried to use the autocomplete but it did not have an...
asked by 03.03.2016 / 18:24
2
answers

How to get input value with click div (multiple divs with same class) with jquery?

I have the following code: <div class='premios text-center col-xs-12'> <div class='div-img-premio'> <img class='img-premio img-responsive' src='$imagem'> </div> <p class='nome-premio'&g...
asked by 11.03.2016 / 19:13
1
answer

Constraint input "type date"

Code: <input type="date" name="data" value=""> <input type="submit" class="success round button" value=""/> I need when I click the submit button and the date field is blank it will not let me submit. Is there any way in html ev...
asked by 24.03.2016 / 15:46
1
answer

Call a href page by passing the input fields of the form

I have a page that has several inputs, when I click on the button I open a modal with the result and inside modal I have another button to be clicked but I need to get the form fields and move to the other page. > My detail button code looks l...
asked by 30.03.2016 / 18:12