夜的第七章

WEB开发个人博客。

« 解决IE中flash需要激活的问题一段有疑问的代码,以后研究 »

JS插入FreeTextBox的代码

function InsertElement(){
rturnText = window.showModalDialog("ElementparaConf.aspx?ELeID=" + document.all.ChildDropDown.value,"","");
if(rturnText != null && rturnText!= ""){
FreeTextBox1_designEditor.focus();
FreeTextBox1_designEditor.document.selection.createRange().pasteHTML(rturnText);
}
}

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。



[2007 - 2011] © Leadnt.com