Questions tagged as 'jquery'

1
answer

Nestable.js works at the logical level but not visually

I am using Nestable.js to make a list of products with byproducts so that it is displayed as a tree. I do not have any errors in the console and I do not see where my error may be, but once everything is configured, the list appears like this:...
asked by 27.09.2018 / 15:46
1
answer

Delete input and leave only the first one

I have a question about removing inputs using js , for example I have 7 inputs and I want to delete 6 of them leaving only the first, try to use remove() but this eliminates all of them. thanks in advance. $(document).ready...
asked by 19.09.2018 / 22:00
2
answers

Send to a View the list of Customers in my database

I tell you that I'm doing a database where I register clients. And for the disabling of a client I use logical deletion, setting the property of Enabled = false to the client. Then, it occurred to me, that when I loaded my Create.html view, I...
asked by 01.11.2018 / 04:53
1
answer

Add two input and subtract the total with jquery

I have a window for the shopping cart with two input, one where I write the total charged with a credit or debit card, and another for cash payment. It happens that the customer in a purchase can use both methods at the same time. So I want that...
asked by 13.09.2018 / 20:33
1
answer

AJAX + RAILS Save javascript variable in my database

I want to make a game type quiz, that according to the correct answers the user earns X points. Those x points I want to save in a table called Games that has a field called points. I would like to do it without having to do any submit. That is,...
asked by 02.09.2018 / 18:42
1
answer

How to save a Json in a variable javascipt

hi chic @ s I have a problem. I'm designing a web in which I use a php script that searches in several directories of my web images that comply with certain characters in its name, and once it has this it returns the link in json format. My p...
asked by 29.08.2018 / 22:46
1
answer

"parsererror" SyntaxError: Unexpected token in JSON at position 0?

I do not stop getting this same error, I have researched about it and it seems that I am sending as html ... something? The concept does not finish to me to be clear in the other answers that have been with the same problem &...
asked by 27.08.2018 / 17:08
1
answer

Problems trimming bakcground image

Pagina.html <div id='resultado'></div> <img id="imagen1" src="http://img2.rtve.es/v/1451521/" '="" style="margin: 0px 576px 324px 0px;"> <div id='imagen'>Imagen</div> app.js var margin_top= $('...
asked by 09.08.2018 / 13:48
1
answer

Carousel of photos - prev next - that does not consider the display: none

I'm creating a photo carousel. I have a list of several thumbnails but they are only visible 3 at a time. Clicking on one of them is shown below in large and with a text. My theme is the organization of these three elements: <p>&l...
asked by 08.08.2018 / 21:23
1
answer

Failure jquery in function associated with submit button

Hi, I'm following an ajax tutorial that I can not get it to work. Apparently he can not even do the function funcPrincipal () {$ ('# miFormu'). on ('submit', executeAjax);} in main.js Could someone tell me what's wrong? Here I put the files:...
asked by 29.08.2018 / 17:58