Questions tagged as 'html'

1
answer

Words with an accent do not work

I have Ajax which loads data from the database and in type json: $.ajax({ type:'post', dataType: 'json', url: '../model/dao/CursoDao.php?acao=1', success: function(dados){ for(var i=0; dados.length > i; i++){...
asked by 24.08.2017 / 23:33
2
answers

Doubt on the select option

I'm trying to use the SESSION variable to pass values to the fields, as used in "login", where there is something inside the variable, will be shown in the field, but if it does not exist, nothing will be shown. How can I do the same in selec...
asked by 24.08.2017 / 16:05
2
answers

How to open a pop after a few seconds and close after a few seconds after opening

Code updated and working. Contributed by Leo Caracciolo $(document).ready( function() { $('.popScroll').show(10000); $('.popScroll').delay(20000).fadeOut(); $("#close").click(function(){ $('.popScroll').hide();...
asked by 08.06.2017 / 22:17
1
answer

How to put border on select arrow with CSS?

I have this select with html and css: HowdoIputaborderonthesideofthearrow?So:     
asked by 08.06.2017 / 00:09
2
answers

How do I get data from a form and put it inside a JavaScript object?

Hello, I'm trying to understand JS calls from a form (so what?), but I'm having a few issues and would like some help. My form is: Nome: <input type="text" name="name"> E-mail: <input type="email" name="email"> CPF: <input...
asked by 26.07.2017 / 04:08
2
answers

Input CSS Postal Code [duplicate]

Good morning, I would like to have my input text accept only four numbers and dps of this "-" and accept only three numbers. Is it possible with HTML and CSS only?     
asked by 06.06.2017 / 18:29
1
answer

Open PDF in browser automatically after download

The PDF downalod is executed correctly (minimized in the bottom corner of the browser). How do you open automatically on a new tab ?: <a href="#" class="download" name="downloaditem" id="downloaditem3" target="_blank"><span st...
asked by 05.06.2017 / 16:43
1
answer

Div fixed to some extent of the page

I'm developing a website that has a fixed div, but when it reaches a certain point, it follows the scroll. An example is the site link From what I saw, it is a script that from a certain point makes a scrolling calculation inversely proport...
asked by 19.10.2017 / 22:14
2
answers

Hover is not displaying correctly

I have a a no link, only for the display of additional information, but it is not being displayed correctly. I wanted it to be displayed as follows: However,itisdisplayedasfollows: BelowisthecodeHTMLandCSSused:CodeHTML:<aclass="too...
asked by 16.10.2017 / 19:56
1
answer

Passing a javascript parameter in the middle of an append

Without much fanfare, I'm stuck on the following problem: I have the following JS code: data.forEach(function(item) { $("#bodyTabelaClientes").append( "<tr><td style = 'text-align: center'>" + item.nome...
asked by 15.05.2017 / 19:03