Welcome Guest, Not a member yet? Register   Sign In
Problem with jquery when i'm trying to remote
#6

[eluser]Gerep[/eluser]
This is a piece of code:

Code:
$.ajax({
                type: 'POST',
                url: 'http://www.tecnologia1.com.br/inicio/newsletter/',
                data: 'email='+$('#email').val(),
                success: function(return){
                                       if(return)
                                              alert('done');
                                       else
                                              alert('error');
                }
                }

The data
Code:
data: 'email='+$('#email').val(),

I what I receive on my newsletter method like:
Code:
$this->input->post('email');


Messages In This Thread
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:08 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:24 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:29 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:31 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:39 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:45 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 09:47 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 10:04 AM
Problem with jquery when i'm trying to remote - by El Forum - 01-28-2011, 10:44 AM
Problem with jquery when i'm trying to remote - by El Forum - 03-10-2011, 12:29 AM



Theme © iAndrew 2016 - Forum software by © MyBB