Thanks Dave
I am trying to incorporate a dynamic dropdown with data assist multiple insert.
I have a table in my database called mediaLibrary. I have created an upload folder called Media-Library in my site root and all files uploaded go in this folder.
Basically I am trying to create a website where an admin can create training series that can be viewed on the public site (a bit like lynda.com). I am currently making the admin part of my site.
In order to make my site scalable I had to create a table (mediaLibrary) that stores all files, another table (trainingLibrary) that allows users to select items from the mediaLibrary table. I then have another table called trainingSeries and the primary key for this table is stored as a foreign key in the trainingLibrary table.
So say for example an admin wanted to create a new training series with 20 videos. I would like to apply dataassist multiple insert and your jquery solution on the trainingLibrary insert page, where the mediaLibrary table would be the child and mediaLibraryCategory (e.g. audio, video) would be the Parent table.