P3t3r Posted June 18, 2009 Share Posted June 18, 2009 Hi, I have a posting field on http://pen.problem-solving.be/posting.php?mode=newtopic&f=28 with smileys images. When you click on a smiley, it should add the respective code in the text. However, somehow it doesn't work. I don't see what goes wrong. Can anyone tell me where the mistake is (or, even more helpful, explain me how I can find such things myself -- I'm completely new to javascript). Link to comment https://forums.phpfreaks.com/topic/162838-click-adds-smiley-to-posting-field/ Share on other sites More sharing options...
P3t3r Posted June 19, 2009 Author Share Posted June 19, 2009 Oh, and in firebug it gives this error: document.post is undefined emoticon(":no:")posting....opic&f=28 (line 136) javascript:emoticon(':no:')()()javascri...n(':no:') (line 1) [break on this error] emoticon_insert(document.post.message, text); what do they mean, document.post is undefined? Link to comment https://forums.phpfreaks.com/topic/162838-click-adds-smiley-to-posting-field/#findComment-859289 Share on other sites More sharing options...
P3t3r Posted June 19, 2009 Author Share Posted June 19, 2009 Never mind, problem solved, somehow the name="post" disappeared from <form> :/ Link to comment https://forums.phpfreaks.com/topic/162838-click-adds-smiley-to-posting-field/#findComment-859292 Share on other sites More sharing options...
Maq Posted June 19, 2009 Share Posted June 19, 2009 Never mind, problem solved, somehow the name="post" disappeared from :/ It must be a bug between the chair and the computer... Please mark as solved. Link to comment https://forums.phpfreaks.com/topic/162838-click-adds-smiley-to-posting-field/#findComment-859321 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.