Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Formatting Form Content

Status
Not open for further replies.

TamedTech

IS-IT--Management
Joined
May 3, 2005
Messages
998
Location
GB
Hi There guys and gals,

This might be one that someone here knows how to tackle.

Basicly I have an admin type section for the site where users can login and ammend the content of the site, add, remove and edit page content etc.

What i would like to do is on the form where they can add some new content to the site, is have a list of buttons that add in the HTML tags for them into the textarea filed... this way my users dont have to remember <b></b> or <a href=""> tags ... they can just press a big "B" button or a "Link" button and have it activly enter the tags for them.

I'd imagine this will be Java powered .. but i have no idea.

All help is greatly appreciated.

Rob
 
It is something that requires Javascript (please read the FAQ linked at the bottom of my post to read about why Java is not the same as Javascript). You could look to a Javascript rich text editor to provide the functionality. Here are some direct links to such solutions:

[ul][li][/li]
[li][/li]
[li][/li]
[li][/li][/ul]

Good luck,
Jeff

[tt]Jeff's Page @ Code Couch
[/tt]

What is Javascript? FAQ216-6094
 
Thanks for that Jeff,

I'll have thorough look into those links.

I know the difference between Java and Javascript, i was just being lazy.

Rob
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top