so sorry to hit you with an answer after you already received plenty.
somehow the other replies hadn't come in before I sent yet another.
--Karl
On Jan 24, 2009, at 12:27 PM, Charlie22 wrote:
ah so, I got it now, thx for help, it works. I had there .romeve() in
addition. Now its correct!
On 24 Led, 18:18, brian <bally.z...@gmail.com> wrote:
remove() should be used if you want to remove the div from the DOM.
To
empty its contents, just use text() or html(), which will replce the
content of the div.
On Sat, Jan 24, 2009 at 12:05 PM, Charlie22 <ch...@post.cz> wrote:
Thx, but I need leave DIV tag on the place..I thought $
('#test>*').remove(), but no success.
On 24 Led, 17:54, brian <bally.z...@gmail.com> wrote:
$('#test').text('') or $('#test').html('') might be what you want.
On Sat, Jan 24, 2009 at 11:22 AM, Charlie22 <ch...@post.cz> wrote:
I have question how easy remove content from DIV, e.g.
<div id='test'>test text</div>
I thought that code
$('#test').remove()
managed it, but it doesnt true. Thx in advance.- Skrýt citovaný
text -
- Zobrazit citovaný text -- Skrýt citovaný text -
- Zobrazit citovaný text -