How to add google page in my webpage using jquery ajax.
Hi,
I created a page index.html on desktop . this page content following code.
<html>
</head>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$.ajax({ url:"http://www.google.com/", cache:false, success:function(output){
$("#middle").html(output);
}
});
});
</script>
</html>
<body>
<div id="middle">
</div>
</body>
</html>
But when i load this page google page not open on my browser. how google page will load using ajax.
thanks in advance.
View Answers
Ads
Related Tutorials/Questions & Answers:
How to save form data to a csv file using jquery or ajax
How to save form data to a csv file
using jquery or ajax Please let...,
Thank you for your reply ,
i am suppose to use only
jquery or
ajax for doing...=data.responseText;
Now the problem is ,i should write form data to a csv file
using ajax
Advertisements
How to use Jquery in jsp page
in
my jsp
page. I have heard that
jquery will be usefull for this work.
According to
my need in
my gridview i have to
add following functionaliies...
How to use
Jquery in jsp page Hello Sir,
I am
How to animate div with jQuery and JavaScript?
.
In this tutorial we have learned to animate a div and
add maximize effect
using jQuery...Adding maximize effect to a div:
How to animate div with
jQuery... and
create own animation.
The animate() method of
jQuery is used to
add custom
How to animate div with jQuery and JavaScript?
.
In this tutorial we have learned to animate a div and
add maximize effect
using jQuery...Adding maximize effect to a div:
How to animate div with
jQuery... and
create own animation.
The animate() method of
jQuery is used to
add custom
jQuery Ajax load request
jQuery Ajax load request Hi,
How to use
jQuery to send the request on server to load data in web
page?
Thanks
Hi,
In the
jQuery Load... and then load the data in web
page.
Thanks
jQuery ajax get example
jQuery ajax get example Hi,
How I can use
jQuery for get request? Give me code for
jQuery ajax get request.
Thanks
how can i use ajax and jquery in netbeans ide
how can i use
ajax and
jquery in netbeans ide i am
using .net here we hav to download
ajax controls and if i use netbeans ide and uses
ajax control so from where i can get these controls.also i want to know which struct book i
jquery ajax and servlet
jquery ajax and servlet hi..
i am
using jquery,
ajax and servlet in ma application.On the
webpage when user selects id from the drop downbox...
jquery name
anyone plz tell me
how could i do this???
thanks alot
How to perform search using AJAX?
How to perform search
using AJAX? Hi,
I have following HTML code... and hit button, there is a
Ajax call to retrieve search results from a simple txt file kept on
my local. Please guide
how do I achieve this? I have written loadDOC
How to add the servlet api to my pom.xml?
How to
add the servlet api to
my pom.xml? Hi,
I have learned Maven... have to
add the servlet api in pom.xml file.
Let's know
how to
add the servlet api to
my pom.xml?
Thanks
Hi,
Use the following code in your
how to operate on select box using ajax in struts2?
how to operate on select box
using ajax in struts2? I am doing a project on struts2 in which i have a jsp
page which has two select boxes like
Now i want to use
ajax so that when i select a district value
jQuery ajax json
jQuery ajax json Hi,
How to use
jQuery to load json data through
Ajax request?
Thanks
Hi,
In Java you can use the following code to crate the json response:
JSONObject obj=new JSONObject();
obj.put("name","foo
Using Ajax
Using Ajax Hi,
How I can use
Ajax in web programming? Tell me any example which
using Ajax to call server side script?
Thanks
Hi,
Here are examples:
PHP
Ajax and Database
First
Ajax Example
Getting Started
how to operate on select box using ajax in struts2?
how to operate on select box
using ajax in struts2? I am doing a project on struts2 in which i have a jsp
page which has two select boxes like
<...;
<s:submit></s:submit>
</s:form>
Now i want to use
ajax
Auto Search box using ajax
Auto Search box
using ajax Hi , i want to implement auto search box functionality like
google and linkedin
using ajax,jsp,servlet, javascript... that value.I have seen so many of examples in
jquery,php,.NET but
how
remove and add div jquery
remove and
add div jquery I want to enable
my users to remove or
add DIV
using JQuery.
$('.
add_more').click(function(){
var description = $('#description').val();
$newEl = $('<div class="description_text