Hello:
I am working on a web application that currently provides a list of documents in a MySql database. Each document in the list has an onclick event that is suppose to open the specific document, however I am unable to do this.
My list gets popluated using Ajax. Here is the code excerpt (JS):
function stateChanged()
{
if (xmlh...
I’m having trouble getting a AJAX/JSON function to work correctly. I had this function grabbing value from a drop down box but now I want to use an anchor tag to set it's value.
I thought it would be easy to just use the onClick event to pass string to the function I was using for the drop down box but I get the alert in JSON onFailure ...
Hi There,
I have an an ajax request that looks like this,
$('input.fakecheck').click(function(){
alert("deleteing....");
$.ajax({
url:"/search",
type:"POST",
data: $(this).attr('name')+"="+$(this).attr('value')+"&remove=Remove",
success:function() {
alert(data);
}
})
})
This calls a php function which l...
Im trying to display a loading gif before submitting a multipart-form (file upload), this is my code.. but the image is not displaying.. if i remove the submit() it displays, so.. is not a path or syntax problem.
$('#btnSubmit').click(function() {
document.getElementById('loader').innerHTML = "<img src='<?= url::base() ?>themes/img...
I am wondering if RegisterTypeForAjax isn't working correctly. I am getting the error noted at the end of the code block below. Sample is from here:
http://www.ajaxtutorials.com/asp-net-ajax-quickstart/tutorial-introduction-to-ajax-in-asp-net-2-0-and-c/
Any ideas as to why I'm getting this error? Thanks.
ASP .NET 2.0 C#
Here is the...
Is there a way to detect via JavaScript (client side) any AJAX requests that are occurring and even get the number of requests in progress?
The reason I ask: I have a global processing indicator in an application being worked on with several developers, some of whom neglect to start and stop the indicator when making AJAX requests.
I...
Is it possible to limit the search results in a news or blog search using the Google AJAX Search API by the publication date of the story or post?
I'm aware it's possible to sort the results by date but is it possible to limit the date to a period in time, say between the 10th and 15th of Jan 09?
...
Hi, I'm trying to call web service function via GET method using jQuery, but having a problem. This is a web service code:
[WebService(Namespace = "http://something.com/samples")]
[ScriptService]
[WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)]
public class TestWebService : System.Web.Services.WebService {
[WebMethod]
...
I'm making the call using the following script which is called on click of an anchor tag
function GetToken(videoId) {
debugger;
var json = $.getJSON("/Vod/RequestAccessToken/"+videoId, function(result){
alert("token recieved: " + result.token);
});
}
In the server application I recieve the cal...
I apologize if this question is vague, but I want to build a drop down header, very similar to the one on StackOverflow that alerts you whenever you have earned a new badge, or on Twitter whenever a new tweet comes in.
I've been looking around on the internet for a tutorial, but I'm having trouble googling exactly what I'm looking for. ...
I can listen to events from a certain topic in an ActiveMQ server using a simple asynchronous listener and print the incoming events to the console (code to that actually comes as an example in the activemq-cpp library). I would like to create clients on other machines that will listen to these events and update their displays.
My quest...
Hello there...
Once I have retrived an HTML string with the $.ajax function I put it into a div... the HTML is a simple message with a <b> tag, but it's not being interpreted by the browser, I mean, the <b> is not making the text bold.
Here is what I do:
$.ajax({
url: 'index.php?ajax=ejecutar_configuracion&id_gadget=cubrimientos',...
I try to write a simple Ajax client to send and receive messages. It's successfully deployed but I have never received msg from the client. I am beating myself to think out what I am missing, but still can't make it work.
Here is my code:
I creat a dynamic web application named: ActiveMQAjaxService and put activemq-web.jar and all n...
I use cakePHP and it generate ajax
/animemanga/animes/search/page:1?type%5B0%5D=3&genre%5B0%5D=20&genre%5B1%5D=4&info%5B0%5D=episodes&info%5B1%5D=released&info%5B2%5D=rating&info%5B3%5D=synopsis&info%5B4%5D=completed&info%5B5%5D=rating_count&info%5B6%5D=name&info%5B7%5D=id&info%5B8%5D=name&...
I have a few arrays that I want to send to process with PHP. Using json2.js I will stringify the arrays like so:
var JSONlinks = JSON.stringify(link_array);
var JSONnotes = JSON.stringify(note_array);
but then I'm confused. Do I need to use a XMLHttpRequest object? Is there another way? If that is the simplest way, could someone p...
Hi everybody,
I need you suggestion to make some refactoring in jquery code because now it looks terrible for me. I have 4 json calls but the difference it is just the URL call.
EX:
var userId = MyuserID;
var perPage = '45';
var showOnPage = '45';
var tag = 'tag1';
var tag1 = 'tag2';
...
Ok, so I'm using Jquery's AJAX function and it's having trouble passing a URL with a http address. So I'm hoping to "get" the GET values and send them to another URL — so: a local php file begin passed GET values, which in turn forwards the GET values to another url.
Maybe curl is the answer? I don't know. It's got to be a very short an...
Hello,
I have a website which has many pages:
For example:
HOME: http://mywebsite.com/index.html
SOME PAGE:
http://mywebsite.com/categorie/somepage.html
I decided to make my pages load dynamically with AJAX without reloading the page. So I decided to use jQuery Address plugin ( http://www.asual.com/jquery/address/doc...
My app is a very complex game that uses json objects to store its execution state (aka save games). I'm looking for a nice database script that can talk json and interact with javascript via ajax.
...
Hi Folks,
I'm wondering, is it possible to receive google results over their own ajax API in a way like, 100 results per page?
Without a visible search field, I'd like to get the results in the background to create a progression for some search phrases.
My basic question is, what are the restrictions of the google search api ?
--upda...