Questions tagged as 'jquery'

3
answers

Allow only input of an input type="number"

Search by tutos and I did not find anything, someone went through this? <div class="row"> <div class="col-md-2"> Valor:<br /> <input type="number" class="form-control" id="txtvalor" value="0" Placeholde...
asked by 11.01.2018 / 21:13
3
answers

That a button has to double click to make the form post?

It all arises that a user may be wrong to write a text in the input then I want to make the form post only when the user double-clicks the button.     
asked by 04.04.2017 / 19:57
3
answers

I do not recognize the id of a past input from php with ajax

This is the PHP code that performs a query and generates the HTML : if(isset($_REQUEST['ef'])){ $sentenci = $conn->prepare("SELECT * FROM familia"); $sentenci->execute(); $numb = $sentenci->rowCount(); if(...
asked by 22.04.2017 / 22:19
3
answers

Doubt syntax initializing jQuery statement

I have a question with the initialization syntax of a jQuery statement. I mean ... Using Dreamweaver I have seen that some of its versions (I do not know if all) when offering you the initialization code of a jQuery statement tell you the fol...
asked by 10.05.2016 / 10:38
3
answers

How can I delete the text inside a div that contains other drag-n-drop divs?

I have a div which contains a "text" that says "Drag the items here" I would like to delete them when the container has 1 or more than one div internal%. function dragstart(caja, event) { // el elemento a arrastrar //consol...
asked by 30.03.2017 / 23:09
4
answers

event focusout does not work with dynamic input in ASP

I am drawing an input dynamically in a table with document.getElementById('agregaDevolucion').innerHTML = "Devolución:<input type='text' name='txtDeposito' id='txtDeposito'/>"; and that same input searches a BD through AJAX...
asked by 26.04.2016 / 20:23
4
answers

Select several ids with javascript

I was doing an element search on a page. I try to catch all the elements with the same id, and I only get the first one with both JS and jQuery. I know that if I would do it with classes, I could do it without problems, but I still have the doub...
asked by 07.06.2016 / 12:31
2
answers

JQuery / Javascript - Sort Multidimensional Array ()

I have the following Array (): { "1 ": { "id":"12", "usuarioA":"1", "usuarioB":"2", "mensaje":"Hola mi amor", "date":"2017-01-19 03:02:12", "TokenID":"1",...
asked by 19.01.2017 / 09:22
7
answers

Close a modal using JQuery and Materialize?

I ask the question again because with all the answers they gave me I still could not solve the problem, which also seems super strange because several of the answers have a lot of logic! What do I need? Open a modal when you click on an...
asked by 19.10.2018 / 21:43
5
answers

Some jquery function to control an input only numbers are written?

Some jquery function to control an input only write numbers that are accepted by all browsers and also accept enter, delete and tab?     
asked by 16.12.2016 / 16:12