我对从一页到另一页获取数据非常陌生,我使用查询字符串来传递数据。看起来像这样:
?redesigndata={"jsondata": "{\"images\":[ {\"src\":\"images/bgset.jpg\"},{\"src\":\"images/ar019.png\"}]}","product_hardware": "silver","product_thread": "white","product_lining": "Blue","product_lining_loc": "images/lining/blue_80x32.jpg"}
我如何\
从中删除所有内容,然后使用 Javascript 或 jQuery 将其放入对象或任何类似的东西中:
redesigndata = {
"jsondata": "{"images":[ {"src":"images/bgset.jpg"},{"src":"images/ar019.png"}]}",
"product_hardware": "silver",
"product_thread": "white",
"product_lining": "Blue",
"product_lining_loc": "images/lining/blue_80x32.jpg"
}