Questions tagged as 'jquery'

2
answers

Send empty decimal input

I have the following model. It was generated from the database with entity. The two fields can be null. public partial class Items { public int id { get; set; } public Nullable<decimal> largo { get; set; } public Nullable<...
asked by 16.08.2016 / 14:50
2
answers

Hide and show a div when clicking on a radiobutton with javascript

I want to make two RadioButtons work with the same ID but I want to make that when you press deposito show the div1 and when you press ventanilla show the div2 . I can not get it, I hope you can help me do it with java...
asked by 31.03.2016 / 18:17
4
answers

know the number of divs that is out of other

I would like to know How can you get the amount of divs, in this case from the div_principal class, which are not included in the class div_global? In this case you should return value. <div class="div_global"> <div class="div_pri...
asked by 06.01.2016 / 23:33
2
answers

Can I cancel the sumbit of a form and prevent it from reaching the controller (server)?

I would be interested to know if I can cancel or prevent the button submit from reaching the controller. As before the jquery .click event is executed, you may be able to do something about it and thus prevent it from continuing its execution. T...
asked by 06.04.2016 / 14:38
4
answers

AJAX does not send data to PHP

is my first time using AJAX, for more examples that I put into practice, I can not make AJAX send PHP a variable, instead if it communicates with the PHP file, but when I give alert(data); I get the html from my page .php, instead of show...
asked by 20.07.2017 / 15:51
2
answers

Show Pop Up of an image

My question in itself is how to make an image appear every time an html page is loaded, attached code and example image: <!DOCTYPE html> <html> <head> <title>Page Title</title> </head> <b...
asked by 31.07.2017 / 14:46
6
answers

Put a certain amount of zeros with jQuery

Hi, I have a small problem: I have my table in my BD called numeracion , in which is the field numeracion in it I have the numbers of the tickets or invoices; id_numercion numeracion id_estado ---------- ------...
asked by 12.07.2017 / 20:48
3
answers

Total sum of a column

I have this column of a table in html which I need to do a total sum and the result insert it a input text type td(class='sumTtotal') This is my td where each result of the dif $ remains What I was trying to do i...
asked by 26.07.2017 / 14:11
3
answers

Go through data from a json with javascript

I'm trying to get the data of a json but not when looking for a data throws me the error.    Uncaught TypeError: Can not read property 'day' of undefined $.ajax({ url: url, //dataType: 'json', type: 'POST', jsonpCallback: "myJSON",...
asked by 23.08.2017 / 15:32
2
answers

Obtain individual body tag elements

I have the following code: function obtener(){ var contador = 1; $("body").each(function(){ console.log(contador + " " + $(this).text() + "\n"); console.log("----------------------------------\n"); contad...
asked by 30.07.2017 / 16:32