I need a hint! I want to change some text with a delay in it. With .delay
it isn't working because it isn't a queue. Then I tried it with .setTimeout
. That worked, but only for one textbox. When I add another one, it doesn't work properly. Can anyone help me?
Here the code:
$('#text-box1').hover(function() {
$('#text-box1').text("The text changed!");
}, function() {
$('#text-box1').text("The previous Text");
});