Posts by Andersson OS • 107 points
21 posts
-
0
votes1
answer17
viewsA: How to make Ajaxpost request after Ajaxget completed
I found out. in the request ajaxpost I was closing a parentheses before the key with that closed the ajax block.
-
-1
votes1
answer17
viewsQ: How to make Ajaxpost request after Ajaxget completed
The problem is that when I call the post it does not return either in Success, error or complete. Some sicrona definition is missing? this.funcget = function () { var paciente;…
-
1
votes3
answers1188
viewsA: Align button at the end of table
You can use that <div class="container"> <div class="row"> <div class="col-md-12"> <table class="table table-striped table-bordered" style="float:left"> <caption>Lista…
-
2
votes3
answers62
viewsQ: Error while connecting to php server
I’m getting the error while trying to connect to the database. Configuration.php class Connection { private static $connection = null; public static get() { if (self::$connection == null) {…
phpasked Andersson OS 107 -
-1
votes1
answer4381
viewsQ: Change oracle Quence
How do I update the Sequence value? Situation: I will create a Quence but it may be that this table is registered or not. Then how do I generate Quence 0 or then with value from which there is…
oracleasked Andersson OS 107 -
0
votes2
answers345
viewsQ: Taking value from an attribute inside an input from a table column
I have a table and this table has a column that has an input like checkbox. In this input I created an attribute. How do I scroll through this column and retrieve the attribute value? <html>…
-
0
votes1
answer227
viewsA: How to format datetime in angular using typescript?
I got. var d = new Date(); var strData = d.getFullYear() + "-" + ("00" + (d.getMonth() + 1)).slice(-2) + "-" + ("00" + d.getDate()).slice(-2) + " " + ("00" + d.getHours()).slice(-2) + ":" + ("00" +…
javascriptanswered Andersson OS 107 -
0
votes1
answer227
viewsQ: How to format datetime in angular using typescript?
I want to get current date and time in the format '2018-05-25 20:01:01'. I tried with javascript but could not. How do using angular?
javascriptasked Andersson OS 107 -
0
votes0
answers110
viewsQ: utf8 no Ionic 2 visual studio 2017
I’ve tried every way to accentuate the strings, but it’s no use. The letters get weird characters. Any suggestions? lang="en" does not work. This occurs using visual studio. <meta…
ionic2asked Andersson OS 107 -
0
votes1
answer35
viewsA: Textarea does not resize with the size of the value returned from the server
Follow the solution for whoever needs it: var me = this; this.onload = function () { me.bind(); }; this.bind = function () { $(".textarea-auto").keydown(me.autoResize); $('load', me.autoResizeLoad);…
html5answered Andersson OS 107 -
-2
votes1
answer35
viewsQ: Textarea does not resize with the size of the value returned from the server
I configured a textarea to resize the size as the user type but when the value comes from the server the field is only the size of a line. How do you fix this?
html5asked Andersson OS 107 -
0
votes0
answers44
viewsQ: serialize an array and pass as parameter to model
My Action: public JsonResult SalvarCadastro(ListaModelView model) { } My Model: public string Assunto { get; set; } public string Mensagem { get; set; } public List<ContatosEmailModelView>…
-
0
votes1
answer82
viewsA: Return Json with Xmlhttprequest
I solved it. Create generating functionBody with each to generate tr and td tags in table passing value this.carregaPlanilha = function () { var vPlanilha = $('#FileUpload')[0].files[0]; var…
-
0
votes1
answer82
viewsQ: Return Json with Xmlhttprequest
How to popular a table with a JSON using XMLHttpResquest POST? Jquery var xhr = new XMLHttpRequest(); xhr.open("POST", "/EnvioEmail/PlanilhaPaciente", { area: "Sistema" }, true);…
-
0
votes1
answer145
viewsQ: Error in accent words using Httpcookie
My Cookie Retrieval Method is Bringing You Words With Disfigured Accent. //Para gravar um Cookie private static void Set(string key, string value) { var encValue = value; var cookie = new…
-
0
votes1
answer76
viewsQ: Angularjs Referenceerror: $locationProvider is not defined
I’m making the mistake of Referenceerror: $locationProvider is not defined. I’m using angular-ui-router. Can you help me? Obs: I removed the #. var app = angular.module("app", ['ui.router',…
angularjsasked Andersson OS 107 -
1
votes2
answers295
viewsQ: Update page with route without "#" Angularjs
I changed the routes to load the pages without the "#". The problem is when I do F5 it returns error 404. var app = angular.module("app", ['ngRoute']); app.config(function ($routeProvider,…
angularjsasked Andersson OS 107 -
2
votes1
answer4998
viewsQ: Grab ID of clicked element
I have a DIV and this DIV has some checkbox with ID and I want to know how I get the checkbox id clicked. <div> <input type="checkbox" id="0" value="false" name="ckb0"> <label…
jqueryasked Andersson OS 107 -
1
votes1
answer26
viewsQ: Ckecklist with angular
I need a help. I want to create a Checklist in which the items are true according to a list that steps to the Selected scope. And this list is updated as I click on the checks. If you click on All…
angularjsasked Andersson OS 107 -
2
votes2
answers708
viewsQ: How to manipulate DIV with Angularjs
I have 3 Divs and would like to manipulate them with buttons. Depending on the button, 2 Divs will hide and only one will appear. <div ui-view> <div class="box1"> conteudo <div>…
angularjsasked Andersson OS 107 -
0
votes0
answers77
viewsQ: Calling a page via ajax Angularjs
My code ajax: $scope.CarregaMenuPrincipal = function (data) { var req = $http({ method: 'POST', url: '/Home/Index',data:{usuario: data.usuario },}) .then(function (response) { response; }, function…