i want to change specific value of json array. for detail i have this dom :
<input class="fileupload" type="file" data-form-data='{"table_reference": "data_monitoring", "table_token" : "X43sd"}'>
i know how to update the data attribute using jquery using this code : $(this).attr('key', 'value')
but how to change specific key in data attribute, for example on above dom I need to change the table_token value
thank for any suggestion