javascript - Automatically initialize rich text editor on top of all textarea's, including ones that are loaded via ajax -


मैं एक एजेक्स भारी वेब ऐप विकसित कर रहा हूं, और मुझे textarea 's class = "ui-richtext" ) के साथ स्वचालित रूप से टिनएमएमईई इनिशियलाइज़ किया जाता है।

यह आसान है कि टेडटेरा के लिए सामान्य रूप से लोड किया जाता है, लेकिन एजाक्स ?

मैं इन पंक्तियों के साथ कुछ सोच रहा था: (मैं jquery का उपयोग कर रहा हूं)

  $ ("textarea.ui-richtext")। Live ("ajaxcomplete" फ़ंक्शन () {$ (यह)। Tinymce ({...});});  

दुर्भाग्य से यह काम करने के लिए नहीं लगता है किसी भी विचार?

यह मेरी पहली पोस्ट है, मुझे पता है कि मुझे अधिक जानकारी जोड़ने की आवश्यकता है

Comments

Popular posts from this blog

c# - How to capture HTTP packet with SharpPcap -

Is there an open source WebSockets (JavaScript) XMPP library? -

php - Multiple Select with Explode: only returns the word "Array" -