Questions tagged as 'jquery'

1
answer

Call document.ready from a partial view

I am working with ASP.NET MVC, JQuery I want to call a document.ready from an ajax that is in a partial view, I show code: PARTIAL VIEW <script type="text/javascript" language="javascript"> $('form').submit(function (e) {...
asked by 21.03.2017 / 04:42
3
answers

PHP echo variable does not work in jQuery

I was reading by stackoverflow in English the way to receive in jQuery the value of a PHP variable and I found this way: $(document).ready(function(){ $(".topic").click(function () { var postId = "<?php echo $post[\'id\']; ?>...
asked by 21.03.2017 / 06:36
2
answers

Are the class in jQuery?

I would like to know if there is something similar to this in jQuery class Area{ public function data(){ } }     
asked by 14.08.2016 / 19:20
3
answers

Can not convert undefined or null to object in Javascript

I am comparing an arrangement that comes to me from a query in the following way: var data = response['return']; // Aquí se almacena el arreglo var tableHead = '<tr>'; //Aquí comparo el arreglo para validar si esta vacío o indefinido o n...
asked by 19.07.2016 / 18:23
3
answers

does not show JQuery autocomplete matches

I'm using Jquery's autocomplete library, I think it works 50%, it does not generate an error but it does not show me the text of the matches it finds, they only appear as the rows where the text should go, not I know why ? this is my code...
asked by 15.11.2016 / 19:06
2
answers

How to send data in a string using ajax?

I need your help, gentlemen. You see I want to send the value of 3 variables which come from several fields of a form, except one which I pass to javascript from PHP. If you are wondering if those variables load the values, I say yes. I already...
asked by 30.10.2016 / 22:18
2
answers

Checked radio button. php ajax

Good, I'm having a problem with this code, when opening the option to edit the form, I select the value 2 .. But there are some that have value 1 .. I leave here the code so you can see it .. function editarDestino(idDestino){ $('#form_edi...
asked by 29.06.2016 / 17:48
1
answer

Upload images png to the server [closed]

I am developing an application with html5 , css3 , jquery and php , and I have the problem that when I want to upload a png image, it does not upload it to the server. I can upload images jpg, bmp, but when the image is png it seems that it...
asked by 15.08.2017 / 22:19
3
answers

how to save a jquery action in the localstorage?

It happens that I have a button that when I click on it, it changes the background to another color and I would like it to be saved in localStorage . So, every time you enter the web, be the color you chose. Let me explain: function tema...
asked by 21.08.2016 / 21:59
1
answer

Go through a table with different inputs and print them in another

I have been having difficulties planning the logic for this problem. I have a table with various types of input ( text, date, checklist ) and I want to print them in the order given by the first table, but I have problems when I select...
asked by 14.12.2018 / 23:39