I have one form which is submitting by ajax.
I am running on php.
After the entry completed by ajax, that entry should be updated to my html.
For example
My HTML Code
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
</ul>
Now when any one insert new entry with 5, then my html should be updated with below HTML.
<ul>
<li>1</li>
<li>2</li>
<li>3</li>
<li>4</li>
<li>5</li>
</ul>
Thanks in advance.
Avinash
I have done it my own.
Please check the below code for the answer.
Mootools’ admopt method has works for me.
But i have some problem regarding this.
My response has some HTML in the to append in the LI.
Like below
Can u please suggest that whats the problem over here.
Thanks
Avinash