Questions tagged as 'jquery'

1
answer

avoid duplicity when doing append [closed]

var mySpan = $('<span class="dropdown"></span>'); $('.header-top-registro>.menu-mobile>li').append(mySpan); <script src="http://code.jquery.com/jquery-1.12.4.min.js"></script> <div class="header-top-reg...
asked by 24.04.2018 / 01:36
2
answers

Show and hide select options

Navigating I found a way to hide a option of several select depending on the id , that helped me a lot. What I am trying to do is to change the option it is visible again in all select to be able to select it...
asked by 10.08.2017 / 08:54
0
answers

Receive string data from the Date Range Picker to PHP plugin

I have a Date Range Picker in jQuery , it works well for me, the problem is that I could not manipulate the dates that I select in my PHP , since being JS and being on the client's side, no I capture that data in the in...
asked by 09.08.2017 / 19:23
1
answer

JSON does not recognize an internal object

I am creating a menu dynamically by means of a function, this function must receive as a parameter a JSON that will contain all the structure and hierarchies of the menu, the problem that when concatenating tells me that an internal element of t...
asked by 14.08.2017 / 20:30
1
answer

can not hide a div with .hide (jQuery)

body { font-family: helvetica, sans-serif; font-size: 15px; margin: 6% 10% 10% 35%; } input { padding: 8px 0px 8px 8px; font-size 10px; width: 159px; border: 1px solid grey; } label { position: relative;...
asked by 19.08.2017 / 06:24
1
answer

Asigar Value obtained from a Database to a SELECT

Good attempt to Assign the Value obtained from a query to a Database to a select Query in Database <?php $lsq="SELECT DISTINCT opcion FROM tabla1"; $quer = mysqli_query($con, $lsq); while ($raw=mysqli_f...
asked by 20.08.2017 / 18:09
1
answer

Effects jQuery click on asp.net

I am a beginner in jQuery and javascript but what I want is that when you click on the button all that blue footer grows up and stays there. This is my code jQuery : <script> $(function(){ $("button").click(fun...
asked by 27.07.2017 / 08:02
1
answer

How to do operations with a select with jquery?

I have this code and every time I choose a value of select makes some operations, what I need is that when I re-select a smaller amount than the one I already selected, I will do the operations again. $('#boton2').click(function(){...
asked by 24.07.2017 / 17:54
0
answers

Remove item after confirm AlertifyJS and JQuery

When I want to delete the DOM element with jquery after confirming with alertifyJS it gives me the following error: Can not read property 'parents' of undefined I think it has to do something with the context this , I have tried other t...
asked by 16.10.2017 / 01:03
1
answer

Error range dates php DateTime

I get the following error, I'm trying to do a range filter by dates, I'm using CodeIgniter 3x , I send the following dates by AJAX to PHP : $fecha1 = 21/07/2017; $fecha2 = 21/07/2017; In this way I separate the date from...
asked by 21.07.2017 / 21:54