All Questions


Validations with jQuery Validate

I have a problem with a simple validation of rout I do with jQuery Validate . The issue is that when jQuery validates something, it throws a message, in my case it shows a floating balloon on the validated field and in addition to this, it plac...
asked on 18.03.2016 / 16:47

Can HTML parsing be done with regular expressions?

Yesterday I translated the response from RegEx match open tags except XHTML self-contained tags with its famous snippet of code:    You can not parse [X] HTML with regular expressions because HTML can not be parsed with regex. Regex is no...
asked on 25.07.2017 / 11:11

Boolean primitive values versus boolean object

I am seeing JavaScript and I came across this that I do not understand the Boolean objects and the Boolean primitives . If I use a Boolean object to compare it in a if will it give me false ? Or why the documentation of...
asked on 01.12.2016 / 05:36

Detect which html element has been clicked with jQuery

If I have for example several <span> and I click on one as I can, with jquery to know which one I clicked on? Are the IDs of the elements numbered automatically with item_<?php echo $i; ?> ? That is to say, I want tha...
asked on 20.01.2017 / 17:22

What is the difference between static and final?

I searched the Internet but it was not clear to me what these reserved words mean and what features they have in a class: static final
asked on 16.02.2017 / 22:17

Table relationships in MySQL

I have a big question about relationships in mysql. You see, I'm creating a site that looks like an e-commerce, it's for a colleague. I'm creating a table called categories and another one called subcategories . In the table subcategories...
asked on 19.07.2017 / 20:49

Delete duplicate items in a list

I need to find a more efficient way to remove duplicates from a list in Python. I'm doing it this way: for i in mj: if i not in mj2: mj2.append(i) Where kj is a list as [2, 4, 4, 4, 4, 4, 9, 9] and output mj2...
asked on 18.07.2017 / 20:27

notification push android do something when it arrives push closed app

I have in my app configured push notifications with firebase, all right here, I receive notifications with the app turned on and off, when it is open and something arrives I ask for the body to do certain actions for example to open another acti...
asked on 30.03.2018 / 19:41

It is good practice to use 'return' functions or 'void' methods

Question taken to answer a comment , so that it can be better understood, and because I think it can be an interesting and useful question for other users who may wonder the same thing. Regarding the returns I know that being void function...
asked on 13.05.2017 / 22:47

Differences between == and === (comparisons in JavaScript)

I've always seen that in JavaScript there is: assignments = comparisons == and === I think I understand that == does something similar to compare the value of the variable and the === also compa...
asked on 03.12.2015 / 10:45