• Sign in to Neowin Faster!

    Create an account on Neowin to contribute and support the site.

  • 0
Sign in to follow this  

Insert text in field using java

Question

cpu killer    7

Just wondering how I can make buttons that will insert certain text into a form field? I'm pretty sure it's javascript but not sure exactly how it's done or how easy it is. If someone could shed the light, I'd like a button that someone can click and a dialog will show up asking for img url and than it will insert the

 [img=imgurl] 

into a form field, as IPB does.

Also would like a simpler version of just adding

 [b][/b]

, etc.

Any help is appreciated, thanks :)

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.