Category: ajax
-
Ajax: Upload a file through ajax ( without page refresh)
In most cases we need to upload something on server without refreshing the page. for example we want to upload an image from popup window. But it will refresh the page and we will lost our popup and its content… so for this type of problems we providing an attractive code for upload a files…
-
Translate english to hindi by google api
Sometimes we need to develop a website with Hindi font. But main problem is how to insert content in Hindi in admin panel. so here is a solution by this admin can enter content in Hindi font. It will work like: When admin type any word like ‘welcm‘ and then type space it will automatically…
-
WordPress: How to use Ajax at front side without using admin-ajax.php
Mostly all wordpress developers write the code to create widgets in admin side. and he use following code: var ajaxurl =”; var data = { action: ‘action_function_name’ }; // since 2.8 ajaxurl is always defined in the admin header and points to admin-ajax.php jQuery.post(ajaxurl, data, function(response) { alert(response); }); But when he wants to use…
-
show the div area in middle on screen using jquery
If you want to show any div area in the middle on click any link or button then follow these steps: 1. First download and add JQuery js in your file. 2. now create a function If you want to show any div area in the middle on click any link or button then follow…
-
Change dropdown list (options) values from database with ajax and php
I’m going to show you a example in php and ajax to change the values of the dropdown’s options without refreshing the page. The values (options) of the dropdown are fetched from the database and the certain portion of the web pages is only refreshed without need to refresh the whole page. Let’s start with…
-
Changing textbox value from dropdown list using Ajax and PHP
from PHP using Ajax and this currency code will replace the value of textbox each time the dropdown list changes. Writing Code for changing textbox value from dropdown list using Ajax and PHP After looking at the above demo, let’s start writing code for the changing the currency code value in the textbox form Ajax…
-
Solving European characters (Western charset) problem with Ajax and PHP
Today, I would like to tell you how to handle character set problem which occurs during the data fetched from PHP using Ajax mainly on the western characters(European charset).Lots of people asked me about this problem where these European charset is displayed in unreadable format after fetching it from ajax. Problem with European Charset with…
-
6 free ajax chat applications using PHP
While talking about chat application, these days people hate those kind application made in PHP which need page refreshing. In this post, I’ll show you six different free Ajax chat applications which might be very useful if you’ve to use Ajax based chat application. Depending upon the requirement of your chat application, you can use…
-
Which is the best JavaScript and Ajax Framework ?
Last time, I had published a poll asking which is the best PHP framework and in that poll Zend Framework stand out itself to be the most popular PHP framework among the PHP developers. This time ,I’ve come up with another Poll and I would you to participate in this POLL “Which is the best…