javascript - Why does Page Inspector display unwanted <$A$> tags -
i'm using page inspector debugger in visual studio compete tutorial on how use jquery display dialog showing line of text , dropdownlist.
in page inspector appears random , tags around elements shown
this doesn't happen when it debugged in chrome, ie etc
has else experienced before, or have ideas why might occurrng. 'feature' or page inspector?
the code used generate popup follows...
this works pressing button btnlookandfeel
on page itemedit.cshtml
calls listingitemcontroller.editlookandfeel
method, returns partial view editlookandfeel.cshtml
itemedit.cshtml
@section scripts { <script> $(function () { $('#btnlookandfeel').click(function () { $.get('/listingitem/editlookandfeel', { id: $('#lookandfeelid').val() }, function (data) { $('#divlookandfeel').html(data).dialog(); }); }); }); </script> }
listingitemcontroller.cs
public actionresult editlookandfeel(int id) { var list = _lookandfeelservice.list(); viewbag.lookandfeellist = new selectlist(list, "id", "name", id); return partialview(); }
editlookandfeel.cshtml
<div> please select , feel: @html.dropdownlist("lookandfeellist") </div>
Comments
Post a Comment