上载文件时出现网页错误 [英] Getting webpage error while uploading document

查看:83
本文介绍了上载文件时出现网页错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

我正在使用Jquery Pluging uploadify来上传文档.
同时在描述字段中放入一些特殊字符,例如(,)和< ,>等
getiing网页错误,不允许我上传文档.

Hi All,

I am using Jquery Pluging uploadify to upload documents.
while putting some special characters in description fields like ( , ) , < , > etc.
getiing webpage error not allowing me to upload document.

Thanks in advance.

推荐答案

jQuery转义字符是两个反斜杠"\\".

JQuery escape character is two backslashes "\\".

// Does not work


("#some:id") // Works!
("#some:id") // Works!


("#some\\:id")
("#some\\:id")



http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_in_its_acts_has_ID_3 /docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F"target =" _ blank"title ="新窗口> ^ ]



http://docs.jquery.com/Frequently_Asked_Questions#How_do_I_select_an_element_that_has_weird_characters_in_its_ID.3F[^]


这篇关于上载文件时出现网页错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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