A parameter case caused uploadify error "Syntax error, unrecognized expression: #"

Original link: http://www.cnblogs.com/townsend/p/4058953.html
 Upload Control uploadify error "Syntax error, unrecognized expression: # " version  uploadify3.2 
The reason given: Parameter ID] [hidInfoId little wrong written in uppercase.

 debug process:

①:报错 "Syntax error, unrecognized expression: #"

 

②: The error is jQuery selector ID # fail to take ID error that determines if an ID is empty.

You can see hidInfoId this parameter is null

Find a place being given.

This parameter is used in the code

 

③ Modify Parameter name: the HidInfoID changed hidInfoId

 

 

Cause of the error: Copy the parameters of others, he wrote a sensitive parameter wrong, resulting in a value of ID to get any. hidInfoID

Reproduced in: https: //www.cnblogs.com/townsend/p/4058953.html

Guess you like

Origin blog.csdn.net/weixin_30672019/article/details/94785262