Questions tagged as 'ajax'

0
answers

Modify type text for radio for ajax query

The code I have is this, but instead of type="text" I want it to be type radio, and when I select a radius from the example value "A" list the data that has A, why with type="text" I have to type. Index.php <!DOCTYPE html PUBLIC "-...
asked by 22.03.2017 / 17:22
1
answer

Add items within an array to save later

Hello, I have the following situation and would like a tip if possible as would be the logic for implementing this procedure in my Laravel PHP application. I'm creating a stock system, in the moving part, I have an Input view where I select i...
asked by 23.03.2017 / 21:25
1
answer

Explode string php

I have a strange problem at least, at least for me. I have a string in php: $str='10,20,30,40'; explode(',',$str); When I make the string explode and pass the result to a view via $ ajax I get the following result:    "\ n \ n1020304...
asked by 31.03.2017 / 16:59
2
answers

Select dynamic as you want by typing in a TextBox

I have a scenario where it is the following: I have a table where there is a field called a promotional code where this promo code can be typed and when it is typed it will have to make a SELECT in a option when the value is equal...
asked by 20.03.2017 / 13:56
0
answers

Sending Email Using JQuery Ajax without Refresh

I'm having trouble trying to use this form submission method by email without refreshing the page. I still do not know much about Ajax, so I'm not sure if the code is correct, I even tried other methods, copying and pasting the code and only cha...
asked by 27.03.2017 / 16:24
0
answers

Javascript function returns wrong Ajax

I am validating a registration with JS. There's a part like this: ... if( existUser() ){ alert(' Email já cadastrado.'); } else // ok , envia formulario ! The function Js that checks whether the user exists, calls a PHP, accesses the...
asked by 26.03.2017 / 18:54
0
answers

Sequences of actions in ajax

Good afternoon! I do not know if the title of my question is correct anymore if someone has a better one please change. I have the following problem, I have an ERP issue and NFE and NFCe is working correctly, but I wanted to improve a bit....
asked by 09.03.2017 / 20:43
0
answers

I can not recover the $ _SESSION with ajax and codeigniter

I'm having difficulty retrieving a $ _SESSION using native php session with ajax in codeigniter, since when I try to check the data it reports undefined. follow the code, already thanks to all. controller login if($user->cod_user == 1)...
asked by 10.03.2017 / 03:41
0
answers

Store onclick values in the database

Colleagues, How do I get the value of an onclick and direct to another page. See below: $('.value-plus').on('click', function(){ var lista = $('.invert > span'); $.each(lista, function(index,item){ valor = $(item).t...
asked by 17.03.2017 / 14:52
1
answer

Capture my own number of followers

I'm trying to get a get of my number of followers via the Instagram API. I already have my clientId , my userID and my accessToken . Using instafeed.js is now able to access the feed. But whenever I try to do a get to any url: https:/...
asked by 03.03.2017 / 01:45