Questions tagged as 'ajax'

1
answer

Run a page inside a jquery modal screen by ajax without IFrame

Is it possible to execute a page that is within my dir , within a modal without IFrame and ajax ? If so, how would I do it? At the moment my pages would have this path: ../../GEN/asp/pagina.asp?parâmetros= This would...
asked by 05.08.2015 / 19:57
0
answers

Rendering HTML with AJAX call using PHP and MVC concept

Good evening. I usually use the MVC (Model-View-Controller) standard, regardless of programming language. In PHP, the directory structure looks like this: - assets - css - js - img - font - model - controller - view - ses...
asked by 18.07.2015 / 02:55
1
answer

Do not submit with just 1 form click if focus is in a p: ajax field

I'm not able to submit the form with just one click. When I click "Ok" the field loses Focus and processes ajax. Then I have to click again to send. ... <p:outputLabel value="Teste:" /> <p:inputText value="#{t...
asked by 09.07.2015 / 20:25
2
answers

Enable and disable with jquery

I would like to know how I would do to activate and deactivate a user using the same way that YouTube turns the videos on and off automatically. See the image:     
asked by 09.07.2015 / 16:45
1
answer

Get data from server without refresh

I have a script with a list of user friends and next to a box chat. Whentheuserclicksononeofhis/herfriendsinthelistthedataofhis/herID&NOMEaresenttoaopenWidChat(de,para,nome)functionthatreceivestheIDofthelogged-inuser,IDoftheuserclickedont...
asked by 10.07.2015 / 02:48
0
answers

Create and delete form fields

Colleagues. I have a system developed this time with PHP of which register in the DB the number of participants of a given event. With these quantities, I create the form fields. See: <?php .... while($jm = mysqli_fetch_objec...
asked by 13.09.2015 / 14:00
1
answer

Ajax - Error 500 (Internal Server Error) [closed]

   GET    link   500 (Internal Server Error) My role function estadoDinamico(indice, key, width, height){ $.ajax({ type:'GET', url : '<?= base_url(); ?>index.php/supervisaocontroller/estadoMaquinaMobAjax/'+key+...
asked by 03.07.2015 / 18:30
1
answer

How to collect 'date-userid' from a Button generated by Ajax and use 'data-userid' in a post?

I'm having trouble with the following situation: I have two pages: radioPage.php and radioPageBD.php. In radioPage.php the user can select the RadioButton Company or RadioButton client. The two make different queries in...
asked by 02.08.2015 / 19:23
1
answer

Page loading Ajax + Jquery + Ruby on Rails

Oops, good afternoon guys, I'm a little new to rails and to with a little difficulty. I have a login form (sessions / new) and a registration form (users / new), in each of these forms, I have a link in which when clicked redirects the user to t...
asked by 04.08.2015 / 20:10
0
answers

ajax always returns blank

My problem is the following I have a search field that brings data into a table via ajax, in this table there are buttons so that the user can get more information about the data that is searched, on these buttons I am trying to call this second...
asked by 27.06.2015 / 02:31