Questions tagged as 'jquery'

2
answers

add different classes in a foreach

I have this code that fills me with an array which displays two images. for (img of transactionImages) { let image = document.createElement("img"); //$(image).addClass("box_imgpeque"); $(image).attr("src", "data:image/jpeg;base64,"...
asked by 12.06.2018 / 23:45
1
answer

Javascript: Jump between the different inputs and select them by pressing enter

I have two div, in one I have some inputs and select and in the other I have others. The idea is that you can jump to the next input with just pressing enter, but that can only be done in div2 and regardless of whether they are input or select....
asked by 27.08.2018 / 01:21
1
answer

JQuery DataTables load json, but do not populate the table

JQuery DataTables loads json, but does not populate the table. This is the code: <table id="tabla" class="table table-hover" cellspacing="0" width="100%"> <thead> <tr> &l...
asked by 30.07.2018 / 08:30
1
answer

Problem with $ (document) .on ("ready"

I'm trying to perform a function when I finish loading the oncanplay but when I put a document.ready I get ReferenceError: loaderVideo is not defined HTML <video src="https://www.html5rocks.com/en/tutorials/video/basics/devstorie...
asked by 29.07.2018 / 04:24
2
answers

Problems with receiving variable get [closed]

I have this simple error, but I can not tell what I'm doing wrong Undefined index: activity_id $id = $_GET['id_actividad']; $sql = "SELECT * FROM actividad WHERE id_actividad = '$id'"; $resul1= mysqli_query($conexion,$sql);...
asked by 05.06.2018 / 07:49
1
answer

ERRORSQLSTATE [23000]: Integrity constraint violation: 1048 Column 'url' can not be null

When executing the query, I get the following error:    Notice: Undefined index: text in C: \ xampp \ htdocs \ Dreasity \ views \ new-publication.php on line 14   ERRORSQLSTATE [23000]: Integrity constraint violation: 1048 Column   'url' can...
asked by 14.07.2018 / 08:46
2
answers

Find items with Jquery

Good afternoon masters I've been trying to get to an item with jquery but I do not give maybe they can help me with many boxes with the same attributes and I want to get from #desde_aqui to #quiero llegar aquí <div class="card negocia...
asked by 15.07.2018 / 03:13
1
answer

Show name according to select in other input

I have a table where I have, the id, department code and the full name of this and what I want is that when I select an option, the full name of the department appears but it is only showing me the id I have this function to do that functi...
asked by 14.07.2018 / 04:41
1
answer

Enable right click ONLY in an input

I have disabled the right click on the whole page, but I need it to be enabled in a single input to paste text, since javascript does not allow to take the contents of the clipboard. I have it disabled like this: $(document).bind("cont...
asked by 09.06.2018 / 16:54
1
answer

Error calling jquery library Uncaught TypeError: $ (...) .Datatable is not a function

I have a problem when using a datatable plugin, I think it loads the jquery script twice, but I do not know where. <script src="../src/js/jquery.min.js"></script> <script src="../dist/js/getorgchart.js"></script> <...
asked by 03.06.2018 / 18:50