Page 1 of 1

How do I do this?

Posted: Sun May 20, 2012 1:59 am
by wvoyance
I would like to do iterate query and store the information to the database directly. How do I do it?

I used to use
$.getJSON( surl, pars, function(textDoc){....});
to get something from the server. But now I do not need anything back, i.e.
I only send a parameter to the server, the server will get the information and insert into database directly.


It seems I can use

<form action="....php" method="get">
<input ....>
</form>

But this way I cannot do iterate. Therefore I have to do it using javascript, to my understanding.

Re: How do I do this?

Posted: Sun May 20, 2012 2:12 am
by requinix
If you don't want to do anything with the result then don't do anything with the result. The solution is to do nothing.

Re: How do I do this?

Posted: Fri Jun 08, 2012 2:08 am
by wvoyance
:offtopic: forget about this vague question. The problem has been solved.
madmanking wrote:bgfdgkmjhghdn

:drunk: