Tweet



 
A very easy to use, cross platform, jQuery based UI toolkit, that’s still small in size, has the features you need, and doesn’t get in your way of doing things! Put jQuery and jKit on all your pages and HTML becomes so much better. And the best thing? You really don’t have to be a programmer to create a trully amazing website! jKit has 99% of all the features you ever need. You don’t have to check out dozens of plugins, learn how to use them, only to find out they don’t work in a specific browser. And even if jKit doesn’t have that one feature you need right now, jKit is fully extendable with plugins and command replacements, all that and your API always stays the same.

Hi, stranger

jKit is growing almost daily, if you don’t find what you need, let us know with a post on the community forum or our social pages. Hey, who knows, maybe it’s already on our ToDo list.

Content Summary

jKit Button

If you like jKit, use and want to support the project, here’s a small button you can use to link to the jKit website.

Btw, if you did something really nice with jKit, send us a link to your work and if we like it, we would sure love to feature it.

Replace command

Replace existing content with new content, based on simple strings or regexes.

Basic Usage (HTML)

data-jkit="[replace:search=[0-9]+;replacement=XXX]"

Advanced Init (JavaScript)

$('#myelement').jKit('replace', { 'search': '[0-9]+', 'replacement': 'XXX' });

Options

OptionValuesDefaultDescription
modifierStringgThe regular expression modifier to use
searchStringThe string or regular expression to search
replacementStringThe replacement string

Events

This command has no events.

Examples

Name replace:

Replace the name “Fredi” with “Fredi Bach” in bold:

<div data-jkit="[replace:search=Fredi;replacement=<strong>Fredi Bach</strong>]"> Hi, my name is Fredi. I'm a programmer. Fredi is also a designer. </div>

Number hide:

Replace all numbers with XXX using a regular expression:

This product costs 123 dollars more than the other product that costs just 77 dollars.
Source:
<div data-jkit="[replace:search=[0-9]+;replacement=XXX]">
	This product costs 123 dollars more than the other product that costs just 77 dollars.
</div>

Replacements

There are currently no replacements for this command.

[ Learn more about replacements ]

 

Discussions

Do you have questions or do you want to suggest new features? Than head over to our new community:

[ jKit Community ]