troubleshooting Question

Inserting into a textarea, BB code

Avatar of azzy86
azzy86 asked on
JavaScript
28 Comments1 Solution990 ViewsLast Modified:
Ok basically Ive coded a forum but one thing I cant do is javascript, so I thought you guys could help :)

Ive searched everywhere for what I want, but short of robbing miniforum's insertion method my results have been weak. I even found one result here, but it simply inserted /<\B/> and that wasnt inserted unless you click on the textarea, ontop of that it required the main bit of javascript to have a seperate string for each tag.

I want a piece of code thats fairly dynamic, for example I need the function to use vars instead of set strings, so the real work is done with the insert button. The good example I found have the clickable button have something like javascript([b]); type thing.

Im sure you know what I want, thx :D
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 28 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 28 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros