Questions tagged as 'html'

1
answer

How to make a login system on the same page? [closed]

Example: The page of login and the page of usuário when it is logged in and in the same index , but I do not know how to do this. <!--comeco login <html><head></head><body><h1 cla...
asked by 15.12.2016 / 01:40
1
answer

How to remove a single element having several with the same id

I'm using a jQuery to flip an element and would like the feature to remove the cloned element. When I try to remove the element, for some reason, it does not work because <button> is between <span class='input-group-btn'>...
asked by 08.05.2015 / 18:46
2
answers

Opacity in Pseudo-Element and Parent

I want to make a div with the left corner tilted, but it is not working. Is this the right way to do it? In my case it even works because the div parent has overflow , so neither does the rest of :before appear b...
asked by 30.09.2015 / 21:33
3
answers

cep - fields disabled for user

I have the following problem: The user will complete the zip code and will click on 'search zip'. A zip search will be done, and the data will be placed in the fields: public place, neighborhood, etc., automatically. It turns out that I do no...
asked by 22.12.2015 / 17:24
1
answer

How to capture the value of the current attribute with jQuery?

I have the following form in html: <form>First name: <br> <input type="text" name="nome"> <br>Last name: <br> <input type="text" name="sobrenome"> </form> And the jQuery code:   ...
asked by 17.11.2015 / 15:00
1
answer

Affix (Bootstrap) in div with images does not work

I'm trying to fix a div containing two images (one below the other) but following examples and making some modifications the result was very different than expected, when I scroll the page div immediately goes to the left side of the page and re...
asked by 31.12.2014 / 13:39
2
answers

Use validation function in different HTML fields

I have the following javascript function for NIF validation: //VALIDAÇÃO NIF validaContribuinte = function(){ var contribuinte = $('#nif').val(); var temErro=0; if ( contribuinte.substr(0,1) != '1' &...
asked by 20.01.2015 / 16:49
2
answers

Creating input automatically limiting in 5

I am creating two input fields when I click the plus (+) button, I can already generate the two inputs, but I need to limit the input, I only need 5 input, I tried with while and I did not succeed, Thank you / creates more additive value fie...
asked by 06.11.2014 / 16:55
1
answer

Variable JavaScript undefined

I'm trying to pass a value through a input type hidden of the HTML generated in PHP to JavaScript, however this variable in JavaScript is like Undefined. What can it be? PHP <form name='form5' method='post'> <input type='hid...
asked by 02.11.2014 / 23:49
1
answer

Is there a way to get the value of a select by PHP?

I'm trying to get the id of a product through a jQuery function, however I need to pass this variable to php, and since this snippet of PHP code is already within <script></script> it does not work the way I did below ,...
asked by 08.11.2014 / 00:06