sanju kumar

sanju kumar

  • NA
  • 90
  • 7.6k

How to User get jquery value and use in Razor syntax in mvc

Mar 13 2019 6:23 AM
Dear sir,
 
I want that i have some value in Cshtml page 
like  in jquery
 
var vAnyValue=$("Selecte").val(); 
 
Now i have a comman function class in my project  that have static method 
So i want to use in razor syntax with using vAnyValue
 
Like
 
<a href="">@Comman.Getdata(vAnyValue)</a>
 
Please give me solution for this problem 
 

Answers (2)