Welcome Guest, Not a member yet? Register   Sign In
How fill input fields with ajax
#2

Make your controller generate the value for the ncmr_num field only. Echo that out, so it will be returned to the Jquery script.
Also give the ncmr_num field an ID, e.g. id="ncmr_num".
Then, in the success part of AJAX, put $('#ncmr_num').val(data);
Reply


Messages In This Thread
How fill input fields with ajax - by kamusksn - 09-24-2015, 10:29 AM
RE: How fill input fields with ajax - by Wouter60 - 09-24-2015, 10:51 PM



Theme © iAndrew 2016 - Forum software by © MyBB