How to know when GoogleBot last visited my website

If you want to know when GoogleBot visited your website recently you can use any of the following ways to do so 1. Go through your web logs which Apache/IIS generate for your website. Scan for GoogleBot. A very crude way indeed. 2. If you have signed up for Google Sitemaps then you can login … Read more How to know when GoogleBot last visited my website

Google presents Google Sitemap Generator

Since Google came out with the Google Sitemap tool many website owners who were having problems of getting their websites indexed on Google started using it. However, Google Sitemap required website owners to submit their website sitemap in XML format. As most of them were not technical they turned to their technical support team or … Read more Google presents Google Sitemap Generator

How to add a value to asp:Checkbox control and retrieve it on postback?

The <asp:Checkbox> is one of those controls in ASP.NET which does not have a default Value property in which you can store a value and retrieve it upon postback. This becomes a problem in cases where the value has to be saved into the database or an action depends on the condition of that value. … Read more How to add a value to asp:Checkbox control and retrieve it on postback?

Disable Enter key on form

If you need to disable JavaScript on your form then apply the following code in the <head> tag. <!– <script language=”javascript” type=”text/javascript”> function checkEnterkey(evt) { var evt = (evt) ? evt : ((event) ? event : null); if (evt.keyCode == 13) { return false; } } document.onkeypress = checkEnterkey; </script> –>

Firefox not detecting form elements populated through AJAX

While working on a PHP script I encountered a problem which was working fine on IE but not on Firefox. I was trying to display a list of records through AJAX and user had to select any one to proceed further. To make sure that the user actually selected and then proceeded I placed a … Read more Firefox not detecting form elements populated through AJAX