如何使用此JSON数据占用文本框

时间:2014-05-27 16:59:57

标签: javascript jquery ajax json

我目前正在使用JSON,AJAX,JQuery和javascript。我的JSON看起来像这样

[{[{
    "eventName":"Event Name",
    "operationgDivision":"Operating Division",
    "startDate":"05/14/2014",
    "endDate":"05/19/2014",
    "siteStartDate":"05/14/2014",
    "siteEndDate":"05/19/2014",
    "relatedEventName":"Related Event Name",
    "relatedEventStartDate":"05/14/2014",
    "relatedEventEndDate":"05/19/2014",
    "objective":"Objective Info",
    "targetAudience":"Target Audience",
    "howToReachTargetAudience":"How to reach target audience",
    "singleMessageToCommunicate":"Single message to communicate",
    "challengesToConsider":"Challenge to consider",
    "creativeConsideration":"Creative Consideration",
    "creativeConsiderationAttachement":"",
    "competitiveConsideration":"Competitive Consideration",
    "competitiveConsiderationAttachement":"",
    "pOSStartDate":"05/15/2014",
    "pOSEndDate":"05/19/2014",
    "ID":1
}]

我目前正在尝试将my txtEventName文本框的值设置为callback.js文件中数组中的eventName数据,但我遇到了困难。任何帮助将不胜感激。

0 个答案:

没有答案