Questions tagged as 'html'

1
answer

Function not running in Javascript

Javascript function user(){ input = document.getElementById("user").value; label = document.getElementById("tuser"); if(label.style.display == "block"){ if(input.length >= 1){ label.innerHTML = "Usuário deve conter...
asked by 09.11.2017 / 16:41
2
answers

How to center menu [duplicate]

I'm trying to centralize this menu but I can not, I already tried several tips on the net but it does not work, could anyone help me? HTML <div id='menu'> <div class='menu1'> <ul class='menu' id='menu-main'>...
asked by 17.05.2017 / 20:14
1
answer

Decrease page size for printing

I made a function that printed a div for me, but it needs to be printed on the toner size. This is the code: $('#imprimirComprov').click(function () { var conteudo = document.getElementById('imprimir').innerHTML, tela_impressao...
asked by 03.06.2017 / 22:19
2
answers

Problems with jquery masking and input

I'm trying to put a value inside a input that is masked both in typing and in the value entered. Well, I have a list of real estate listings in the database where I pull the front, okay? And not going into many specifications, whenever I...
asked by 02.07.2018 / 15:55
1
answer

Include Option / Select in search

Good afternoon guys, I'd like to include the option for my search, I've already tried it: var $search = $("#search").on('input, option',function(){ $btns.removeClass('active'); var matcher = new RegExp($(this).val(), 'gi');...
asked by 19.06.2018 / 20:59
2
answers

Textarea with value that can not change

So, I have a textarea like this: <textarea id="mensagem" name="mensagem" type="text" style="width:400px; font-size:16px; height:100px; border-color:lightgray;" placeholder="Um texto qualquer" required> </textarea> My intention i...
asked by 27.06.2018 / 03:19
2
answers

How to retrieve address ID?

I'm using asp.mvc. In my route has the ID, the address of the page for example has link . I wanted to get this number 1 at the bottom of the page, is there any way to do that?     
asked by 08.07.2018 / 04:50
1
answer

AJAX without response from SUCCESS

First of all, this code is only a small part of the complete code, I have a simple problem, but I could not solve it. First, I have an HTML form, which sends by POST method, field values to a javascript file. In the javascript file, I make...
asked by 01.03.2017 / 01:49
2
answers

How to page via querystring without reloading the page?

I make the list of products via a querystring as in the example: "{myite? pg = 1}" I saw that on the website of the American and Walmart they make a page similar to mine, but without reloading the rest of the page. How do I implement this...
asked by 02.03.2017 / 19:17
2
answers

CSS problem, does not work

Some CSS commands are not working. Follow the commands: HTML <section class="menu-departamentos"><!-- inicio .menu-departamentos --> <h2>Departamentos</h2> <nav> <ul>...
asked by 11.02.2017 / 19:56