Posts by Wesley Brito • 91 points
10 posts
-
0
votes0
answers484
viewsQ: Generate file with nodejs
I have the following problem, I have an xml to json converter in javascript and this converter saves the converted object in a variable. I need to adapt this code to make it possible to write the…
-
0
votes1
answer134
viewsQ: Sort widgets on screen with CSS
I’m replicating some buttons with the "ng-repeat" with angular, but I’m having trouble sorting these buttons in the way I want. I want 4 buttons shown on the lower left and 4 buttons on the lower…
-
0
votes1
answer227
viewsQ: Insert the value of a Javascript String into a file
I have the following Javascript code: // Converts XML to JSON // from: http://coursesweb.net/javascript/convert-xml-json-javascript_s2 function XMLtoJSON() { var me = this; // stores the object…
-
1
votes2
answers1176
viewsQ: Generate a JSON from a converted XML with Javascript
I was able to convert an xml to json using a solution that I found on the Internet and served me perfectly, it stores all the json in a string and shows on the screen, but I don’t know how to play…
-
2
votes2
answers647
viewsQ: Read JSON and show in html using Angularjs
I’m trying to read the data of a Json file in html using Angularjs, but I’m not getting it. Follows part of the index.html code: <div ng-app="app"> <div class="page-header" id="principal"…
-
1
votes1
answer481
viewsQ: Sort rows and columns replicated with angular
I need help sorting the buttons I’m generating with angular. I am using "ng-repeat" and is generating the 8 buttons correctly but they are getting out of order I need. Follow the code and output…
-
-1
votes1
answer714
viewsA: Convert xml-like format to json with javascript
I was able to find a complete solution to my problem. Follow the code of index.html: <html lang="en"> <head> <meta charset="utf-8" /> <title>Example external File with XML to…
-
4
votes1
answer141
viewsA: How to cancel Edittext enter?
This code should solve your problem: myEditText.setImeOptions(EditorInfo.IME_ACTION_NONE);
-
0
votes1
answer714
viewsQ: Convert xml-like format to json with javascript
I am using the following code to read a file similar to an XML, but I need this file to be converted to a JSON, will anyone be able to give me this help ? Follow the code of my index.html…
-
0
votes2
answers1188
viewsQ: Manipulating XML with Javascript
I’m having a doubt and I’ve searched a lot and I still can’t solve. I have an XML with a tag called <child id='minhatag'/>. I need to make javascript to read this tag and be able to return the…