Hosts File Location On Windows

Windows 95/98/Me c:windowshosts Windows NT/2000/XP Pro c:winntsystem32driversetchosts Windows XP Home c:windowssystem32driversetchosts Windows Vista,7 c:windowssystem32driversetchosts It doesn’t have an extension. Modifying requires admin access on NT/2000/XP and greater. Notepad must be started with full admin privileges by Right Clicking and saying “Run as Admin.”

Setting Focus to 1st Text Field in jQuery

Setting focus to the 1st field in jQuery is actually really simple: there are some plugins that also can do it automatically on each reload of a form. I usually just use the following code on any pages where there is a form. <script type=”text/javascript”> $(document).ready(function() { $(“input:text:visible:first”).focus(); }); </script> Hope this helps.