+ 1

How to append key value to table ?// I am getting the values in alert but i want to make them visible on table

$(document).ready(function(){ $("#fetch").click(function(){ var json ={ email:$('#email').val(), password:$('#pass').val(), address:$('#address').val(), city:$('#city').val(), state:$('#state').val(), zip:$('#zip').val(), } $.post("register",json); for(var key in json) { alert("Key: " + key + " value: " + json[key]); } }); });

4th Mar 2021, 6:23 PM
developer đŸ‘©â€đŸ’»
developer đŸ‘©â€đŸ’» - avatar
3 Answers
+ 3
developer đŸ‘©â€đŸ’» you can add an table html element from js and in that table you can add your dynamic values. Search on google - how to add html elements from js
4th Mar 2021, 6:44 PM
Sharique Khan
Sharique Khan - avatar
+ 1
đŸ‡ŻđŸ‡”đŸ’žđŸ–€SleepyVibesđŸ–€đŸ’žđŸ‡ŻđŸ‡” I would love to help but before that you need to show me the code you tried.
4th Mar 2021, 6:45 PM
Sharique Khan
Sharique Khan - avatar
0
i would help you if i knew but do you know how to do the python for begniers search engine?
4th Mar 2021, 6:29 PM
☯【 x e n o z 】☯
☯【 x e n o z 】☯ - avatar