Hey everyone,
I used to know Javascript but I have not used it for a while, because of this, I have forgotten alot!
I am currently trying to add a real time preview to my comments system (PHP). I have already managed to get smilies to appear in the textarea however I would like to convert the "
etc" into the correct image.
I did at one stage have it so that "," would convert to a smile, however I forgot to save and lost it.
My current code is attached (link to website).
So my real question is, could someone show me how to make "
" become the correct smiley image in the realtime div layer like HTML?
Thanks,
James
I used to know Javascript but I have not used it for a while, because of this, I have forgotten alot!
I am currently trying to add a real time preview to my comments system (PHP). I have already managed to get smilies to appear in the textarea however I would like to convert the "
I did at one stage have it so that "," would convert to a smile, however I forgot to save and lost it.
My current code is attached (link to website).
So my real question is, could someone show me how to make "
Thanks,
James