Welcome Guest, Not a member yet? Register   Sign In
Jquery with CI
#7

[eluser]diego.greyrobot[/eluser]
Yea for one i see some typos in your code
mainly where your script tags are, you have them like this: >script>

make them [removed]

also you need to take $.post(..) out of the post() function
and instead enclose it in ...
$(document).ready(function(){
$.post(...);
});

also you'll probably want to have an event trigger an ajax call like this...
$(document).ready(function(){
$('#submit_button').click(function(){
$.post(...);
});
});

that way the $.post() function at the right time.


Messages In This Thread
Jquery with CI - by El Forum - 10-03-2008, 07:43 AM
Jquery with CI - by El Forum - 10-03-2008, 08:58 AM
Jquery with CI - by El Forum - 10-03-2008, 11:39 AM
Jquery with CI - by El Forum - 10-03-2008, 01:01 PM
Jquery with CI - by El Forum - 10-04-2008, 04:13 AM
Jquery with CI - by El Forum - 11-06-2008, 03:42 PM
Jquery with CI - by El Forum - 11-07-2008, 03:40 PM
Jquery with CI - by El Forum - 11-07-2008, 05:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB