Welcome Guest, Not a member yet? Register   Sign In
How to call CI Model function from jQuery eventhandler?
#4

[eluser]xwero[/eluser]
using it ajax functions. If you don't need feedback you can use the get or post methods, if you want more flexibility use the ajax method.
For your example it would be something like
Code:
$(window).unload( function () { $.post('index.php/controller/method',$(":input").serializeArray()) } );


Messages In This Thread
How to call CI Model function from jQuery eventhandler? - by El Forum - 06-10-2008, 01:19 AM
How to call CI Model function from jQuery eventhandler? - by El Forum - 06-10-2008, 01:37 AM
How to call CI Model function from jQuery eventhandler? - by El Forum - 06-10-2008, 01:51 AM
How to call CI Model function from jQuery eventhandler? - by El Forum - 06-10-2008, 02:57 AM
How to call CI Model function from jQuery eventhandler? - by El Forum - 06-10-2008, 03:53 AM
How to call CI Model function from jQuery eventhandler? - by El Forum - 06-13-2008, 09:39 AM



Theme © iAndrew 2016 - Forum software by © MyBB