Ajax Asynchronous delivery

Source: Internet
Author: User
Table width= "100%" border= "0" cellspacing= "0" cellpadding= "0" class= "ttbb5" >        serial number    National    province area    Operation            {if $list or $list | @count NEQ 0} {foreach from= $list item=item key=index}    {$index} {if $item. parent_tow_id eq 2} {$item. Country} {$item. Province}    {$item. Name} {/if} {if $item. parent_tow_id eq 1} {$item. Country} {$item. Name}    {/if} {if $item. parent_tow_id eq 0} {$item. Name}    {/if}                                       {/foreach} {Else}     --No data currently--  {/if}        {include FILE=WARNING.TPL}      


Input=text Display Database Sort values in text box modify value Click OK how to pass the database change Paixu value
Help me write a code for AJAX asynchronous delivery.


Reply to discussion (solution)

Submit with Form will you?
If not, please study first

Submit with Form will you?
If not, please study first



I don't know what that means, do I write the wrong thing? Or Ajax has to be submitted with a form?

Submit with Form will you?
If not, please study first

  
Is this right?



If the list here, your name can not be repeated, or you change to Name= "p[]"



If the list here, your name can not be repeated, or you change to Name= "p[]"


Change to Name= "p[" did that Ajax I write wrong? I tried it several times, and I don't know where it went wrong.

God help me, I'm dying, I'm dying.

Is it hard to write an Ajax? Not at all, huh?

It's not hard.

It's not hard.


Served, sincerely. I've been watching you, bro, and you're not giving me enough.

Http://bbs.phome.net/showthread-13-130691-0.html
There are examples

Http://bbs.phome.net/showthread-13-130691-0.html
There are examples


This example is very vivid, I first register and then download the file, see the code found in fact I am not a type, for me this he does not apply Ah, smarty are so written Ajax? How do I feel about his shortcomings in this file? That save_ajax.php I can read something else.

Http://bbs.phome.net/showthread-13-130691-0.html
There are examples

Txt.onblur = function (e)
{
Data_q = "actiontype=" + act + "&name=" + txt.value + "&id=" +id+ "&tid=" +math.random (10);
document.write ("save_ajax.php?") +DATA_Q);
if (val! = txt.value)
{
$ ("#tipmsg"). Show ();
$.ajax ({
Type: "GET",
URL: "save_ajax.php",
Cache:false,
Data:data_q,
Success:function (msg) {
obj.innerhtml = msg;
$ ("#tipmsg"). Hide ();
}
});
}
Else
{
obj.innerhtml = val;
}
} set this?
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.