Tag: JavaScript
Find a String within another String using JavaScript
This code snippet is to search a string within another string. The same code as function:
Read MorePHP str_replace & str_ireplace Function Alternative for JavaScript
Make a Cross Domain AJAX Request by JS & PHP – Tutorial
This tutorial is all about Cross Domain AJAX Request. We will learn how to do a Cross Domain AJAX Request with both GET and POST method by using simple JavaScript and PHP with cURL, file_get_contents and fopen.
Read MoreRequesting or Making AJAX Call with GET & POST Method
Here you will learn how to requesting / making an AJAX call with GET and POST method. Below is the minimum code required for a successful AJAX call with both GET and POST method. I’m using PHP for processing data, but you may use ASP, JSP or any other server side scripting language for that.
Read MoreHow to Show AJAX Loading Animation GIF Image
Here you will learn how to show a AJAX loading animation GIF image and hide the image when loading is finished. We will modify CSS property of the loading element via JavaScript at right timing.
Read MorePHP MySQL Login System with Remember Me, Online Status, Forgot Password & User Profile
Howdy folks, As I promised to you, I’m back with PHP MySQL Login System with Remember Me, Online Status, Forgot Password & User Profile option. This tutorial is much advanced than the previous one and it is a extension of that. If you are a beginner, then you should start reading with the previous article... continue reading.
Read MoreHow to Auto Resize a textarea with jQuery
To make a textarea auto resizable with jQuery, use the following codes.
Read MoreHow to Get ASCII KeyCode of User Pressed Keys using JavaScript & jQuery
Hi everyone, In this post, we are going to learn how to get ASCII KeyCode of User pressed keys using JavaScript and jQuery. Suppose we have an input tag with id “#textbox“. Now try the following codes and have fun.
Read MoreHow to Prevent/Disable Context Menu (Right-Click Menu) on Web Pages
Hi folks, You might want to prevent users from opening Context menu (aka Right-Click menu) by disabling it on your pages. In this post we are going achieve that feature using very simple one-line of JavaScript.
Read More