Posts by Hugo Lima • 336 points
12 posts
-
0
votes2
answers1803
viewsA: How to take data and save it to another page
Below I made 2 examples of how you can traffic the data using only HTML and javascript. These ways are not safe as anyone with more advanced web knowledge can change all this information... If you…
-
1
votes1
answer64
viewsA: Why is it taking so long to complete Data?
Possible problem: What can be is many requests in your database, first you make a list of all products (Cursor cursor = findAll()) and then you make a loop and within this loop you search the…
-
3
votes1
answer351
viewsA: Pop up a message while not bringing the database results
Just have the message displayed before going to make the request to the database and then you hide the message when you return the data (success or error response), example below is via ajax. Post…
-
2
votes1
answer236
viewsA: Google Maps Javascript API with Geocoding Service
You need to start the variable marker , you are starting at a scop and trying to 'rescue' her off the scope. Change the line where you call marker.setTitle("Cliente"); /*ERRO*/ down var marker = new…
-
1
votes1
answer349
viewsA: View database elements in the bootstrap modal
It depends a lot on the formatting you want to do, whether you want to highlight the name and description below, or all in the same line, name and/or description in bold, etc You can place html code…
-
2
votes2
answers511
viewsA: How to activate an event from a class change
For your case, as you are only using classes you can use length to search for elements, if it comes 0 it is because there is no element with class "teste2" with class "Current". example:…
-
4
votes1
answer787
viewsA: How to update fields in Angularjs?
Just create a method that by clicking on "Taxes", the object in question will be mapped by another temporary object and so you can individually change the attributes of each product. Solution based…
-
0
votes1
answer148
viewsA: How to do ng-repeat query with various arrays?
First you must create an ng-repeat to pick up the posts, within this ng-repeat you must create another to pick up the attachments with the url’s, follow the example below: var myApp =…
-
1
votes2
answers84
viewsA: has-error class does not disappear from the field
Angular is conflicting with jquery $('[required]').filter(function () { return !this.value.trim(); }).parent().addClass('has-error'); I advise you to put a form validation setando in the controller…
-
1
votes1
answer389
views -
0
votes1
answer52
viewsA: Items do not exchange classes, attributes or styles
You are trying to grab a display that you did not declare in the div with the image-called id add according to your need a style="display:none" or style="display:block" I made an example that I…
-
0
votes4
answers2413
viewsA: Generate angular pdf using javascript
I’ve done something similar, the difference is that my Replay in java returns a Bytearrayinputstream. Try the code keeping your java code, if it doesn’t work try to change byte[] by…