Reputation: 1238
I'm looking for a way to let user upload a config file (text base, no encryption), then parsing that file (either line by line or separating fields by commas,...) to pre-fill textboxes field on the same page using javascript.
Thanks for your help :)
Upvotes: 1
Views: 531
Reputation: 41381
First, you'll have to handle the upload via a ajax upload. Your javascript then can make an ajax call out to get the contents of the HTML file. What exactly are your need beyond this?
Upvotes: 1