jquery - Javascript function written in script tag call from Js file -


i in trouble. have cshtml file in script tag have function call setformsvalue

<script>  function setformvalues(selecteditem) {              $('#murworksheetid').val(selecteditem.murworksheetid);             $('#patientid').val(selecteditem.patientid);             $('#txtmurdate').val(selecteditem.murdate2);             $('#txtpatientname').val(selecteditem["objpatientmodel.title"]);              }  </script> 

i calling method js file have imported in cshtml file.

var selecteditem = entitygrid.dataitem(row);                 setformvalues(selecteditem); 

its giving error setformvalues not defined.


Comments

Popular posts from this blog

basic authentication with http post params android -

vb.net - Virtual Keyboard commands -

css - Firefox for ubuntu renders wrong colors -