我有這樣的JSON文件,名爲file.json打印數據形成的Json
var data = {"report":{"reference":"NN340821","identityModule":{"companyId":"340820976","refId":"A08U06V99","nic":"00017","vat":"FR05340820976","acronym":"SADIA","officialCompanyName":"SOC ADMINIST DIRECT INDUSTR ALIMENTAIRES","headEstablishment":{"phoneNumber":"0298040105","faxNumber":"0298040749","ADREEEEESSSSSSSSSSS":{"@wayName":"Saint Sebastien","@country":"France","@deliveryAddress":"Saint Sebastien","@postalDelivery":"29870 LANNILIS"},
項目,巫婆,我有我需要添加此文件,並比其「ADREEEEESSSSSSSSSSS」對象放。我怎麼可以做到這一點沒有AJAX,只附加在HTML文件。 請幫我解決這個問題
EHMM ...它不是我清楚你想要完成的任務。你想在某些HTML輸出中顯示ADRESS嗎? – Stefan