Posts by romulobastos • 166 points
6 posts
-
1
votes1
answer770
viewsA: How to pick up element by id within a block returned by getElementById()
I got... I solved the problem. I needed a p/find selector element. I tried the children, getElementById, getElementByTagName, ... And I wasn’t remembering the main... the querySelector. It worked…
javascriptanswered romulobastos 166 -
0
votes1
answer770
viewsQ: How to pick up element by id within a block returned by getElementById()
Following... I want to find an element (form) that is inside a block. I use the .getElementById(); to get this block. After I get the block, I want to find the form that’s in this block so I can…
javascriptasked romulobastos 166 -
2
votes1
answer1310
viewsA: How to prevent a div from leaving the page, when another div changes size?
Hello, Roberval! Use the box-Sizing beam the sizes with the percentage desired. See the tips in CSS Tricks I put in the Jsfiddle p/ you can test as well! Jsfiddle |…
-
7
votes3
answers1419
viewsA: What is the difference in checking an array with isset and array_key_exists?
As our friend Papa Charlie said, the return varies according to the values of the array. This code will show you a different return of the two methods cited. <?php $arr1 = ['a' => 1, 'b' =>…
-
1
votes1
answer148
viewsA: $. ajax stops working the other jquery scripts
Speak, Diego! Blz? Use Eval() to run scripts. $('#selector1').on('change',function(){ $.ajax({ type: 'post', context: document.body, url: 'servico_institucional.php', data:…
-
0
votes1
answer97
viewsA: Separate Jquerys and Css
Hi, Diego Lucas! Blz? example.php is being called within of the content of index php.? I say that because if the example.php for another page, being called in the browser separately of index.php,…