cant you use
span id=originaloriganal html/span' 'span class=newhtml to
be replaced /span'
$('#original').html ($('.new').html ());
$('#new').delete(); if you don need it anymore.
On 24 Lie, 15:56, Sourabh sourabhmkulka...@gmail.com wrote:
Thanks for your help
Ok I have a scenario like
I could see that being VERY slow
$(p).each(function() {
if ($(this).text()=='When the day..believing') {
$(this).replaceWith('spanchota/span');
return false
}
})
would work, but I wouldn't recommend it.
Anyway, why would you want to do this, and how would you
Thanks for your help
Ok I have a scenario like this -
I have an array with
['spanoriganal html/span' ]['spanhtml to be replaced /span']
This array will be available to me when the page is loaded.
Now I have a HTML page (DOM or DOM container element) in which I need
to search the
3 matches
Mail list logo