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
Post a Comment