I dont understand JQuery much, so I figured I'd post what should be a pretty beginner question here... How do i replace all text within a particular class on a page. Say I have a div with class of "phoneNumber" that displays phone numbers throughout a page, then I want to replace each text with some new text, what's the simplest way of doing such a thing? I tried something like this, but it didn't work...
$('.phoneNumber').append('MyNewText');

New Topic/Question
Reply



MultiQuote



|