fife Posted May 26, 2011 Share Posted May 26, 2011 Hi. I am completely new to writing javascript but I write a lot of php. I just have a question about where I can learn something. I have a post comment form...... <form action="" method="post" name="post-chat" id="post-chat"> <input name="my-chat-field" type="text" size="50" maxlength="500"> <input name="id" type="hidden" value="mem-ID"> <input name="submit-my-chat" type="submit" value="Submit"> </form> I want to be able to submit this form and the post appear straight away in the page. Because I am so new to this I have no idea what to search for and have spent the last 3 hours hunting around with no results. Can somebody please point my in the right direction or tell me the individual pieces I need to learn to do this? Thank you Quote Link to comment https://forums.phpfreaks.com/topic/237533-newbie-help/ Share on other sites More sharing options...
Maq Posted May 26, 2011 Share Posted May 26, 2011 I want to be able to submit this form and the post appear straight away in the page. You will need ajax to do this, check out: https://developer.mozilla.org/en/AJAX Quote Link to comment https://forums.phpfreaks.com/topic/237533-newbie-help/#findComment-1220642 Share on other sites More sharing options...
fife Posted May 26, 2011 Author Share Posted May 26, 2011 cool thank you Quote Link to comment https://forums.phpfreaks.com/topic/237533-newbie-help/#findComment-1220655 Share on other sites More sharing options...
Maq Posted May 26, 2011 Share Posted May 26, 2011 cool thank you Sure. AJAX is an easy concept to grasp but sometimes a pain to implement. If you have more questions, don't hesitate. Quote Link to comment https://forums.phpfreaks.com/topic/237533-newbie-help/#findComment-1220658 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.