Very good call Klaus.
On 7/5/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:
Benjamin Sterling wrote:
> If the cell is can be emptied after mouseout do $(selector).empty();
Otherwise try this:
var appendable = $('Append me');
$('#mouseover').hover(
function() {
appendable.appendTo
Benjamin Sterling wrote:
If the cell is can be emptied after mouseout do $(selector).empty();
Otherwise try this:
var appendable = $('Append me');
$('#mouseover').hover(
function() {
appendable.appendTo('#append-here');
},
function() {
appendable.remove(); // rem
If the cell is can be emptied after mouseout do $(selector).empty();
On 7/5/07, arno <[EMAIL PROTECTED]> wrote:
Hi, guys
I tried to use the .append function on a mouseover event, but I can't
find a way to un-append the text I added on mouseout.
Am I missing something obvious?
Thx
Arno
3 matches
Mail list logo