我有一个 2 级行动组 使用一种返回json 数据的方法。
我有8个 Jsp 标签。 当用户点击一个标签时, 我想用此方法调用 ajax 。 我希望返回的 json 数据能够与 html 进行剖析和装饰, 并在此标签中提供 。
我用jquery标签制做tabs 。
- How can I capture the returned json data ? Can I subscribe to some event that jquery publishes ?
- How can I process the returned json data ? For e.g.; json data:
{城市:{地名=纽约, 化名=纽约, imgPath=文件Path/img1.jgp}}}
I would like to extract the name and bold it. Use the imgPath to define img tag, etc