<script type="text/javascript">
$(function() {
$('#attach_box').click(function() {
$('#sec_box').show();
return false;
});
});
</script>
class StartView : IStartView
{
string[] IStartView.A
{
get
{
throw new NotImplementedException();
}
set
{
throw new NotImplementedException();
}
}
public void Close()
{
throw new NotImplementedException();
}
public void Show()
{
throw new NotImplementedException();
}
//...
}
Allow-Control-Allow-Origin: *
processData: false
в параметры вашего ajax-запроса.$.ajax({
type: "POST",
url: api_url,
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
processData: false,
data: JSON.stringify(pd),
success: function (result) {
// ...
}
});