Genma
New Member
- Messages
- 12
- Reaction score
- 0
- Points
- 0
Hi everyone, I´m not an expert in javascript, but I know somewhere out there a genius script guy will help with my problem. I've made a shoutbox, but to be a perfect shoutbox, I need it to do the following:
Like the forums, I need a script that adds something to the textarea of the shout when you click on the image. Like when you click this:happysad: and on the textarea appears :haappysaad:.
I've seen that there is a function that finds the id of the textarea and adds some text if you add it to an onclick event, but I don´t know how to do that if the smilies are a separated html from the shoutbox html.
Hope I've made myself clear, my englsih is not that good.
please please please, I really need to know how to improve my shoutbox.
Thanx
Like the forums, I need a script that adds something to the textarea of the shout when you click on the image. Like when you click this:happysad: and on the textarea appears :haappysaad:.
I've seen that there is a function that finds the id of the textarea and adds some text if you add it to an onclick event, but I don´t know how to do that if the smilies are a separated html from the shoutbox html.
Hope I've made myself clear, my englsih is not that good.
please please please, I really need to know how to improve my shoutbox.
Thanx
Last edited: