![]() |
Make text editable assignment
Hello :)
Yeah i know im not supposed to post homework here. But im in trouble with this distance course. I would be more than greatful if someone could tell me where to look. Cause i couldnt find it in the book or on the internet so far ( so far= many hours)..... I have made a few attempts,well.... i failed hard :P My assignment is to make all <p class="haha"> editable withing a box by a mouseclick along with a Save and a Cancel button. Im just allowed to use Javascript Dont have to do the assignment for me, just point me in the right direction :thumbsup: . .... |
To make an element editable by a click, you may add onclick="this.contentEditable=true" on it. Not sure how/where you need to save it.
See http://html5demos.com/contenteditable |
That gave me something to work with.
Thanks mate |
| All times are GMT +1. The time now is 09:28 PM. |
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.