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?