Posts by Ragnar • 103 points
13 posts
-
0
votes1
answer55
viewsA: How to update a helper function with ajax
Well after I’m done cracking my head, I’ll leave my answer in case anyone needs it in the future. //Atualizar Notificações de Pedidos var atualizaNotificacaoPedido = function…
-
0
votes1
answer55
viewsQ: How to update a helper function with ajax
Hello, I need help that gave a knot in the head, I am working with codeigniter, I have created three functions in my helper consulting the database, and I display a result in Divs with the amounts…
-
0
votes1
answer130
viewsQ: How to bring an array via ajax and place results in a select
Hello, I am trying to bring an array via ajax and play the result in a select, I can make a query via ajax where each client I select in a select it makes the query via ajax and returns the services…
-
-2
votes1
answer55
viewsQ: Take json array in ajax
Good afternoon, I have a problem to display the result in the json, I do an Insert of an array in the database with for, it inserts perfect in the database, but I’m not able to display the…
-
2
votes5
answers626
viewsQ: Select between month and year only dates
Good evening, I believe my doubt is easy for some, but I am beginner is breaking my head, I need to do a search with select between the two dates, searching only the month and the year... I did with…
-
0
votes2
answers330
viewsQ: javascript response does not appear on the page, only on the console
Good night, I’m using codeigniter, I’m implementing the pagseguro api, and I’m using a javascript to set the session id and call the payment methods, so far it’s all working, only in one function…
-
0
votes2
answers85
viewsQ: Exchange on click for checkox checked
Hello, I have a function that works perfectly in javascript use an ajax when clicking the button to send my data, only now instead of clicking the button, I want to change for when the person marks…
-
0
votes1
answer188
viewsQ: New route does not work codeigniter
Hello, I created a controller that calls a function with a variable in the index, Mechi in the route works perfectly, only now I created another function within this same controller and it does not…
-
0
votes0
answers53
viewsQ: JSON returning two different PHP errors
I’m using PHP with Codeigniter, and is giving this error in an ajax I’m using, I can’t figure out what it is, I get these two messages: syntaxerror: Unexpected token < in JSON at position 1, And…
-
1
votes1
answer177
viewsQ: How to get the database id of each TD from the html table
Goodnight I have a button that holds the bank id of each <td> in a row, I send this id to open a file in another tab, and now I’ve added a second function on this button to get the id in the…
-
0
votes1
answer233
viewsQ: Redeem name instead of id in a select option from the PHP Mysql database
Good night, I’m populating a select option with data coming from the database, but when retrieving the value, I want to recover the name instead of the id.. has how to do this? //chama o arquivo de…
-
0
votes2
answers371
views -
0
votes1
answer211
viewsQ: Slow Ajax and Login Validation without running right
Good night, I have a form where I before accessing I do the validation with an ajax, php and mysql, this validation checks the access attempts, and if the user put 5 times the wrong password, it…