如何编码html标签 [英] how to encode html tags

查看:83
本文介绍了如何编码html标签的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Iam正在使用Jquery,

请告诉我如何使用jquery编码html标签吗?

Iam Using Jquery,

pls tell me how to encode html tags using jquery?

推荐答案

通常,您不是在使用JavaScript的HTML标签,而是在使用HTML DOM.这是有关您的JavaScript使用的HTML页面的答案.如果您还需要其他东西(例如生成HTML代码),则问题可以归结为基本的字符串操作.

我认为基于如此模糊的问题,没有其他要讨论的内容.

—SA
Normally, you are not working with HTML tags with JavaScript, you are working with HTML DOM. This is the answer about the HTML page your JavaScript works with. If you need something else, like generation of HTML code, the problem is reduced to the elementary string manipulations.

I don''t think there is something else to discuss based on so vague question.

—SA


这篇关于如何编码html标签的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆