Questions tagged as 'jquery'

1
answer

datetimepicker (jquery) inline is not displayed

I can not get the calendar to run correctly, when I click on a button if it looks good. but if you do not press anything, you see only the frame. It's the datetimepicker of jquery $('.datepicker').datetimepicker({ inline...
asked by 05.09.2018 / 09:55
3
answers

Replace, by. to the flight with javascript

I want that when typing one, I change it for a. in an input that only accepts numbers. For the moment I have managed to get the input to only accept numbers, but I need the part to change the, for a point But I'm a little Lost with the subject....
asked by 21.02.2018 / 16:45
2
answers

Message from "Loading ..." with jQuery.post (ajax)

I am using this type of data sending through jQuery.post, where do I place a loading image ... or a message while the function returns something? $.post( "ajax/test.html", function( data ) { $( ".result" ).html( data ); });     
asked by 02.03.2016 / 00:52
1
answer

Hide div if you do not have multiple classes

I have a set of div that I can show or hide by using checkboxes . I am using jQuery to find the div with a certain CSS class, and just display them. The html is the following: <div class="inputs"> <input class...
asked by 12.02.2016 / 12:09
5
answers

Redirect to url when clicking (settimeout)

I'm trying to make a function in js so that when the user clicks on a link spend a few seconds and automatically redirect to another url. function redireccionarPagina() { window.location = "http:/#"; } setTimeout("redireccionarP...
asked by 15.11.2017 / 12:37
2
answers

How to remove all class l tags as long as they have a different id than a selected one?

This is the code I use to add the classes and then remove them, is working but if I have more menus the code is plowed giant and I do not want that to happen base_url = $('#base_url').val(); $("li#6").on('click', function() { url =...
asked by 11.05.2018 / 16:52
4
answers

Display data from my JSON

I can not display the data I get in JSON format, this is the code I use. This is my jquery function, I take the data of a field, I send them by post and I receive the answer which I send by the function cargar_productos that I want to...
asked by 15.05.2018 / 22:18
2
answers

Using jquery in an element inserted from php with ajax

I have inserted a select of a php with ajax in another php that is the index. This is the index of where I take the data. <?php include 'conexion.php'; $msg =""; $tipo= $_POST['tipo']??""; $sql = "SELECT marca.idmarca as id,marca.marca as...
asked by 13.03.2017 / 16:53
1
answer

Validate cloned dynamic fields. Parsley and laravel 5.1

I have a form in which I can add, in my case, order lines. This is done with JQuery, cloning the entire line.  I use laravel 5.1 for the backend and for the client side I am occupying a JavaScript library of forms called parsley. At the time of...
asked by 19.10.2016 / 21:46
2
answers

Problem with variable when going through jQuery

Good day I have the following problem: I make a query with a patient that is in the database, but I get that it does not exist in this. I'm using jQuery I use a function that directs to another page and passes a variable 'document' to be p...
asked by 27.11.2018 / 17:12