Most Popular
Disable/enable a form element using jQuery?
There are two ways to disable/enable form elements. Set the 'disabled' attribute to true or false: // Disable #x $('#x').attr('disabled', true); // Enable #x $('#x').attr('disabled', false); Add or remove the 'disabled' attribute: // Disable #x $("#x").attr('disabled', 'disabled'); // Enable #x $("#x").removeAttr('disabled');
how to make virtual directory in xampp?
C:\xampp\apache\conf\extra\httpd-vhosts.conf Add following code in end. <VirtualHost *> DocumentRoot "D:\www\foldername" ServerName local.sitename <Directory "D:\www\foldername"> Order allow,deny Allow from all </Directory> </VirtualHost> C:\WINDOWS\system32\drivers\etc\hosts 127.0.0.1 local.newsite