1

i am using Ajax.Begin Form. onSucces from the controller, i am calling a onSucess(data).

The data is a rendered partial view, I need to get the value of one html field. That field is a json string.

Is there a way i can specify with jQuery to search the data object for the value of a specific field.

4

1 回答 1

1

像这样将数据转换为 jQuery 选择器 $(data),然后您可以像使用 .find() 的任何其他选择器一样搜索它,或者将其用作子选择器 $('selector', $(data)) .

于 2013-08-02T16:30:45.173 回答