Lined textarea extension
Posted 2010-11-23 14:33:16 by .

I my last article I found a way getting the errors from Cheetah template rendering. I now needed a way to highlight problems in a HTML textarea. I came across Alan's great plugin just as I was about to give up.

I needed to make one additional change to it. I've modified the jquery-linedtexarea plugin to pass in "selectedLines". This allows a list of lines to be given, which will then be highlighted. See my live demo. The modified javascript code is available here: jquery-linedtextarea.js

The textarea is set up and the selectedLines array is passed in as follows:

$(document).ready(function () {
$(".lined").linedtextarea({
selectedLines: [3,6,13]
});
});

Now I'm just need to see if the author will accept my change.

Reference:

 

Comments

On 2013-03-18 11:20:08 levitraTexideady (http://www.levitrasafetybuy.com/#online) wrote:
when you caress like you have need of mating. http://www.levitrasafetybuy.com/#safe online phamacy. Time to the entanglement location. http://www.levitrasafetybuy.com/#buy - levitra pharmacy help to save shin-plasters. Great sex and delightful <a href=http://www.levitrasafetybuy.com/#cheap>buy levitra</a> try buying Levitra
On 2013-05-08 03:03:49 chan luu bracelet (http://www.chanluustore.net/) wrote:
http://www.marcjacobsbagsstore.com http://www.usitccoachpurses.net http://www.voguecoachoutlet.com http://www.marcjacobssale.co.uk http://www.chanluustore.net/

New Comment

Your email is never published nor shared.
Required fields are marked *
*
*