开发者

(Javascript- HTML Parser) Can be html parsed with javascript without server languages?

Can html be pars开发者_高级运维ed with javascript without server languages?

my webpage should do :

parsing of all images from the url that user enter.

Can I do it only with Javascript if yes with library functions that exist doing that?

Thanks,


Can be html parsed with javascript without server languages?

Yes . HTML can be parsed by javascript .

However , you can not make a request to another domain from the client side . The Same origin policy would prevent you from doing that . If you want to parse a HTML page that comes from some other domain then you need to do that on the server side .

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜