JavaScript - - By Sam Deering

jQuery selector not equal to wildcard

Simple jQuery code snippet which adds an image after every input field (except those input fields which have a type=submit) using .not(wildcard) in the jQuery selector.

$(':input:not([type="submit"])').each( function(i,v)
{
    $(this).after('');
});
Sponsors