下記のJavaスクリプトを使用して2つのjsonオブジェクトを生成しています.jsonをフォームフィールドに入力していますが、問題は、一度に1つしか表示できないこと、他のjsonを同時にフォームに表示する方法です?
//最初のjson:
{"vIRnumber":"195412","dReceivedDate":"2012-06-06","vDescription":"GP Coils","fThickness":"888","fWidth":"4566","fQuantity":"122","vStatus":"work in progress"}
// 2番目のjson:
{"vIRnumber":"45","dReceivedDate":"2012-04-26","dDate":"0000-00-00","dStartDate":null,"nPartyName":"Aasha","vDescription":"MS Channels","fThickness":"1.8","fWidth":"1220","fQuantity":"34523"}
//**i am filling the fields using the javascript below:**
var json =<?php echo($data); ?>;
for(key in json)
{
if(json.hasOwnProperty(key))
$('input[name='+key+']').val(json[key]);
}