[eluser]jedd[/eluser]
Hi scorpion5432 and welcome to the CI forums.
[quote author="scorpion5432" date="1260242421"]
if anyone can guide me to tutorials give me a sample code i will be grateful thanks guys for ur time[/quote]
Try reading the [url="/wiki/FAQ"]FAQ[/url], specifically the section on Java-Script & AJAX - there's some links in there.
If you go to the wiki's Tutorials page, you'll find a few more links showing you yet more answers to this question.