Questions tagged as 'jquery'

0
answers

JS decimal truncation function

I am using the following function to truncate a number that entered a textbox to 10 decimals but these are printed to me. What I want to do is just let me write up to 10 decimals or less, but do not print them automatically, how can I do...
asked by 25.09.2018 / 17:43
1
answer

json.success does not work or does not enter the code

Good someone could tell me why it does not enter my condition if it is only a validation to check if the vin of the car exists if it is not only shows message and if it is if it inserts me it is in MVC, it marks me error in the code only in the...
asked by 25.09.2018 / 22:39
1
answer

Active applies to internal elements

What happens is that I have some tabs of Bootstrap, by means of a JS I am applying a class so that they are marked when they are deployed, the drawback is that I have a tab inside another and when I deploy the superior, I applies the active also...
asked by 24.09.2018 / 15:00
0
answers

Ajax type POST and send to two php

I have a booking form at a restaurant and I require that the reservation information be sent to the restaurant and a message that the reservation was received by the client. I have two php files, each one sends the emails separately, but when I...
asked by 22.09.2018 / 15:46
1
answer

Problems when checking Local storage

Muy Buenas I have an inconvenience when trying to go through the local storage to assign classes and styles to elements in the DOM. The case is that an ajax request is sent that returns a load to the local storage I used setTimeout to wait for t...
asked by 28.09.2018 / 19:47
3
answers

how do I get the select input-field option from materialize that have been selected with jquery?

I need to grab the options of that select materialize that are practically a checkbox to be able to add them to a collapsible so that they are visualized, but I need to know how to get those "selected options" with jquery or if it is with javasc...
asked by 28.09.2018 / 18:53
2
answers

how to fill a select with another selct from ajax

Hello community, I have the following problem, I need to fill select with another select from ajax . I explain myself: I have a select in this way in my file html <div class="form-group mt-1"> <select class="form-con...
asked by 24.09.2018 / 20:23
0
answers

Call ajax with onclick

I am trying to count the number of clicks of a specific part of my page. I put an onClick to the element which makes a call to Ajax to store in a database for every click they make. HTML code <a id="tapaweb" href="hola.pdf" onclick="m...
asked by 22.09.2018 / 23:58
0
answers

Make a draggable DIV (jQueryUI) on a table (dataTable)

I would like to know how I can make a draggable div (.draggable), that when dragging it overcomes a div that contains a table, I have something like that in my code (it's too extensive to put everything) HTML: <div id="contenedorDivs">...
asked by 21.09.2018 / 14:07
0
answers

How to solve Uncaught TypeError: $ (...) .modal is not a function in ASP.NET MVC 4?

I'm doing a project in asp.net mvc c #, the problem I have is that within my controller has an ActionResult that returns a PartialView so that it can be displayed within a modal window, the problem is when I open the modal register a new product...
asked by 18.09.2018 / 19:29