Buttero Posted December 5, 2006 Share Posted December 5, 2006 I have coded a content managment system and on the submit.php page i have a series of feilds. However I have to go through the annoying task of hand coding all the tags like <!-- <img blah blah --> and all that crap. What I want is a button that i can click, and it automatically puts the opening img tag in there. And then when I click again, it closes the tag. The same for bold text etc. Anyone have any ideas or script? :) Quote Link to comment https://forums.phpfreaks.com/topic/29553-onclick-actions/ Share on other sites More sharing options...
Orio Posted December 5, 2006 Share Posted December 5, 2006 That's javascript, not PHP :)Orio. Quote Link to comment https://forums.phpfreaks.com/topic/29553-onclick-actions/#findComment-135593 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.