I am redirecting to the post-Ajax post creation page. After redirecting, I want to auto-fill the name field on the build page with the data I get from ajax. Is this possible ?
Code example;
Code example;
Code:
$.ajax({ url: 'Meeting/action/Test', type: 'POST', data: JSON.stringify({ phone: phone }), success: function (data) { if(data.status == 409){ console.log("duplicate"); }else{ // I want auto-fill name field. ? window.location = '#Meeting/create'; self.close(); } } });
Comment