The html heplper is located on the cshtml form, which generates the following markup

<input id="ref.addr" name="ref.addr" class="k-textbox k-state-disabled" data-role="fiasInput" readonly="" style="width: 65%; opacity: 1;" value="" title="40000000 Область Город"> 

I need the title attribute, I have tried no results in various ways.

 var addr = ""; addr = $("#ref.addr").val(); addr = $("#ref.addr").attr("title"); 

    1 answer 1

    This is how it works (the input is obtained by the value of the name attribute):

     var addr = $("[name='ref.addr']").attr("title"); console.log(addr); 
     <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script> <input id="ref" name="ref.addr" class="k-textbox k-state-disabled" data-role="fiasInput" readonly="" style="width: 65%; opacity: 1;" value="" title="40000000 Область Город"> 

    Your option did not work, because "#ref.addr" perceived as:

    get element with id=ref And with class addr

    Since there is supposedly no such element, nothing was found and the attribute could not be obtained.