Welcome Guest, Not a member yet? Register   Sign In
Using controller actions using jQuery AJAX?
#3

[eluser]littlejim84[/eluser]
Tell you what... though it's not completely what I wanted, it's certainly useful stuff. This will really help me keep this app completely degradable. I'm trying to make this web app completely accessible on every level... Image disabled? check... Javascript disabled? check... Want it to be completely accessible to everyone.

So what you told me there, will be useful for sure.

But... It's not even at that level... It's actually what commands do I need to make the controller link for the option to be called by AJAX, rather than just a normal link through. So... at the moment, I click on the option to bookmark the member in the list. Right now, it'll goto the link called 'bookmark/member/32' (for example) and then return me back to the list. The 'bookmark' controller handles calling the right models to make the bookmark happen.

But... I want this controller to be called by AJAX. So the user doesn't leave the page at all. It'll call the same 'bookmark/member/32' but will pass back a 'true' statement (for example) which I can then use to update the list instead.

Hope that makes more sense?? I'm quite a seasoned PHP programmer, but CI, Ajax and jQuery is relatively new to me. Though, these are the tools I'm using.


Messages In This Thread
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 06:39 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 06:51 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:04 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:08 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:13 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:26 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:28 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:32 AM
Using controller actions using jQuery AJAX? - by El Forum - 02-09-2009, 07:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB