hi
i am very new to ajax .when a user post comment i want to diaplay immediately ie something like dani web quick reply please tell how do tat in ajax
lydia21
9
Junior Poster
Recommended Answers
Jump to Postthis will give you everything you need to know
http://www.w3schools.com/Ajax/Default.Asp
Jump to PostHi,
You will need to call two functions in AJAX.
1. for inserting the comment in database and returning the last inserted id
2. For displaying the comment using the returned id.
Jump to Poststart very simple. On the page that you are calling, just echo "hello world" and start there. If that doesn't work then post your ajax function(s). Otherwise, post the code on the page that you are calling and you ajax function(s).
All 10 Replies
R0bb0b
344
Posting Shark
adnanahsan
0
Newbie Poster
vicky_rawat
11
Junior Poster
adnanahsan
0
Newbie Poster
R0bb0b
344
Posting Shark
adnanahsan
0
Newbie Poster
R0bb0b
344
Posting Shark
adnanahsan
0
Newbie Poster
R0bb0b
344
Posting Shark
adnanahsan
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.