Welcome Guest, Not a member yet? Register   Sign In
display ajax response in form input box
#1

Hi

I have got this json array from controller

{"plan_id":"7","plan_title":"GOLD","plan_price":"999","resume_limit":"12000","day_limit":"364","job_limit":"20","user":"1","day_break":"0"}


Now i want to display the values in the forms input 

I try this but it does not display the plan_price (999) in the input field

document.getElementById("plan_price").value = data.plan_price; 

Please help

Attached Files Thumbnail(s)
   
Reply


Messages In This Thread
display ajax response in form input box - by apysan - 05-07-2017, 10:30 AM



Theme © iAndrew 2016 - Forum software by © MyBB