I have two elements that need to be updated a DIV and another INPUT
One has to be updated value and another the html, example
...
$.each(json, function (index, value) {
if (typeof $("#" + index).val() !== "undefined") {...
I'm having the following problem sirs.
I have the following function
function sortTable() {
arr = JSON.parse(localStorage.context_data);
$('#tableLemos th').click(function () {
console.log("funcao carregada...")
var id =...
I'm trying to use JavaScript to dynamically calculate my prices multiplied by the quantities and result in the total for each row, but it calculates the grand total and plays in the last field of the Total column. Like the picture below:...
This is the code that is trying to preload only that the fadeOut effect is not working when I put Jquery, I already checked that it is pulling the file, it just does not execute the fadeOut to appear the page, I am very grateful for the help . I...
I have the following fields coming from the database:
<?php
while($peListar = mysqli_fetch_object($sqlListar){
.....
$listar .= "<td style='".$fundo."'><input type='text' name='ValorI[]' class='md-form-control' value=''&...
How do I, if the user types the values in 02 fields, the result of that sum automatically appears in the EndType [] field? These fields are coming from the database.
while($peListar = mysqli_fetch_object($sqlListar){
.....
$listar .= "...
So guys, I created a modal like this:
<div class="modal fade" id="#siteModal" tabindex="-1" role="dialog">
<div class="modal-dialog modal-lg" role="document">
<div class="modal-content">
<div cla...
I have a link a , which if clicked, leads to a scrpt ajax delete ID .
With código down I can not get the id on page from php
// JavaScript Document
$(document).ready(function(e) {
$("a.bloqDesbloq").click(fu...
A simpler example of what I want would be the following:
$(document).ready(function(){
$('a.excluir').click(function(){
var i = $('a').index(this);
alert(i);
});
});
<script type="text/javascript" src="http...
Could you help me with a problem I'm having?
Good people need to create a select with values from 1 to N numbers, after the user select a number in the select has to create n divs from the selected value.
Follow the example not working ......