Welcome Guest, Not a member yet? Register   Sign In
Codeigniter with Ajax
#14

[eluser]kkith[/eluser]
Add the alert call...and see if anything happens. If nothing happens then either the ajax call to the handler is making it, or the handler isn't making it back.
Code:
if (req.status == 200) {
     alert(req.responseText);
     document.getElementById('bankNameForACH').value=req.responseText;                                
}

[quote author="Joshi" date="1275327516"]U r right. The text is replaced in that. I have used innerHTML in the place of the value.Both value and innerHTML doesnt seems to work.[/quote]


Messages In This Thread
Codeigniter with Ajax - by El Forum - 05-28-2010, 03:11 AM
Codeigniter with Ajax - by El Forum - 05-30-2010, 12:38 PM
Codeigniter with Ajax - by El Forum - 05-30-2010, 11:39 PM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:20 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:38 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:40 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:42 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:42 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:46 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:48 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 05:52 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 06:00 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 06:38 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 06:42 AM
Codeigniter with Ajax - by El Forum - 05-31-2010, 06:46 AM
Codeigniter with Ajax - by El Forum - 06-01-2010, 03:18 AM
Codeigniter with Ajax - by El Forum - 06-02-2010, 01:05 AM
Codeigniter with Ajax - by El Forum - 06-02-2010, 07:20 AM
Codeigniter with Ajax - by El Forum - 06-02-2010, 07:54 AM
Codeigniter with Ajax - by El Forum - 06-02-2010, 10:19 AM



Theme © iAndrew 2016 - Forum software by © MyBB