Posts by Jess • 53 points
12 posts
-
0
votes2
answers243
viewsA: Problem with accents and special characters, called Ajax
Well I finally managed to solve this problem, for those who are having a similar problem what I did was the following: function relatorio() { var tipo = document.getElementById('tipo').value; first…
-
0
votes2
answers243
viewsQ: Problem with accents and special characters, called Ajax
I have a function that makes an ajax call, and sends the data to be saved in the database, the problem is that whenever you save a word that has some special character or accent, it does not encode…
-
0
votes1
answer589
viewsQ: How to handle an array in json format in classic Asp
Well my situation is as follows, I have a variable that brings me the following results: var1 =…
-
0
votes2
answers565
viewsQ: Get Header information, javascript
Good morning, I need to get the statuscode that returns in the header, after I run a POST , I would like to know a way to achieve this, using java script if possible what is the best way to get the…
-
0
votes1
answer246
viewsQ: Loop with For Next in classic ASP
I need to make a loop where I have the current year 2019, but I want to show the next 10 years from this date using a loop, with this result ex: 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028…
-
2
votes1
answer29727
viewsQ: How to insert line break in javascript
My code has a Textarea, in it I send some messages, but when I jump a line, when receiving this message the line break is ignored currently I use the following command in my javascript function to…
-
0
votes2
answers580
viewsA: Laravel Update multiple lines of an array
I got a solution using the following code public function atualizarEstoque($input) { $resultado = []; foreach ($input as $result) { $resultado = $result; //dd($resultado['id']); $teste =…
-
0
votes2
answers580
viewsQ: Laravel Update multiple lines of an array
I’m trying to update several lines at once, where I get the information from an array But so far I have not had much success, despite the attempts, not updating, and returning result 0 the code is…
-
1
votes1
answer180
viewsQ: Make a bank GET from an Laravel Array
I have a select where I do a search from an informed id, No Postman do a POST by sending an array to as in the example below [ { "id":"1" }, { "id":"2" } ] In the repository I search for these id to…
-
-1
votes1
answer229
views -
0
votes2
answers63
viewsA: Best way to select a specific column that is within a Function ($query)
After better analyzing the select, I was able to find a way to solve the problem, and make the query as expected. The code was as follows: public function buscarPorId($id){ return…
-
0
votes2
answers63
viewsQ: Best way to select a specific column that is within a Function ($query)
I have a query where I have several relationships between different tables, which would be the best way to select a specific column that is within the Function($query) in that case the rule of…