Questions tagged as 'html5'

1
answer

Calculate subtotal even if all fields are not filled

I have a form where procedures values need to be entered to be calculated at the end, but values are not always entered in all fields. I wanted to know how validation for the procedure total exits even if values are entered only in two fields fo...
asked by 17.05.2018 / 14:37
1
answer

Select only ONE checkbox with vanilla javascript and bootstrap 4

I have the following code that generates the form printed on the image ... <div class="form-check form-group" id="areaTermosCondicoes"> <input type="checkbox" id="accept-term" class="form-check-input"> <label for="acce...
asked by 17.05.2018 / 17:48
1
answer

Pulse Effect does not work correctly when it has 2 elements

I have the following code: <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" xml:space="preserve"> <g> <circle class="pulse" fill="none" stroke="#FF00...
asked by 20.02.2017 / 20:56
1
answer

How to load image from javascript using base64?

Good evening, I'm using this plugin: link Here's JSFIDDLE: link Follow the code: HTML: <button type="button" class="btn btn-primary">Abrir imagem</button> JS: $("button[class='btn btn-primary']").click(functio...
asked by 20.02.2017 / 04:24
1
answer

Jquery Event Click does not work in image preview

Clicking on the img element does not work to call a JS function, what am I doing wrong? Follow the code below: HTML: <label class="control-label">Select File</label> <input id="input-id" type="file" class="file">...
asked by 19.02.2017 / 06:03
2
answers

JQuery does not find form

I'm using a form like this: <form name="mapping_marc" method="post" id="mapping_marc"> <?php foreach ($all_properties_id as $compound_name => $sub_properties) {?> <div class='form-group'>...
asked by 17.03.2017 / 13:50
1
answer

Show alert when select select

I have the following code $query = mysql_query("SELECT id, nome, situacao FROM clientes ORDER BY nome") or print mysql_error() <select class="js-example-basic-single form-control" id="cliente" name="cliente"> <option value="Seleci...
asked by 17.03.2017 / 19:32
1
answer

Position image relative to another even by changing resolution

I have the logo and a black background triangle. How to position the logo to always stay in the center of the triangle even changing the resolution? <imgclass="img-responsive triangulo-laranja" src="{{ asset('storage/triangulo.fw.png') }...
asked by 17.06.2017 / 19:20
1
answer

How to leave the last column fixed with horizontal scroolbar?

I'm using a simple plugin: link How can I leave last column fixed? Here is an example of a fixed column: link I'm trying to get the last column fixed, but nothing is right. Follow the code in jsfiddle: link Follow the code: &...
asked by 19.03.2017 / 07:04
1
answer

Ajax canceling onblur and onfocus events

I'm getting a call to an ajax (Bootstrap 3 + Html + PHP), what happens is that by putting the $ .ajax function, simply the events do not occur, if I put an alert there events happen normally: Has anyone ever gone through this? is it some inco...
asked by 13.01.2017 / 00:36