Questions tagged as 'html'

1
answer

how to use the foreach

Hello, I'm here to ask for the help of your friends. I have this code below to list all the products and to be registered, but I am not able to list them on the same page using the foreach. Would my friends give me a hint of where I'm going wron...
asked by 30.08.2015 / 20:07
1
answer

How to use the "display: initial;" in IE9?

I made a website, but it made a mistake in IE9. The effect I made only gets cool with display: initial; (because it fits right into the letters). The class code is as follows: .box-slider h2 { font-size: 23px; background-colo...
asked by 04.02.2014 / 17:16
1
answer

Disable button while the form is not valid to not have more than one request and duplicate saved data

I need to disable a button until all form fields are correct. Thank you in advance. $('#btnSalvar').on('click', function (e) { var button = $('#btnSalvar'); button.prop('disabled', true); var v...
asked by 08.11.2017 / 17:52
1
answer

How to capture span content by JavaScript

In the WhatsApp Web, every message sent is stored in a span . I need to assign the value of the last message sent by the caller to a variable, as I do with the contents of the "Send a message" box: var textbox = document.querySelector('#main...
asked by 20.12.2017 / 17:27
3
answers

Notice: Array to String conversion in

I have a problem with the following code: <select name="tipoPessoa" class="form-control"> <?php $tipos = array("Pessoa Fisica","Pessoa Juridica"); $tipoSemEspaco = str_replace(" ","",$tipos); foreach ($ti...
asked by 13.03.2017 / 04:49
1
answer

Set style in event: hover of an inline HTML form element?

Can you set style ( CSS ) of a HTML element of inline in event :hover ? How to set style ( CSS ) of an element HTML of form inline in event :hover ?     
asked by 30.01.2015 / 22:52
1
answer

Validate fields in a form made with jQuery-steps

The form has two steps, I was able to validate the first step using the onStepChanging . But in the second step where there are fields that need to be validated, the user action becomes the submit, which I report on onFinished . I then tried...
asked by 27.12.2018 / 13:32
1
answer

How to replace the HTML content of a div using DOMElement of php

I'm trying this way libxml_use_internal_errors(true); //pegar o conteudo de um pagina web $doc = new DomDocument(); $doc->loadHTMLFile('http://www.astralsaudeambiental.com.br/'); $div = $doc->getElementById('sidebar'); $string_div = '';...
asked by 25.07.2014 / 21:52
1
answer

Use of meta keywords

Do search engines continue to use the meta tag as relevant? There are several articles on the internet saying no, others that yes, I really would like to know.     
asked by 05.07.2014 / 19:56
3
answers

Font does not accept accent

Personally, I'm using a custom font, so I use @fontface in CSS. I'm having trouble putting accent, when I put it so, follow the link below: What could I do?     
asked by 22.08.2014 / 02:22