Can anyone provide a simple page that shows how to do the following:
- Drop down list of file names with and edit button.
- When the edit button is clicked the editor is loaded with the contents of the file (I have a php script that retrieves the file contents to use with the jQuery load function)
I have been able to do this using php but I would like the contents to load without a page refresh. I tried using the ajax example but couldn't get it to display anything other than an empty editor. I will be using jQuery for other features later on so I want to make sure the editor is accessible through jQuery.
In case it's not obvious - I'm a jQuery/Ajax newb.
Thank you.
- Drop down list of file names with and edit button.
- When the edit button is clicked the editor is loaded with the contents of the file (I have a php script that retrieves the file contents to use with the jQuery load function)
I have been able to do this using php but I would like the contents to load without a page refresh. I tried using the ajax example but couldn't get it to display anything other than an empty editor. I will be using jQuery for other features later on so I want to make sure the editor is accessible through jQuery.
In case it's not obvious - I'm a jQuery/Ajax newb.
Thank you.
Re: Fck with jQuery