Questions tagged as 'javascript'

1
answer

Primefaces p: textEditor does not show well after display none

I am using JSF 2.2 with Primefaces 6.2. My problem is that the container that has a p:textEditor of primefaces has the property display: none; at the beginning, when the change with JavaScript to inline shows me a pair of...
asked by 12.06.2018 / 12:49
2
answers

Javascript For Loop mixed with if

This script does not work properly. I can not get the times that exist in Qui of a few (nn1), two (nn2) and three (nn3) correctly. In that string Qui, there are 7 ones (1), with which nn1 should be 7. There are 2 deuces, nn2 should be 2 and ther...
asked by 12.06.2018 / 16:02
1
answer

how can I validate input text without using button with PHP, MySQL

Good morning I hope you can help me with the problem I have about the validation of this input text ... I have 2 database tables and I need to validate two fields in one table and one field in another table. The detail is that I scan a barcode a...
asked by 21.06.2018 / 21:23
1
answer

Show / Hide a spreadsheet row when clicked

I am working with a spreadsheet to have a more web style and I need to show details of some fields only when the user requires it. I can show a hidden row with sheet.showRows(3) but I can not hide it using: var clic=0; function mostrarD...
asked by 27.08.2018 / 14:29
1
answer

Remove button default function and assign another button that allows you to go back to the previous page

I have a button that should return me to the previous page, however, it sends me to a submit, function that has another button and no idea, it has it too. I want to remove the function by default and assign it to return to the previous page with...
asked by 26.08.2018 / 18:02
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 26.08.2018 / 23:21
1
answer

Remove text "body" from the footer in WYSIWYG editor

I'm working with a ckeditor, and everything works fine, but I would like to know, how can you erase the body tag so that it does not appear once you start typing. I add my code <div class="col-sm-12"> <textarea id="ckedit...
asked by 20.06.2018 / 22:40
2
answers

Error compiling APK Relase in React Native

I have my project, when running it with react-native run-android everything is fine. But when I generate the APK for production, it sends me an error.    $ ~ ProjectAwesome / android       $ ./gradlew assembleRelease      ...
asked by 20.06.2018 / 15:49
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 / 06:30
2
answers

Get a specific object from a list in Firebase

I have a list of publications in firebase, I am developing an algorithm to obtain a random number and with the power to request an object from lst_publications to firebase, my random algorithm tells me what position (number) of the object...
asked by 27.07.2018 / 23:28