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? :) 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. Link to comment https://forums.phpfreaks.com/topic/29553-onclick-actions/#findComment-135593 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.