Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post Jan 29, 2013 09:05 AM by Hiren Chavda
Member
8 Points
56 Posts
Jan 29, 2013 08:18 AM|LINK
$(document).ready(function () { $.ajax({ type: 'GET', url: 'https://js.i-parcel.com', [^] timeout: 15000, success: function (data) { alert('Connected to i-parcel.'); }, error: function (XMLHttpRequest, textStatus, errorThrown) { alert('Error:\r\n' + textStatus); } }); });
161 Points
81 Posts
Jan 29, 2013 08:50 AM|LINK
$('#buttonid').click(function(){
104 Points
20 Posts
Jan 29, 2013 09:05 AM|LINK
You can Put your code In some javascript function and and call that function on Button Click.
mrinalkumarj...
Member
8 Points
56 Posts
How to call following jquery function on asp.net button click
Jan 29, 2013 08:18 AM|LINK
$(document).ready(function () {
$.ajax({
type: 'GET',
url: 'https://js.i-parcel.com', [^]
timeout: 15000,
success: function (data) { alert('Connected to i-parcel.'); },
error: function (XMLHttpRequest, textStatus, errorThrown) { alert('Error:\r\n' + textStatus); }
});
});
BRUTAL JT
Member
161 Points
81 Posts
Re: How to call following jquery function on asp.net button click
Jan 29, 2013 08:50 AM|LINK
$('#buttonid').click(function(){
Hiren Chavda
Member
104 Points
20 Posts
Re: How to call following jquery function on asp.net button click
Jan 29, 2013 09:05 AM|LINK
You can Put your code In some javascript function and and call that function on Button Click.