Questions tagged as 'jquery'

3
answers

How can I verify that all input of the same class have a value of 0

I need to evaluate if all the input with the class "hour" have the value of 0, I thought about doing it with each but it does not work for me. if ($('.productTextInput').filter(function() { }).length === 0) { console.log("Todos en 0"); } e...
asked by 22.10.2018 / 19:39
1
answer

send checkbox checked by ajax method

Good I have a survey with several questions, to be exact are 100 and the answers are yes and no, I would like to know how I can send the answers checked whether or not to my ajax method, rather what I have doubt is how to send it the data to ins...
asked by 21.10.2018 / 21:24
1
answer

Dropdown does not work on angular 5

I am developing an app in angle 5 and I have 2 dropdown of bootstrap (as shown in the image). the point is that the first one works fine but the second when clicking it gives the following error: Uncaught TypeError: Bootstrap dropdown require...
asked by 20.10.2018 / 08:46
1
answer

Split strings with regular expressions

Good I want to extract in separate strings a string with Jquery I do not know if to do it with regular expressions or some other method, the string is the following one ?i=0&edad=18_28&tarifa=40_80,81_110&servicio=25&ubicacion=...
asked by 21.10.2018 / 01:35
2
answers

How to rename text with JQuery?

I want to replace certain characters and I do not know how to do it automatically with Tampermonkey. The ideal is to do it with jquery HTML : <div class="panel-body" data-loading-overlay="" style=""> <table id="list-fi...
asked by 17.11.2018 / 21:42
2
answers

Send and display content in a modal

I'm trying to show the contents of a php in a modal using a js but nothing appears I have the following JS that what it tries to do is send the AJAX variable to the PHP and the result of this would be shown in the modal $.ajax({ url: "table....
asked by 19.11.2018 / 23:50
3
answers

How to send value from a div to an input

I am working with datapicker bootstrap in the range of dates and particularly this container has no input to select the date, rather it is based on a div <div id="reportrange" name="reportrange" class="pull-right" style="background: #fff;...
asked by 07.06.2017 / 21:19
1
answer

Does not return the string

I have a input where I'll put the word    'Party:' function go() { var c = document.getElementById("mm"); var part = "Party: "; var partC = part.fontcolor("black"); var f = c.value = partC; } <input type="button"...
asked by 10.05.2017 / 17:14
2
answers

Pass data from an ULR to an array

I have this url www.unidosporelmundo.co/home.aspx?c=242&razon=united by the world & work = united by the world & address = CRA 45: 430 Number of the quote: 242 What I need to do is create an arrangement with the parameters it brings which...
asked by 14.05.2017 / 22:35
1
answer

.appendchild is not a function

var principal = document.createElement('group1'); principal.id="forms"; var txtnombre = document.createElement('input'); txtnombre.type = "text"; txtnombre.name = "Nombre"; var spanh = document.createElement('span'); spanh.className="...
asked by 01.10.2018 / 21:54