TextBox script

Topics: ASP.NET 2.0, Business Logic Layer, Controls, Themes
Oct 28, 2009 at 6:12 AM

I have installed the blogEngine.net 1.4 at my site.

I added TextBox init. In this textBox I have implimented below java script.

window.onbeforeunload = ff;
function ff()
confirm(" Have a nice time :) ");

This way if some one is leaving the page he will get a "Have nice time :) "message.

Now, I have another virtualdirectory named results

URL: http://www.revenmerchantservices.com/results/

If you browse any of the keyword listed in this results page, you will get a message "Have a nice time".

Does anyone know why my subdomain are showing this script message ?

I have tested it using IE 8 and FF.

Thanks, Satalaj.

Oct 28, 2009 at 7:10 AM

This is a spam post?  All I get is pop-ups and lots of trashy ads.

Nov 27, 2009 at 11:40 AM

Hi BenAmda,
 This is not spam post. I figured out what was the problem and I fixed it by my own
you can see it here http://forums.asp.net/p/1486178/3480944.aspx

Thanks, Satalaj