Tag: Ajax
How To Install Java, Install java in windows
Let us see this basic tutorial, how to install java in your system.. Setp1:- Download JDK 1.6 from www.oracle.com / any sharing sites,…
What is Ajax, Introduction to Ajax
Ajax is not a programming language, its the script. Ajax means, Asynchronous java script and xml, and this is the type of programming made popular in 2005 by Google suggest [Google search, while we are typing some thing in…
Ajax First Program With Explanation
Let us see first ajax program.., so that i can explain the inner concepts practically 🙂 Files used… Firstprogram.html java4s.txt <html> <head> <script type=”text/javascript”> function fun1() { var a; if (window.XMLHttpRequest) {// If the browser if IE7+FirefoxChromeOperaSafari a=new XMLHttpRequest();…
Ajax Request, open() and send() methods
In Ajax if we want to send the request to the server, we have 2 methods in XMLHttpRequest object to do this work, those are open() and send(). Actually open() method will opens the connection with the server and…
Ajax Server Response, responseText and responseXML
Once we send the request to the destination , we will get the response from the server in two formats either in Text or XML, i mean we can get the response from the server by using…
Ajax onreadystatechange Event Of XMLHttpRequest Object
Once the request been sent to the server, changes will happen in the current webpage based on the response only. The onreadystatechange event will be triggered every time the readyState changes. Here the properties of XMLHttpRequest object onreadystatechange A…
Country State Dropdown Example With AJAX/Servlets
Folks this is similar to the country/state drop down using Ajax, i believe we have lot of examples regarding this country/state drop down so just would like to do little changes, so i converted into employee number and name….
Ajax,jQuery Auto Fill Dropdown On Page Load
Let us see the auto fill drop downs using Ajax and jQuery Files Required index.html db_fetch.jsp jquery-1.2.6.js (Add this jquery file at db_fetch.jsp location, same folder) web.xml Index.html <html> <head> <script src=”jquery-1.2.6.js” type=”text/javascript”></script> <script type=”text/javascript”> $(document).ready(function(){ var xmlhttp;…
Checking User Name Availability With AJAX – Google Style
We will see how to check the user name availability in the database with ajax, this is some thing what we can find out at time of gmail signup Files Required index.html pass.jsp web.xml Index.html <html> <head> <script type=”text/javascript”>…