Posts by Dinei • 210 points
3 posts
-
1
votes3
answers107
viewsA: Help with string programming logic?
You can simplify the search in the function str_chave using the variable i to control the position being searched, and return it when it finds. For example: for (i; i < comp; i++) {…
-
2
votes2
answers365
viewsA: Why do browsers render the same page in different ways?
Within the browser, the party responsible for reading and interpreting HTML and CSS is called the rendering engine or rendering mechanism (in English Rendering engine), and there are several…
-
6
votes1
answer3435
viewsA: How to make a text editor in a Tinymce style textarea?
The secret of WYSIWYG editors is the attribute contenteditable. With this attribute it is possible that an HTML element like <div> or <p> becomes an "input", but retaining the ability to…