> On Feb 28, 2016, at 10:18 PM, Le Hung wrote:
>
> I'm new in Rails.
>
> I'm trying to add a form with ajax.It's just typing a text and submit to
> file 'ex/act' and show the param in form.
>
> My code:
>
>
>function loadDoc(url, cfunc) {
> var xhttp;
> xhttp=new XMLHttpRequest
I'm new in Rails.
I'm trying to add a form with ajax.It's just typing a text and submit to
file 'ex/act' and show the param in form.
My code:
function loadDoc(url, cfunc) {
var xhttp;
xhttp=new XMLHttpRequest();
xhttp.onreadystatechange = function() {
if (xhttp.re
2 matches
Mail list logo