Using ajax to load a view... |
[eluser]nuwanda[/eluser]
The Nettuts Codeigniter series is excellent. This is the login tutorial which will show you how to reload the same controller and show errors. http://net.tutsplus.com/articles/news/co...y-6-login/ You don't need different views. You just need to test for errors in the controller and reload the same view. The view then shows the errors. Ajax won't help you with that. In fact, it'll complicate things. Use ajax for small operations that enhance the user experience. Reloading a view is no big deal. |
Messages In This Thread |
Using ajax to load a view... - by El Forum - 11-11-2010, 05:28 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 06:02 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 06:38 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:21 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:23 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:30 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:37 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:40 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:42 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 08:51 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 10:21 AM
Using ajax to load a view... - by El Forum - 11-11-2010, 10:50 AM
Using ajax to load a view... - by El Forum - 11-12-2010, 03:07 AM
Using ajax to load a view... - by El Forum - 11-12-2010, 09:21 AM
Using ajax to load a view... - by El Forum - 11-12-2010, 09:50 AM
Using ajax to load a view... - by El Forum - 11-12-2010, 09:53 AM
|