Results 1 to 5 of 5
Apr 17, 2007, 01:25 #1
- Join Date
- Jan 2005
- 0 Post(s)
- 0 Thread(s)
ajax retrieve text from db and replace inside wysiwyg
On selecting an option from a select list i would like to retrieve data (html content) from mysql db according to selection and then replace everything inside my wysiwyg with that data.
I know i can insert at selection a predefined value (just any old text):
(this is how i can take some text and add it inside the wysiwyg at the cursor)
How can i...
1/ do the ajax retrieve part?
2/ overwrite everything inside [this.selectedIndex]?