Jump to content
xisto Community
gotcha41

Add Text In Input-field

Recommended Posts

this is a picture of my shoutbox:

Posted Image

 

one problem:

the links/code for adding one of the smilies to the message-input-field (text: e.g. :( , :( ,...) are missing. Does someone knows how this can be fixed?

 

-the name of the message-input-field is "message".

 

thanks in advance! :(

Share this post


Link to post
Share on other sites

nipun


ok, here are the results:

remark:

- the text should solely appear if something (an image) get clicked, so nipun, your solution to the problem/my question isn't what i was looking for. But anyway, thanks for responding! :P

- the code i've needed is as follow:

[i]<head><script language="JavaScript" type="text/JavaScript">function addsmiley(code) {  document.formname.inputname.value += ''+code+''; }</script></head>[/i]

-my problem is solved/question has been answered, topic can be closed now? :(
Edited by s243a (see edit history)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.