در این کد کاربر به محض بردن ماوس روی لینک مورد نظر بلافاصله بعد از چند تعییدیه برای شما ایمیل ارسال می کند.
<a href="" onMouseover="alert('Why are you putting your cursor here?');
alert('I did not say you could!');
alert('I think you should e-mail me and say your sorry!');
alert('Yeah you better do it before i get mad!!!');
document.bgColor='black';
document.fgColor='White';
window.location.href='mailto:spammer@earthling.net?subject=I am sorry!';">please sen E-maile to me!</a><br>
<a href="http://moisrex.r98.ir">moisrex</a></CENTER>
میشه کاری کرد که وقتی آلرت میده متنو به صورت لینک آلرت بده؟
مثلا
title
من اینو مستقیم توی alert() گذاشتم ولی جواب نداد
ممنون میشم راهنمایی کنید
کدتون رو مستقیم اینجا نذارید به دست ما نمیرسه.
با تشکر