How to Split @ in MVC JQuery
In this MVC @ is The Special Character. So normal split function is (string.split('@')) in this Case Did Not Use @ in MVC. Getting Error on this Page. In MVC You Can Use @@ . I Mentioned One Example Below . I Will Split Only Domain Name in MVC and C#. If You Are Using Single @ You Will Get The Server Side Error. var EmailDomain = txtemail.split("@@")[1];