Forums - C# Corner

Forum guidelines
Dhaval Kapupara

Dhaval Kapupara

  • 1.8k
  • 29
  • 4k

how to get value in selected tagin cookie

Oct 7 2015 6:48 AM
<select id="SelectCity">
<option>Select City</option>
@foreach (var City in ViewBag.CityData)
{
<option value="@City.Id">@City.City_Name</option>
}
</select>
<input id="txtlocation" class="typeahead" type="text" placeholder="Enter Your Location">
 
 
on this code to how to data retrive on cookie.

Answers (1)