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 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 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 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. Link to comment https://forums.phpfreaks.com/topic/237533-newbie-help/#findComment-1220658 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.