I have a form that allows users to add a number of names to a table from which badges for a trade show will be printed. Each name record is a text input field like the following:
<input type='text' onkeypress='return noenter()' name='name[$i]' size=10 maxlength=25 value='$name'>
Additionally, the user can upload a picture file that will will be printed on the badge. Ideally, for every line that has a name field, I would like a button which calls a script allowing the user to upload a picture, without posting the entire form.
What's the best way to do this? Is there a javascript plugin that would suffice?
Thanks