Posts by Ericson • 146 points
10 posts
-
0
votes1
answer438
viewsA: App webview Session or cookie
Augusto, You can generate the token in php and return it in the login Success and then go on to inform it in all other requests. Usually requests by API check for authentication by request, even…
-
0
votes1
answer61
viewsA: How to dynamically generate and access div’s
Fabius, With jQuery you don’t need to work with the ids. In this case, you can use something in common to select the elements. (even in your example it is not right to declare the same id more than…
-
1
votes1
answer1600
viewsA: What is the way to create dynamic table in HTML and JS?
Friend, Your question is not specific. Do you have problems with logic or with language/technology (Angular, javascript, ...)? Information is also missing. How will the data be received in the…
-
2
votes1
answer694
viewsA: Problem when making request with ajax in Laravel 5.4
Getulio, I’m not familiar with Laravel, but I believe the problem is in the request. You set: dataType: 'json', contentType: 'application/json; charset=utf-8' But in the data you used jQuery…
-
0
votes1
answer76
viewsA: You doubt making a Json
Friend, You can capture the returned data in ajax and handle this outside of datatable. From what I understand you want to create a paragraph after the table containing the value, right? Try this:…
-
1
votes1
answer89
viewsA: Problem to remove an img tag inside the array by image id
Friend, The Base64 array contains strings and not objects, so I believe you need to search for text and not selector. It would be something like that: var meuarray = [ '<img id="img1"…
-
2
votes3
answers404
views -
0
votes1
answer164
viewsA: Result php in a Modal W3.CSS
Friend, If I understood correctly just missing the execution of the method that opens the modal, that would be abreModal(). For the simplicity of the code, it would already work: <script>…
-
-1
votes2
answers64
viewsA: How to page via querystring without reloading?
Friend, I’m not sure of the question. Is your doubt about the paging method without reloading the page (in this case about using the ajax that your friend Yuri answered) or prevent the browser to…
-
1
votes1
answer95
viewsQ: Illegalaccessexception when reading values with Reflection
I cannot read the attributes values of the class with Reflection: ContentValues values = new ContentValues(); Field[] fields = this.getClass().getDeclaredFields(); for (Field field: fields ) {…