I'm making a small Adobe AIR app (my first) using HTML+Javascript. I need to run more than one asynchronous data request, but the second one didn't seem to be firing (note that the requests were not run concurrently originally). I tried stripping the program down to the bare minimum that exhibited problems, and at first only the first re...
i am trying to call a remote method to update page content via ajax/js.
either i am too tired already or haml is not parsing the following code correctly to send the value of the query field via prototype. any ideas?
- form_remote_tag(:url => {:controller => "search", :action => "line"},:with => "'query=' + $('query').value" ) do
%inp...
Hey guys How do I use the PHP variable $contact['id'] in my ajax call? I'm trying to create a page that retrieves all notifications associated with a user. When the page load I already know the id of the user, how do I use this parameter in my ajax calls from the beginning? At the moment I am using the php preprocessor by splitting up th...
This is a rephrase of a post I made last week. I was surprised I didn't get more of a response, thinking maybe I didn't describe/title it very well.
Simplest possible way to describe it:
Is there something like spring:bind for javascript/dhtml?
The high level view of what I want:
In my app, I have a list of "subscriber" objects whic...
i have a little problem here!!
after i submit my form,
based on php response i want to execute another javascript or ajax function!
this is my form:
<form id="uploadForm" onsubmit="ytVideoApp.prepareSyndicatedUpload(
this.videoTitle.value,
this.videoDescription.value,
this.videoCategory.value,
this.videoTags.v...
Dear all,
How i load a new page in my particular div using ajax in codeignator framework?
I write the function its work for plane php.
example:
href="abc1.php" onclick="makerequest('abc1.php','div_name');return false;"> Page 1
href="abc2.php" onclick="makerequest('abc2.php','div_name');return false;"> Page 2
Note:ajax makerequest fun...
I'm seeking input on this topic, as explained below. In particular I am looking for a "best known method" or design pattern regarding how to dynamically build HTML.
This is a very common task for me:
Submit something to a server via a POST --> get a list of results back in JSON format --> take this list of 0 to n results and display th...
Here is what I have going on in my AJAX:
$('#submit-button').click(function(){
var twit = $('input#twittername').val();
var email = $('input#email').val();
if((email == "" || email == "[email protected]") && (twit == "" || twit == "@twittername")){
$('p#empty-error').fadeIn();
return false;
}
var datastri...
Hi everyone,
i have a web application that is build as single page. Through one user session, it stores lots of DOM and JS objects on client side. So if browser refreshes my app, it starts from very beginning, except user sing-in, etc.
And i am looking forward for a way to migrate this application to portlet. I have experience with por...
Hi
I'm beginning to write what may grow to be a large commercial website. The business has several facets, so I'm considering a 'widget' based UI not dissimilar to the BBC homepage (http://www.bbc.co.uk).
I'm writing a content management system that would allow an administrator to compose pages using a selection of pre-defined widgets...
hi there!
how do i (after getting the right stock prices from a source) show it on a "live graph". i'm looking for a php/ajax toolkit that allows me to create that graph live?
is that the right thing to use or a flash based solution is better?
are there 3rdparty sites that offer to create live graphs given input data?
...
What could it mean if I make an ajax request with the jQuery .load() and I get no response at all in firefox or chrome, and in ie8 I get an error saying "Access is Denied"?
...
I am wondering how to add a javascript event handler using asp.net ajax.
I need to add event handlers after ajax update because Jquery plugin to sort tables doesn't work and the onload method to display a screen keyboard does not trigger as well.
Is there a way to do that?
Maybe I need to switch to some other ajax library or/and try A...
I need to refresh dbgrid constantly, in real time. Close and open dataset works fine, but blink the dbgrid. What can I do to avoid this?
I'd like a solution like Ajax, that update only the necessary.
Thanks
...
I'm working on an ajax application that makes extensive use of jQuery. I'm not worried about whether or not the application degrades gracefully.
So far I have been using Malsup's excellent jQuery form plugin to create forms that submit ajax requests. (For example, to submit updated record information.)
However I am considering dispen...
Hi,
I've got jquery sending an AJAX request that executes some checks and then should EITHER redirect to another page or return data. Everything works fine except I'm unable to force the redirect in my actions file. I've tried:
$this->redirect('@new_page'); // DOESN'T WORK
And...
$this->context->getController()->redirect('@new_page'...
Hi Guys new to this site but a big fan.
Right the problem. It's come to our attention that sometimes on Internet Explorer the post variable don't come through.
This is our basic ajax function
function GetXmlHttpObject(handler){
var objXmlHttp=null
if (navigator.userAgent.indexOf("Opera")>=0){
xmlHttp=new XMLHttpRequest();
xmlHt...
Right now, what i'm trying to do is display some lists on a page and pull out that information from the server using Jquery. The code looks like:
<div class="list" name="category1" />
<div class="list" name="category2" />
<div class="list" name="category3" />
....
$(".list").ready(function(){
$.post("/getData", "{name=category#}"
...
I'm doing some research on using Bing Maps for a proposed application and I've run into a wall. The general idea is that I want to show the locations of various items we have within X distance to a location. The start point is the US map and we're using the user's click to get lat/long, and using that to pick the nearest city. We'll cent...
XmlHttpRequest works through callbacks. So how can I return a value? I tried to set a global variable, but that doesn't seem to be working.
var response = null; // contains the most recent XmlHttpRequest response
// loads the info for this username on the page
function loadUsernameInfo(username) {
getUserInfo(username);
var pro...