كيف يتأرجح المكدس مرآة ما تكتب؟
سؤال
في الوقت الحالي بينما أنا أطبق هذا هناك المعاينة أسفل المحرر. أود أن أفعل شيئا مشابها. كيف تجاوز سعة مكدس هذا؟
المحلول
يستخدمون محرر HTML يسمى محرر الشاشة WMD.
نصائح أخرى
$(function(){
// whenever the text in the editor box changes:
$("#editorTextArea").change(function(){
// add the text to the preview box below
// this certainly involves some formatting/marking up of the text
// but this is good enough for illustrative purposes
$("#previewBox").val(this.value);
});
});
لا تنتمي إلى StackOverflow