user2619542 user2619542 - 1 year ago 94
Ajax Question

(document).load throwing a syntax error

I am new jQuery & Ajax. I wrote a code using jQuery and it is working fine.
But the thing is I am getting a warning message like "Syntax Error". I want to get rid of this warning too, please help me from this

I am getting a warning message near EntityId field. Just verify the syntax of load function. Thanks in advance

Answer Source

looks like you may have to wrap @Model.EntityId.EntityId with in '' like '@Model.EntityId.EntityId'

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download