Not a name, an ID.
Then use "fish" as the ID in the code.Code:<textarea id="fish"></textarea>
Printable View
Not a name, an ID.
Then use "fish" as the ID in the code.Code:<textarea id="fish"></textarea>
Yup, sorry yea I meant "id". I tried that, I even used "hamster":) being thats what my smilies are. Um, you would have to change that getElementbyId, right? I did that, and nothing seemed to work.
Only its argument.Quote:
you would have to change that getElementbyId, right?
Duplicate IDs are invalid. The same ID can't be used for more than one element.Quote:
I even used "hamster" :) being thats what my smilies are.
I meant that my smilies are actually hamster images... but that's not the point. I did follow all that, I'm not sure where I went wrong. I'm still searching for some broken string...Quote:
Originally Posted by Twey
Well, I guess that's it then. I'm going to try something else, I have some ideas. But thank you very much for helping. :)
I could probably help more if you gave me a link to the page on which you've attempted to implement this.
I'd like to be able to make this work for my page, but I don't know how to get started. My setup is a shoutbox program, and I've added a separate table on the page to show the smilies that are available to use in the shoutbox.
I *think* I would take that code you posted, Twey, and apply it to the table where the smilies are, after having changed the code to understand where to place the smilie code text??? I am utterly clueless. Sorry.
I hope it was not bad form to bump this old topic.