Populate a textarea with external text file using a dropdown

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
beazleybub
Forum Newbie
Posts: 5
Joined: Mon Dec 14, 2009 11:03 am

Populate a textarea with external text file using a dropdown

Post by beazleybub »

This post needs to be deleted.
Last edited by beazleybub on Sun Dec 20, 2009 1:50 am, edited 1 time in total.
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: Populate a textarea with external text file using a dropdown

Post by pickle »

When the user selects the file from the pulldown, do an AJAX request to retrieve the content of that file. Inject that content into the textarea, then load tinyMCE.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
beazleybub
Forum Newbie
Posts: 5
Joined: Mon Dec 14, 2009 11:03 am

Re: Populate a textarea with external text file using a dropdown

Post by beazleybub »

I don't need the help anymore. I got some help locally.

Thanks :mrgreen:
Post Reply