I’m trying to do the following thing:
<div>javascript:processData(Model.Property)</div>
, where “processData” is a function that returns a string. How can this be done?
(This obviously is not working, it just returns the string “javascript:processData(Model.Property)“.)
You can call the javascript method on jquery document
readyand set the result to that div usinghtmlmethod.