Navigation

Home
Search
Submit A Resource
Contact Us
About Functionn

Subscription Options


Subscribe By Email (265+)


Lists


Archives

Jan 31, 2013

Author: Hirvesh Posted At: 1/31/2013 Tags: , ,

FilteredPaste.js - A jQuery Plugin To Filter & Clean Pasted Input

Share:

FilteredPaste.js s a jQuery plugin which allows you to filter any pasted input and strip it of tags and attributes which are not desired.

By default FilteredPaste.js comes with a default filter which allows alt attribute on any tags, src attribute on image tags and href attribute on anchor and link tags.

However, with FilteredPaste.js, you can also create custom filters which allows you to filter the pasted input as per your requirements.

For example, you could strip all tags and attributes of the input or you could manipulate the pasted input and add tags and attributes to it. You could strip the input of any formatting and add your own formatting to it – like displaying the pasted text in yellow color.


Browser Supports

Work is all modern browsers except IE and Opera.

Requirements: jQuery
Demo: http://willemmulder.github.com/FilteredPaste.js/
License: CC Attribution 3.0 License

Daily Posts, Be Updated, Subscribe:

Want Free Web Resources? Enter Your Email And We'll Send It To You - Daily! (265+ Subscribers)

Yup, it's that straight forward! Enter your email address below and we'll send you the latest web resources to your inbox, everyday. We don't do spam. Ever.

Trending Posts On Functionn This Week

Share:

Other Interesting Resources:

0 comments:

Post a Comment

 


Recent Posts

Popular Categories



Popular Components



Popular Licenses