Questions tagged as 'jquery'

1
answer

Get local IP jquery

I found this code that returns the IP or IP's of the machine. function getIPs(callback){ var ip_dups = {}; //compatibility for firefox and chrome var RTCPeerConnection = window.RTCPeerConnection || window.mozRTCPeerConnect...
asked by 03.12.2016 / 18:46
3
answers

I can not access an item with an ID that contains% with JQuery

I am creating an input element dynamically to introduce a title to an image that the user uploads. When I create the element I assign it as id title + the name of the uploaded image. To remove the spaces and accents that may have the name of...
asked by 14.07.2017 / 11:20
1
answer

DobleClick to Edit

I'm doing an HTML table which has the fields of: No., Name, Area, Position and Email, the only thing I need is to edit the rows that were already entered in the table, to edit them I want to doubleclick in the row , but the problem is that I edi...
asked by 19.07.2017 / 19:11
1
answer

Syntax Error jQuery v3.1.1 "el.querySelectorAll (" * ,: x ");" // line 1317

At the moment of opening the console and reloading the page, it sends me directly to the debugger and shows me line 1317 in red and remains loading until the console is closed. I do not think the problem is in jQuery. I do not think he's the...
asked by 28.11.2018 / 00:37
2
answers

access the value of a div within a li element

I have this line <li id="liPryName"> <span><i class="glyphicon glyphicon-folder-open"></i></span> <div class="id">Valor de Id</div></li> I would like with jquery to be able to access the valu...
asked by 18.12.2018 / 19:03
1
answer

Problem with Alert fade in (bootstrap), only shown once

I'm trying to perform a bootstrap alert. it is displayed correctly when the response is received correctly, or some error. but when I perform another action that involves another ajax response, this one no longer shows me the alert. Here is m...
asked by 26.12.2018 / 20:28
1
answer

Select a selected: true from another Select

For some reason you do not select me on the second Select. I have not asked the question without checking before, but it does not work for me. I have a Select that depending on what I choose, I will select by default any of the options that I al...
asked by 27.12.2018 / 19:56
2
answers

Access a variable session from jquery

From jquery, I send to validate a user via Ajax, validation that is in a PHP. If the validation is Ok, the PHP puts the user in a session variable: <?php $_SESSION['nombre']=$usuario; Then, I print said variable in the html: <div>...
asked by 22.11.2016 / 04:13
8
answers

Check empty input

I am programming in php and mysql and I have a form with personal data and a button submit to save. Then I want to validate that the input of the root of the person is not empty, and therefore do not leave save. I...
asked by 11.07.2016 / 18:26
1
answer

How to call a javascript function

I have the following function. function readURL(input) { if (input.files && input.files[0]) { var reader = new FileReader(); reader.onload = function (e) { $('#preview').attr('src', e.target.result); };...
asked by 29.08.2018 / 09:00