Posts by CarlosM • 195 points
16 posts
-
2
votes1
answer352
viewsQ: Return Web Service is a string, how can I query the data?
I am consuming a Web Service , follows the JAVA code (JSP): <%@page contentType="text/html" pageEncoding="UTF-8"%> <!DOCTYPE html> <%-- start web service invocation --%><hr/>…
-
1
votes0
answers111
viewsQ: Consumption webservice with error: Unsupported content type
My first question is: I can call the Webservice directly via JQUERY / AJAX or I need to have something in PHP or some other back-end language to accomplish integration? If possible only with JQUERY…
-
0
votes0
answers171
viewsQ: I can’t use the webservice
I have the following webservice: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl and in that WS i have the following function: http://IP:PORTA/wsexecbo/WebServiceExecBO?wsdl/userLogin I send a user…
-
3
votes2
answers3598
viewsQ: How to consume webservice (WSDL) mails with javascript
I would like to use this web-service provided by mail for a small personal project (from the beginning, only return address by the ZIP code):…
-
0
votes1
answer56
viewsQ: Two numbers don’t add up, they concatenate
You may already be bald to see problems like this. My problem, I believe, is a little different. I have a method (called transformParaContas) that transforms any kind of monetary value to be able to…
-
0
votes3
answers1717
viewsQ: Picking up the label text only if there is a label
Follows the HTML: <div class="tab-pane" id="etapa3"> <div class="well"> <div class="row informativo"> <!-- Aqui vai ser inserida a tabela via Jquery --> </div>…
-
1
votes1
answer1932
viewsQ: How to add an object in an array within another object
I have the following function that creates an object: function createDebit(name, value, paymentDate){ var debit = {"type": name,"value": value,"PaymentDate": paymentDate}; return debit; } This…
-
2
votes1
answer53
viewsQ: Array within an object, how is the correct syntax?
I am creating a personal account manager. I need to do this with localstorage. Ai am trying to assemble an object with all the debts of a category (in this ex. the category is Bradesco). {…
javascriptasked CarlosM 195 -
5
votes2
answers54
viewsQ: Running a script through the name attribute does not work
Follows the code: <select class="form-control" name="dd_medidaAplicada" id="dd_medidaAplicada"> <option value="0"></option> <option value="cancelada">Advertência…
-
0
votes1
answer230
viewsA: execute a script by pressing a date attribute button
Problem solved. First I had to make a change: instead of using the select button, I used the data-send attribute, because there is another element in the sending environment (and it also has the…
-
0
votes1
answer230
viewsQ: execute a script by pressing a date attribute button
I made an html form, put it on a platform that loads this form. However, there are platform buttons that perform functions in the form (such as sending the form, saving and so on). Then I discovered…
-
0
votes1
answer534
viewsA: I can’t "read" a JSON
Solved: function executa_new() { $.ajax({ type: 'GET', url: 'http://10.0.0.1:8181/api/public/2.0/users/listData/teste', dataType: 'jsonp', success: function (data) { console.info(data);…
-
0
votes1
answer534
viewsQ: I can’t "read" a JSON
I am working on the FLUIG (TOTVS) tool, and I want to read a JSON that is delivered via REST. Here is a photo of the URL (intranet): Contents:…
-
1
votes1
answer449
viewsQ: From a selected checkbox, take the value of an upcoming date attribute
Good afternoon, i have a checkbox selected (check = true) <div class="form-group col-xs-12 col-sm-12 col-md-3 col-lg-3 space"> <div class="input-group"> <span…
-
0
votes2
answers148
viewsA: Paste a treated text where the pointer is
Apparently I was able to find a solution to the problem: $(document).ready(function(){ var clipboardData, pastedData; $(":input").on("paste", function (e) { e.preventDefault(); clipboardData =…
-
2
votes2
answers148
viewsQ: Paste a treated text where the pointer is
I have the following problem: Some people in my work copy texts of some words and paste in forms which I do (inside the GED), but sometimes in this copy and paste it take with the text some invalid…