All Stories
How to validate email id in javascript
Find the below code by which you can validate the email field using java-script on client side, var reg = /^[_a-z0-9-]+(\.[_a-z0-9-]+)*@[a-z0-9-]+(\.[a-z0-9-]+)*(\.[a-z]{2,4})$/; if(!reg.test(document.getElementById(“email”).value)){ alert(“Please ...
How to export Email List from cpanel using javascript and firebug
To export the email address with the help of java-script: Login your cpanel and select the Email Accounts under the Mail section and change the result per page to show all the emails. Now ...
Mysql if condition in update query
We can use the IF CONDITION in update query, given blow example will show how we can use the IF Condition in update query. Suppose we have a table that has 2 column first is Name and ...
Add/Remove unwanted links from wordpress admin bar
Remove links from wordpress admin bar: Given below code remove the wordpress logo and other links from the admin bar. function annointed_admin_bar_remove() { global $wp_admin_bar; /* ...
Remove unwanted menu/submenu links from wordpress dashboard
Remove menu page links: function remove_menus() { global $submenu; remove_menu_page( ‘link-manager.php’ ); // Links remove_menu_page( ‘edit-comments.php’ ); ...
