Welcome Guest, Not a member yet? Register   Sign In
jQuery, Add / Delete elements without page refresh
#1

[eluser]Chris Newton[/eluser]
I've been trying to wrap my brain around this now for days, and I'm getting nowhere, so please bear with me...

I have admin page for my clients to add/edit/delete content to their site. I have a functioning form that currently has 2 input fields for files. I'd LIKE the client to be able to add / remove these input fields as needed based on the amount of files they need for a specific piece of content WITHOUT having to refresh the page using jQuery.

1. I need to delete an input field from a form without a page refresh AND make a call to the model to delete the corresponding data associated with that field.

I know how to get jQuery to remove or add an element to the page.
I know how to get Code Igniter to delete the data.

Using MVC, I"m having trouble wrapping my brain around how I'm supposed to call a jQuery function AND call a code igniter controller method without refreshing the page. I'm waiting for that "OH, I GET IT" moment, and unfortunately, it's just not coming.

Does anyone have any good jQuery / Code Igniter tutorials they could recommend? Any help you could provide at all would be greatly appreciated. I'm an established web guy trying to take his stuff to the next level and I see huge potential in both jQuery and Code Igniter if I can just get past the first operation...


Messages In This Thread
jQuery, Add / Delete elements without page refresh - by El Forum - 10-29-2007, 09:35 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-29-2007, 10:49 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-30-2007, 12:30 AM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-30-2007, 07:13 AM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-30-2007, 09:35 AM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-30-2007, 07:02 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-30-2007, 10:41 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 10-30-2007, 10:49 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 11-06-2007, 11:46 AM
jQuery, Add / Delete elements without page refresh - by El Forum - 11-06-2007, 12:29 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 11-06-2007, 12:38 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 11-06-2007, 12:42 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 11-06-2007, 01:09 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 11-06-2007, 01:29 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 06-02-2009, 08:02 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 06-02-2009, 09:04 PM
jQuery, Add / Delete elements without page refresh - by El Forum - 06-03-2009, 12:28 AM



Theme © iAndrew 2016 - Forum software by © MyBB