Posts by Rhuan Dornelles • 83 points
9 posts
-
1
votes1
answer110
viewsA: Take a Jsonarray and set as Arraylist<object>
I managed to convert my Jsonarray that I took from the tag "reposicoes" and passing a function of GSON and Typetoken, shown below: JSONArray listarep = responseget.getJSONArray("reposicoes");…
-
0
votes1
answer110
viewsQ: Take a Jsonarray and set as Arraylist<object>
Basically, I have a code that gets a JSON from an API. This JSON gets a "reposicoes" array, where it contains the information I need. An example of this JSON:…
-
1
votes1
answer77
viewsA: Load reply comment with AJAX without refreshing page
What you can do is update only the <div> that is loading the comments, inserting the same html and pulling php. The code for this in Jquery is: $(function() { setTime(); function setTime() {…
-
2
votes2
answers98
viewsA: Using PDO links in PHP
To access some information within the variable $rows, do so: $rows->titulo $rows->categoria $rows->inicio $rows->fim ... This way you can access the records inside the array and position…
-
1
votes1
answer44
viewsA: Is it possible to use 2 @media screen?
Yes. It has a way You can declare one and the other this way: @media screen and (max-width:1024px){ .tela{ width: 400px; } } @media screen and (max-width:375px){ .tela{ width: 250px; } } if it is…
-
0
votes2
answers533
viewsA: How to show next field when user click green button
You make a button manager, and via javascript remove the class ". Hide". <script> $('.botao_ver').click(function(){ $(this).children('.lado').removeClass('hide'); }); </script> This…
-
2
votes2
answers51
viewsA: Error while uploading some photos
Well it’s probably a setup on your php.ini Search your php.ini for these settings: post_max_size upload_max_filesize And change them to a higher number, after changing, try again to insert an image.…
-
0
votes1
answer51
viewsA: I need to have dynamic dropdownlist or when selecting a drop down release the second
You can leave all selects hidden by default (they are already loaded on the page with the backend), so in Javascript, with the Jquery library you can pull a check <script…
-
1
votes4
answers1140
viewsA: How do you get a form down?
Following the logic of little fella up there, If you don’t stay where you’re supposed to be, you can use: <style> form { margin-top:50px; display:table; } </style>…