Questions tagged as 'html5'

1
answer

How to convert jQuery .on function to pure JavaScript

Today I started trying to transform a function that I'm using in jQuery (which @ Jose helped me implement in this answer ) to .on , for pure JavaScript, but I'm facing some difficulties. The online courses I have already done did not addr...
asked by 11.06.2015 / 02:34
1
answer

Problem with playing videos using HTML5 native tag

Recently I hosted a video file on MP4 on my server and used the native HTML5 tag for media playback on the website. The sound comes out normally and the video is not displayed (I tested it on my PC and it runs both audio and video). I...
asked by 17.06.2015 / 07:18
1
answer

How to create a page numerator?

I'm developing a "News" page with a lot of news, and it will only show 9 news stories per page, above that, you should go to page 2 and so on ... how do I do that?     
asked by 20.02.2015 / 12:46
1
answer

Transmit information without going through the server

The question is simple and quick, is there any way to send data without the need for them to go through a server, for example send data from a form that user A filled out for user B in real time.     
asked by 08.02.2015 / 15:08
1
answer

WebWorker and Async - What's the difference and when to use it?

I'm specifically studying a WebWorker implementation, and I did not quite understand the difference between WebWorker and Async in JavaScript, whereas WebWorker gives me an asynchronous solution with a better (or better) code organization....
asked by 27.04.2017 / 16:08
1
answer

How to insert a watermark in PNG

Following this example, I would like to be able to use a png in place of the banners on the canvas: link I'm using this code as a study, because it's all commented out, so my question applies to exactly this code: /* @preserve *...
asked by 23.09.2015 / 00:25
1
answer

Why Button inside Label does not work. Button does not work as expected does not activate Checkbox

I was making a Menu that only appears when a checkbox is checked. And to change the status of this checkbox I need to click on label of it, since input:checkbox is actually hidden. What happens is that within la...
asked by 28.12.2018 / 14:27
1
answer

Height of the div is greater than the height of the image. Because?

I have the following pure HTML, without CSS <div> <img src="_img/_banner/banner1.jpg" /> </div> The banner1.jpg image has 300px height and div has not been set. Looking at inspector to imagem...
asked by 16.11.2017 / 12:31
2
answers

What is Riot.js?

I was reading about some frameworks and libraries for front-end UI development and I came across Riot.js . By giving a quick read on the page of the library, I superficially concluded that they promise to make UI componentization easier th...
asked by 11.10.2017 / 15:03
2
answers

UPDATE PHP with JavaScript

I'm trying to perform UPDATE, but it gives the following error:    Notice: Undefined index: id in C: \ wamp \ www \ SitePHP \ base \ updateFuncionario.php on line 4. Follow my code function function atualizar(id){ if(confirm("Deseja...
asked by 23.11.2017 / 20:21