I have this code..
Is there a way to combine them so it didn't looks messed up?
- Code:
[panda=js]$('.post').each(function() {
$(this).html( $(this).html().replace(/Test/g,"Foo") );
$(this).html( $(this).html().replace(/Bar/g, "Dragons") );
});
Is there a way to combine them so it didn't looks messed up?