Posts by Reynnan Viktor • 362 points
13 posts
-
1
votes1
answer100
viewsA: Associate logged-in user with your information?
You can make a select in your database by retrieving user information and so you could set the object or a variable in the way you prefer containing the users in a session in this way:…
-
1
votes1
answer99
viewsA: Request validation via jQuery, Json
One of the mistakes you are making in your AJAX call is that you are not passing the value that was caught in the input $j("#ordertxt") through the date of the ajax $.ajax({ method: "POST", url:…
-
4
votes1
answer15321
viewsA: Select change jQuery
This is happening because you are clicking on an element that is being created dynamically, someone with a better knowledge of DOM can better explain the reason for this, but I have already gotten…
jqueryanswered Reynnan Viktor 362 -
1
votes2
answers1721
viewsA: How to use jQuery to dynamically add text field in the form
You can try using the example below, I believe that’s what you need const $formDinamico = $("#formDinamico"); $formDinamico.hide(); $("#formQuantidade").submit(function(e){ e.preventDefault();…
-
7
votes1
answer18344
viewsA: Question: $.ajax() or $.get or $.post()?
That one link explains when using GET or POST, in JQUERY GET & POST are aliases or nicknames for the AJAX method, when Voce uses the $.GET This is an abbreviation for: $.ajax({ url: url, data:…
jqueryanswered Reynnan Viktor 362 -
0
votes2
answers236
viewsA: problem with click event reference inside a div
This is happening because you are doing the event click on an element that is being created dynamically, someone with a better knowledge of DOM can explain better the reason for this, but I have…
-
0
votes1
answer535
viewsA: Ajax, Javascript and PHP form
Jamile would a use of an API with states and cities help you? I don’t know if it would solve but here’s what I was thinking, that way you would have the option of city and states without having to…
-
1
votes1
answer190
viewsA: How to show connection errors in Htmls with a JSON?
You can find out what kind of error was given by accessing the textStatus of error: function(jqXHR, textStatus, errorThrown); I took this example from this post here: Determine if ajax error is a…
-
1
votes0
answers232
viewsQ: Localization using Nodejs
I’m starting with Node and I’m creating an application where I wanted to take the current location of the user and with this location I can make comparisons and if possible even save in the Bank. I…
node.jsasked Reynnan Viktor 362 -
1
votes1
answer102
viewsQ: What is the importance of filtering super-global?
I wanted to know more details of what could happen when I stop filtering super global, mainly for data insertion. What loopholes could be opened? I started with php a little while ago and was making…
-
0
votes1
answer142
viewsQ: Ajax warns success but does not insert data
I already made an Insert without using ajax and it worked normal, when I used ajax and returned success I thought it was all right but when I went to look in the database the data were not there JS…
-
-1
votes1
answer64
viewsQ: What steps should I follow to put my website online
I created a website to organize me use the database in phpmyadmin, for now I only use it on localhost but I want to leave it online, I know the hostgator offers free hosting but this is not the only…
-
0
votes0
answers35
viewsQ: Problem giving update in a php table with no return
I have no return on the page when I click on the input with name['edit'] even with Try catch, the page does not print anything, so I do not know what to do right, I wanted to know what I’m doing…