Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function imageReplace(selector) {
- $(selector).each(function() {
- string = $(this).text();
- filename = string.toLowerCase().replace(/ /g, '-').replace(/([^0-9a-z-])/g,'');
- $(this).html('');
- });
- }
Add Comment
Please, Sign In to add comment