Dynamic update Ul Li using javascript ( mootools 1.2 )

LUSDEDSUNCEVA

New Member
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 exampleMy HTML Code\[code\]<ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li></ul>\[/code\]Now when any one insert new entry with 5, then my html should be updated with below HTML.\[code\]<ul> <li>1</li> <li>2</li> <li>3</li> <li>4</li> <li>5</li></ul>\[/code\]Thanks in advance.Avinash
 
Top