Skip to content

Custom tagtypes and classnames #4

Description

@zchef2k

No matter what I cannot get to work the arguments to change the default element and class for matched expressions. No matter how I put it together, it defaults to span .highlight.

$(document).ready(function(){
$(".css-tabs").highlightRegex( /[aeiou]/ig, {
tagType: 'span',
className: 'ipHighlight'
});
});

Thanks, great plugin. I can't wait to master it.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions