ajax - hi i got error on pop up modal using jquery -


when try create new page in asp . error pop up.

$(document).ready(function () {   blockui("<%=pnladdedit.clientid %>");   }); 

error : syntax error, unrecognized expression: #<%=pnladdedit.clientid %>

file: jquery-1.11.2.min.js, line: 2, column: 12711

try this:

$(document).ready(function () {   blockui('<%=pnladdedit.clientid %>');   }); 

"" makes string value , not evaluate expression. should ideally work if change ''


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -