we're using js to do png replacement, and we also have ajax updates on some of these elements. when the page fragment gets updated, the png fix gets lost, since the png fix traverses the dom and replaces png bg images when the document loads. is there a way to render the png replacement when the ajax update takes place, rather than only ...
Hello all,
I am building a small web application to run midi files. Currently I am using quick time to play the midi files. The problem is that I do not know to what source I need to tie the object until the user enters some information (something like a search ). I need to be able to update the quicktime movie to the correct path. Is i...
Hi, I'm trying to create a multi-level ajax form on my rails app that can add/remove fields associated with a new object in a form when a button is clicked. However, I need to have multiple levels to this form (i.e. if someone adds a "Meal" object, there must also be a button inside the created "Meal" form for "Add a food".)
I follow...
Hi,
I have a webforms application, and I need to create a way to respond to ajax requests.
I will be either returning HTML or json responses (or maybe even XML).
Should I create a .aspx page for this or a handler of some sort?
Is setting the content type tricky?
...
Hi,
I need to return a list of blog posts (subject, body, datecreated, commentCount)
Should I return a json response or xml?
In the calling page, I will have to inject this into the page (its an ajax call).
So I need to be able to loop through the blog posts, and create HTML with the blog post info etc. and inject into the page.
I'l...
I am trying to create a Firefox extension that can run multiple XMLHttpRequests per page. The code is below (my main function calls the makeRequest on different URLs). My problem is that it always returns (at the "alert('Found ...')" for debugging purposes) the same URL instead of displaying the different responses. I think the issue is ...
I want to call fillContent then later called beginEditingQuestion
fillContent(cid, "questions");
beginEditingQuestion(qid);
The problem is that I can't rung beginEfitingQuestion until all the ajax in fillContent is done. Is there an elegant way to delay the code? The only idea I can think of is to make a totally new function fillConte...
Im making an ajax login form. When a user logs in with the wrong password login.php will return "Incorrect password". But javascript doesn't seem to be picking it up.
$('#login_btn').click(function(){
var username = $('#login_username').val();
var password = $('#login_password').val();
$.post("login.php", { username: u...
Hi Everybody,
I'm using a ModalPopUp in an Asp.net application and would like to have it closing automaticaly when user clicks "esc".
I've used the following script:
<script language="JavaScript" type="text/javascript">
function pageLoad() {
$addHandler(document, 'keydown', onKeypress);
}
function onKeypress(args...
Hi all, I've got a form which I need to post the information to an external site, but for some reason I'm getting an error:
Error: [Exception... "Access to
restricted URI denied" code: "1012"
nsresult: "0x805303f4
(NS_ERROR_DOM_BAD_URI)" location:
"jquery.core.1-3-2.min.js Line: 19"]
Source File: jquery.core.1-3-2.min.js
...
Hi friends,
Requirements :
I have created a html page - to save a group of fields into a separate file
Through ajax function(AjaxLoad), i have send some value into file.php and save it.
I can able to reach the file.php, but its not creating the file. code is follows
javascript
function AjaxLoad(LstrXML){
var xmlhttp;
xmlh...
Hi frnds,
I m new to ajax. I have implemented the ajax autocomplete
"
parameters="searchText={insSearchText}"
className="autocomplete" />
It is working alright,but i need that when the autocomplete list populates,and down key is pressed to select the value in list,it should auto fill the attached textbox accordingly with the value havi...
When using the AJAX functionality in jQuery, do I also have to have ASP.NET AJAX/.NET 3.5 installed also? or can I only use ASP.NET AJAX?
I'm unclear on whether or not I'm able to use AJAX in ASP.NET without ASP.NET AJAX or not.
...
After getting stuck trying to access another domain with ajax I discovered I'll need to use jsonp. However the web service I'm using doesn't provide jsonp output. No problem, I can write something simple on my own webserver that will wrap the output of their thing with jsonp. However before I reinvent the wheel, is there some exisiting p...
$(this).css("left","100px");
function endless(){
$(this).animate({
left:'-=100px',
},{
easing: "linear",
duration: 5000,
complete: function() {
$(this).css('left','100px');
endless();
}
});
};
endless();
This is what I tried, but using this approach i can't get stuff moving.
Im' ...
I have a long-running database query that I've placed in an asynchronous AJAX callback (or so I think) to allow the user to navigate to another page if they're not interested in the results.
Whether I call the query automatically after page load or on click, the page always locks up until it returns, i.e links and buttons don't work. I...
I am getting a very strange client side javascript error when using asp.net ajax tool kit.
I am using user controls with a timer inside of an update panel to make call backs to the server
the error is Type Sys.UI._Timer has already been registered
I can't recreate the issue at all when debugging the site localy or if the site is publis...
Hi,
I am attempting to build out a visual jQuery based browser for thumbnailed assets grouped by the upload date of the asset. The backend part is fine, but I'm having a really hard time finding a workable visual solution that can handle (potentially) hundreds to thousands of assets smoothly. The display of the content is not an issue...
Does anyone have a complete start-to-end set of steps taken when making an ajax call? is it different then a http request? Via perception, it seems an ajax populated web page takes more time then a php populated one: both accessing the same db, same # of records, same display, difference being in-line php to render the form prior to sen...
So, this may be a really stupid question, but I'm obviously missing something here.
Consider the following code:
var selectedItems = [];
selectedItems.push("0ce49e98-a8aa-46ad-bc25-3a49d475e9d3");
//fyi, selectedItems[selectedItems.length] = "0ce49e98-a8aa-46ad-bc25-3a49d475e9d3"; produced the same result.
At the end sel...