开发者

Show as an alert instead

I have these lines in a script which I'd like to show as an alert instead:

mce_jQuery('#mce-'+resp.result+'-response').show();
mce_jQuery('#mce-'+resp.result+'-response').html(msg);

开发者_C百科but the alert displays it as-is, what do I need to change?


I'm not sure if I understand you well, but you might want to alert the text-contents from that element.
Would look like

alert(mce_jQuery('#mce-'+resp.result+'-response').text());


alert($('#mce-'+resp.result+'-response').html());
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜