Posts by Rui Pimentel • 2,790 points
54 posts
-
3
votes3
answers1231
viewsA: Function that writes the first 50 numbers whose sum of the formant digits is 10
Although Renan’s response makes the main task, if your difficulty is in integrating with what you already have, this code should be easier for you to adapt: function start() { var cont = 0; var x =…
-
17
votes2
answers5844
viewsA: Coffeescript, Typescript and Javascript
Exactly. Coffeescript and Typescript are both languages that are converted into Javascript by a (so-called) "compiler". While Javascript is the scripting language that can be effectively interpreted…
-
0
votes1
answer9144
viewsA: Load values after changing combobox(Select)
Considering that the value of the dropdown menu should be captured and, from it, the script should decide what to do, I set the following example. Just adapt to your needs. <!DOCTYPE html>…
-
0
votes1
answer328
viewsA: unrecognized Expression: a[href=#! ]
jQuery is trying to use the final portion of the URL as ID in a query, but there is no element with that ID ("!") on the page, so jQuery launches the error. You have to make sure that the element…