Questions tagged as 'jquery'

1
answer

How can I add the total of the Total Value $ row and the result in input costs appear? [closed]

var sumaValores = function(){ //Obtengo la última fila ingresada en la tabla var fila = $("#tablaDetalleMaterialEinsumo").find('tr:last'); //Obtengo el campo referente a la cantidad de insumo ':eq(2)' var campo1 = fila.find(...
asked by 04.10.2017 / 17:14
3
answers

Jquery does not run [closed]

I'm trying to put a jquery code inside the script tag but nothing happens: <!DOCTYPE html> <html> <head> <title>Pruebas Javascript</title> </head> <body> <...
asked by 18.07.2017 / 11:55
2
answers

Show active date in a restrict range datepicker of jQuery

I have a dynamic calendar in jQuery , in which I disable certain days, depending on the current day. And if it's Friday, Saturday or Sunday, I disable the whole week that comes next. The issue, is that I need to show the date that remai...
asked by 08.08.2016 / 20:15
1
answer

ajax + rails send ajax data to controller

I have the following code: $(document).ready(function(){ $('#score').on('click',function () { alert("hola"); var score=4; console.log("dentro de click"); $.ajax({ type: "POST",...
asked by 04.09.2018 / 12:50
1
answer

I want to apply style to the container of an element by means of a this or parent

I want you to select the elements that you click to give style <div id="cont-categoria" class="centFRH"> <div id="categoria"> <div class="cont-optionElement"> <div class='elemento 1' iden='1...
asked by 17.03.2017 / 02:02
1
answer

Knockout js does not bring me the value of the established date?

I have problems bringing a date from the database with knockout, it brings me the next date, function genderModel() { var genderModel = this; genderModel.GenderId = ko.observable(); genderModel.GenderName = ko.observable(); ge...
asked by 31.12.2018 / 14:48
1
answer

Check text string

I would like to know how I can do to read a string of mysqli text and if there is a word with "#" I can give it styles or put it in a hyperlink     
asked by 01.12.2018 / 17:16
1
answer

Problems with activeElement

I am trying to convert the values of the input that are numbers in decimals but the activeElement function does not get the values of the active input and it gives me an error, I hope you can help me or add another way of doing it, $(doc...
asked by 16.01.2018 / 16:51
1
answer

Pass PHP variable between manners that are not on the same page

I have an error that tells me $ data undefined I know why it happens but I want to pass it to a button that has a modal store them as a string like this: I have to create a separate individual php and pick up the data of my mod...
asked by 14.12.2018 / 14:28
1
answer

How can I work with cookies with JS or jQuery?

I need to create, read and delete cookies from the client side, for this I need to use javascript or jQuery but I do not know how to manipulate the cookies from here, there is a framework that helps with this issue or I have to build my own func...
asked by 04.07.2018 / 21:25