Posts by Tiago • 2,377 points
213 posts
-
3
votes1
answer356
viewsQ: How to put date field in the registration of a product?
I need to create a module for Prestashop where in the product registration you have to have a new field date (Expiration date). This validity will be used for products that are perishable. Actually,…
prestashopasked Tiago 2,377 -
1
votes2
answers113
viewsQ: Calculation of toll per kilogram
Hello, I need to do a toll calculation based on the kilogram. Each 100kg the toll value should be added Ex: 50kg = 6.42 100kg = 6.42 101kg = 12.84 200kg = 12.84 299kg = 12.84 300kg = 19.26 ...…
-
2
votes2
answers23182
viewsA: Percentage calculation with JS
I found the problem. One more conversion needed. valorTotaldaNota = valorTotaldaNota.replace(".", ""); valorTotaldaNota = valorTotaldaNota.replace(",", "."); First, take the point and then in place…
-
3
votes2
answers23182
viewsQ: Percentage calculation with JS
I’m setting up a function to do the calculation using percentage. My online test works. http://jsfiddle.net/pfrk0v0s/ $(document).ready(function () { valorTotaldaNota = "1.000,00"; valorTotaldaNota…
-
2
votes3
answers55
views -
3
votes3
answers1480
viewsQ: Weight mask
Searching the internet, I found a code that masks weight in the field. But this code works with ID criteria. I would like it to work with CLASS, to be able to use in other fields. function id(el){…
-
1
votes1
answer558
viewsQ: Calculation of cubage with jquery
Need to calculate width * height * length * quantity. The Script is calculating only from fields that initial, those that are added according to need are not included in the calculation. The first…
-
1
votes2
answers1732
viewsQ: Conflict of jQuery
I’m having a jQuery conflict. I use an Admin, where there are several resources ready. I needed to add an autocomplete When after I finished I realized that the menu was no longer opening... This is…
-
2
votes2
answers1817
viewsQ: Place Json value on variable
What I’m doing wrong? var GETEstado = $(this).val(json[0].GETEstado); alert (GETEstado); The Alert is exhibiting [Object Object] My complete code: $(document).ready(function () {…
-
0
votes1
answer86
viewsQ: Jquery json with Indice
I need to create a Json result, where the state is the index. <?php //header('Content-Type: application/json; charset=utf-8'); require_once('Connections/conexao.php'); $selec = "SELECT estado,…
-
2
votes1
answer653
viewsQ: Load dynamic data within javascript
I’m trying to upload dynamic data from the comic book, but it doesn’t show up. $(function () { var divContent = $('#formularioVeiculo'); var botaoAdicionar = $('a[data-id="1"]'); var i = 1; //Ao…
-
1
votes1
answer349
viewsQ: Query getJSON
I am trying to make an ajax query using getJSON, but it does not return the value. What I am doing wrong? <!doctype html> <html> <head> <meta charset="utf-8">…
-
1
votes0
answers400
viewsQ: Send to database - Add/Remove/Javascript
Searching, I was able to find a script to create and remove fields. Link Add and Remove Fields with Javascript My question now, is how to send this data to the database, for a future query and…