Ant
no notes

jQuery.htmlInput

I wanted a small editor which could be used to edit HTML on a web site, nothing fancy, just something that was small and simple to integrate and produced XHTML complient mark-up.

Its open source and uses the jQuery widget factory, it supports the jQuery themes framework so you can slip it into your jQuery-ui-ified web site and it will look the part without tweeking.

Add the two scripts to the head of your page

<script type="text/javascript"
    src="/Scripts/jQuery.htmlClean.js"></script>
<script type="text/javascript"
    src="/Scripts/jQuery.htmlInput.js"></script>

And call the htmlInput function on the elements selected by jQuery

$("#Input").htmlInput()

Ate Wallar, an html input box!

There are options to switch off the buttons you show and you can in theory add you own dialogs for image/link management, I'll put up a full list of the options on the google code page for those who don't want to read the code.

The code is on google @ http://code.google.com/p/jquery-htmlinput/

A demo @ http://www.antix.co.uk/content/demos/jQuery-htmlInput/test.htm

Also Ohloh is tracking it @ http://www.ohloh.net/p/jquery-htmlinput

Use it below to leave me a comment.

Post a Note

(required)

(required never shown)

On Twitter Follow MrAntix on Twitter

1 hours ago
TheNextWeb
Bing's search API now live on the Windows Azure Marketplace http://t.co/utX8uOuG by @alex

15/05/2012
WindowsAzure
Announcing the MEET Windows Azure Event! Streamed online June 7th. Register at http://t.co/bObzTAuL  #MEETAzure #WindowsAzure

One hour ago
commadelimited
Buy the @amazon Kindle version of mine and @cfjedimaster's @jquerymobile book for $10 today: http://t.co/PWRZ2dkd

just now
IT_Connection
RT @42windmills The Bing Search API on Windows Azure Marketplace is Here! #oneclickdeployment #42windmills http://t.co/3rtmgw3G

just now
SachinAnand_
RT @html5devconf: @web_mobi's #SachinAnand talks best practices in creating apps with #jquerymobile and #apachecordova, and more! http://t.co/K9g1DftF