I have this code in row selection of a table:
--------------------------------------------------------------------------------------------------
sBiblioteca is string
IF TABLE_Biblioteca.COL_BIB_TIPO = 1 THEN
sBiblioteca += [
<div style="border: 1px solid lightgray;" tipo="1" id="
]+QRY_SEL_BIBLIOTECA.BIB_CLAVE+
[
" ondrop="drop(event)" ondragover="allowDrop(event)" ><img src="\
]+FolderWeb()+"\biblioteca\"+TABLE_Biblioteca.COL_BIB_RUTAARCHIVO+
[
" draggable="true" ondragstart="drag(event)" tipo="1" id="
]+TABLE_Biblioteca.COL_NUM_CTRL+
[
" class="img-responsive" style="height: 100%; margin: 0 auto;"></div>
]
ELSE
sBiblioteca += [
<div style="border: 1px solid lightgray; height: 100%;" class="modal-video" tipo="2" id="
]+TABLE_Biblioteca.COL_NUM_CTRL+
[
" draggable="true" ondragstart="drag(event)">
<video style="width: 100%; height: 100%;" controls>
<source src="\
]+FolderWeb()+"\biblioteca\"+TABLE_Biblioteca.COL_BIB_RUTAARCHIVO+
[
" type="video/mp4">
</video>
</div>
]
END
EDT_ArchivoBiblioteca = sBiblioteca
--------------------------------------------------------------------------------------------------
And I need to hear the change event to execute a jquery statement, I have this Jquery code in the advanced tab in the page description.
--------------------------------------------------------------------------------------------------
<script>
$(document).ready(function() {
$("#A44").on("change copy keyup", function() {
$("#biblioteca").html($("#A44").val());
});
});
</script>
--------------------------------------------------------------------------------------------------
It works fine if I manually change the value of the EDT, but I need that EDT fence hidden and that the change of Jquery recognizes when WebDev assigns the value by programming.
Any ideas on how to do this? Or what other jquery event can I use to recognize the value change made by webdev?
Thanks in advance
--------------------------------------------------------------------------------------------------
sBiblioteca is string
IF TABLE_Biblioteca.COL_BIB_TIPO = 1 THEN
sBiblioteca += [
<div style="border: 1px solid lightgray;" tipo="1" id="
]+QRY_SEL_BIBLIOTECA.BIB_CLAVE+
[
" ondrop="drop(event)" ondragover="allowDrop(event)" ><img src="\
]+FolderWeb()+"\biblioteca\"+TABLE_Biblioteca.COL_BIB_RUTAARCHIVO+
[
" draggable="true" ondragstart="drag(event)" tipo="1" id="
]+TABLE_Biblioteca.COL_NUM_CTRL+
[
" class="img-responsive" style="height: 100%; margin: 0 auto;"></div>
]
ELSE
sBiblioteca += [
<div style="border: 1px solid lightgray; height: 100%;" class="modal-video" tipo="2" id="
]+TABLE_Biblioteca.COL_NUM_CTRL+
[
" draggable="true" ondragstart="drag(event)">
<video style="width: 100%; height: 100%;" controls>
<source src="\
]+FolderWeb()+"\biblioteca\"+TABLE_Biblioteca.COL_BIB_RUTAARCHIVO+
[
" type="video/mp4">
</video>
</div>
]
END
EDT_ArchivoBiblioteca = sBiblioteca
--------------------------------------------------------------------------------------------------
And I need to hear the change event to execute a jquery statement, I have this Jquery code in the advanced tab in the page description.
--------------------------------------------------------------------------------------------------
<script>
$(document).ready(function() {
$("#A44").on("change copy keyup", function() {
$("#biblioteca").html($("#A44").val());
});
});
</script>
--------------------------------------------------------------------------------------------------
It works fine if I manually change the value of the EDT, but I need that EDT fence hidden and that the change of Jquery recognizes when WebDev assigns the value by programming.
Any ideas on how to do this? Or what other jquery event can I use to recognize the value change made by webdev?
Thanks in advance