Questions tagged as 'html'

3
answers

Create html table and zebra the same

I would like to know, how do I zebrate an HTML table? It has only two columns and the information is populated dynamically from the controller and DB.     
asked by 07.05.2014 / 19:30
3
answers

Error for unknown cause: "SyntaxError: invalid range in character class"

Situation: I have a page that contains a <iframe> of another, on this other page, I have a simple HTML element input : <input type="text" required="" pattern="[a-Z]{2,35}" tabindex="6" name="edtCidade" id="edtCidade"&g...
asked by 14.02.2014 / 16:40
2
answers

How do I not cache image cache with HTML or PHP?

I'm creating a web page that is almost just image, every day I change the images of the page but their name remains the same. The browser is caching a lot and every time I update the images they do not change visually if you have already accesse...
asked by 13.06.2014 / 16:17
1
answer

Customize CSRF protection error messages in CodeIgniter

In% with%, if I give a reload F5 on a form's page, the CodeIgniter error is returned. A protection against The action you have requested is not allowed . How do I customize the CSRF of this error message? Instead of...
asked by 26.06.2015 / 04:34
1
answer

What is the purpose of the "Image" input?

I've just now realized that there is a input attribute with type equal to "image" . I saw this being used on some site (pretty old by the way) to submit a form. I have the following questions: What is the purpose of...
asked by 13.04.2017 / 18:51
1
answer

Replace anchor by button in form with calculation by javascript

I have the following code: function calc(){ var form = document.getElementById("form"); var a = +form.a.value; var b = +form.b.value; var result = (a+b); form.result.value = result; } <form id="form"> A: <input...
asked by 25.12.2016 / 23:24
4
answers

How do I display the OLX site's phone number?

In OLX, the advertiser number is partially visible and only after you click "View number", the full number is displayed. How do I do this in JavaScript?     
asked by 14.02.2017 / 16:44
2
answers

Input radio that looks like checkbox?

I need to do a quiz, and the alternatives are radio type inputs, but it looks like custom checkbox. What is the best way to do this? .tabs-below > .nav-tabs, .tabs-right > .nav-tabs, .tabs-left > .nav-tabs { border-bottom...
asked by 06.04.2015 / 03:34
3
answers

Never ever use inline styles?

For example, tag canvas : I saw some tutorials on YouTube, and almost all of them used like this: <canvas height="" width=""></canvas>. So should I use in HTML, inline , as above, or as in the example below, in CSS?...
asked by 24.08.2017 / 23:18
2
answers

How to include Bootstrap's Glyphicon inside the "input / input" tag?

With the following code: <a href="#" class="btn btn-primary"> <span class="glyphicon glyphicon-pencil"></span> Editar </a> I can create buttons like these:    ButIcannotdowithinput:<inputtype="submit" class="...
asked by 22.05.2014 / 18:36