Questions tagged as 'html5'

1
answer

Date is wrong when converting paid Date in JavaScript

Hello, I have a .NET API that returns the data, the date comes in the format: 2016-06-17T00:00:00 and I try to convert it to date in JavaScript, so I do the following: var data = new Date(2016-06-17T00:00:00); It works, but the date...
asked by 24.06.2016 / 14:38
1
answer

Jquery Validate does not work with extension type - File Input

Follow the code: $(document).ready(function () { $("#myform").validate({ ignore: ":hidden", rules: { images: { required: true, extension: "jpg"}, messages: {...
asked by 18.01.2017 / 21:57
2
answers

Can I only use HTML5 Form Validation for Client-side validations?

I'm a bit worried about using HTML5's Form Validation because despite the simplicity of implementation for some browsers, especially IOs and Safari support is partial as seen here . In my current project (which I'm implementing Form Validati...
asked by 11.05.2016 / 22:12
1
answer

Update the index of the row of a table html

How do I update the row index of a table html after removing it? I better explain I have a table that I can add or delete items to add I use an auto increment variable: _contaLinha++ : Add items to the table: function Adicionar() {...
asked by 04.05.2016 / 00:30
2
answers

Creating NavBar to Test Responsive Site

Hello, I find this strange question to explain, but I'll try my best not to take negative feedback haha, come on. Status: I have a website, in it I present other website templates, I would like to apply a navbar, with my logo, some buttons th...
asked by 23.03.2016 / 17:09
1
answer

How to mount an array of select items from select in html and run it to organize items in javascript?

I have the code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); associar.click(function() { var selecionado = permissoes.find...
asked by 24.02.2016 / 18:12
1
answer

How to get values from two html selects in javascript?

Basically I have the following code: var associar = $("#associar"); var desassociar = $("#desassociar"); var permissoes = $("#permissoes"); var minhasPermissoes = $("#minhasPermissoes"); var gravar = $("#gravar"); associar.click(f...
asked by 24.02.2016 / 21:38
1
answer

CSS font-smoothing: antialiasied makes no difference?

It is possible in the late Fireworks cs6 (and from what I read in photoshop too) to optimize the rendering of the fonts. Searching to see it was possible to apply this in the web pages vi there are sim resources to accomplish the same: -webkit...
asked by 08.03.2016 / 23:24
1
answer

When to use the draggable attribute in the html element?

I've already learned that the draggable global attribute makes HTML elements draggable and with a bit of JavaScript even more interesting. But according to the HTML documentation, this attribute can be used in the html element. Question: Does an...
asked by 19.03.2016 / 23:24
1
answer

How to save a html page in java

I have a project which I need to report for each code. And save it to disk in PDF format. After generating the report, I do not know how to pass the (generated) page to the Servlet and save it to PDF. I was able to send the html to the servle...
asked by 15.01.2016 / 16:42