Hi,
how can i disable a set of controls while waiting for a certain Ajax call to end?
I'm aware of the method:
Sys.WebForms.PageRequestManager.getInstance().add_beginRequest(onSubmit);
but this will be triggered for every updatepanel, not only the one I want to control.
Also, an UpdateProgress (maybe with an overlying semitransparen...
I am using jQuery and AJAX. When clicking the Hyperlink, the associated document to be loaded in Popup Menu works fine. The problem comes when I use AJAX.
My Code:
//index.html
....
jQuery.ajax({
type:'POST',
url:' my.php',
data:'one='+one,
success: function(data){
jQuery("#another").l...
I'm curious how to solve this in a clean way. I've read a few forum posts but couldn't do something that works.
I have a dropdown which — on change — should change a value for a remote_function. The remote_function only needs to be called when the propriate radio button is enabled.
select: download <-- should affect rjs call to get a...
Hello everyone,
I keep getting the following error's:
uncaught exception: [Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIXMLHttpRequest.send]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: http://site/cms/js/interface.js :: doAjaxCall :: line 300" data: no]
uncaught excep...
Suppose i have some tabs (e.g. jquery tab) and I want to dynamically load some page in each tab.
I can do that by jquery ajax tabs (basically filling div with ajax data)
or
each tab can contain an iframe and page loaded into that.
Q1. I see no difference between two approaches to user, is there?
Q2. I think iframe way is better bec...
I have a javascript function that calls a generic function to make an ajax call to the server. I need to retrieve a result (true/false) from the callback function of the ajax call, but the result I get is always 'undefined'.
A super-simplified version of the generic function without all my logic would be:
function CallServer(urlContro...
Hi I would like to do the following:
Use JavaScript to stop the update panel from "updating" when the browser is inactive, and restart once it’s active again. I was looking at: Inacivity with JavaScript. I was hoping that I could use this to accomplish what I want; can someone point me in the right direction? Thank you very much!
[ED...
I am trying to use the getJSON function in jQuery to import some data and trigger a callback function. The callback function doesn't run. However, if I try the same thing with the get function, it works fine. Strangely, it works with the get function even when I pass "json" as the type. Why is this happening? I tested the following file ...
When an user tries to send AJAX requests simultaneously from multiple browser tabs, the earlier requests get completed and the page loads but the other AJAX calls are preempted. AS a result of which the response is empty for the other calls. Only one call survives.
In my application using struts 2.0, JSP and javascript and the prototy...
Hi guys, I plan to use OpenId with my project, it will be cool if I can authenticate the user to openId provider through Ajax. I am not sure weather it is possible?
...
Hi All,
I have a grid on a page along with a tooltip for each cell created dynamically on dlDrivers_ItemDataBound event through javacsript. I have been using ajax on my page.
When i visit the page for the first time, all the tooltips are working fine but when i perform some actions on the page and grid ispostback through ajax, but the j...
I have one database, with one table, with a particular field which has descriptions of various clothing. These descriptions often contain umlauts or similar characters.
I am retrieving this fields from two different php fields, and I am not doing anything to the data, yet it displays inconsistently.
In file1, it will display correctly ...
Can someone point me to tutorials using jQuery to create AJAX apps with Java (servlets). I was looking at the tutorial Implementing Ajax in Java web application using JQuery, which is similar to what I need, but it doesn't include most of the detail.
If you know of a good tutorial, text + graphics or video or know the main steps and can...
I am trying to complete the tutorial at http://www.ajaxprojects.com/ajax/tutorialdetails.php?itemid=438
It seems that the servlet is trying to POST the data to http://localhost:8080/WeatherServlet/WeatherServlet ... (WeatherServlet is the name of the servlet - duh).
I have the following index.jsp page (which displays fine)
<%@ page l...
I need to make an ajax call from a site to a service exposed on another site and server and I need to make it secure, so that I'm sure that the call is a genuine call from the client site and form.
What are the best methods to obtain this?
...
I'm trying to understand when I should use asynchronous web calls back to the server for data in an ajax app.
I've never used ajax before so I'm still stuck with my idea of the stateful model of HTTP, having used it that way for over a decade.
In a blog engine I'm writing as an ajax exercise, I'd like to add some asynchronous calls. ...
I have a regex that searches the source of a page it retrieves via Ajax and gets all the data inbetween and including the fieldset tags.
Here's my javascript:
var req = new XMLHttpRequest();
var regex = new RegExp("<(fieldset)\b[^>]*>.*?</\1>");
function showEditForm(i) {
req.open('GET', '/admin/maps/edit/' + i, false);
req....
I have a lot of JavaScript/ JQuery code blocks to handle asynchronous
data processing in my page. Each code block has three functions (code is incomplete and for illustrative purpose only):
encapsulates $.ajax call:
function doSomething(data){
// do some preprocessing
$.ajax({}); // some JQuery Ajax operation that accepts dat...
How is it possible to get values from a Html form to an Ajax.ActionLink method like the example below. Instead of "id=Model.DinnerID" I need to get the values of two textboxes that is in a Html form block?
<%= Ajax.ActionLink( "RSVP for this event",
"Register", "RSVP",
new { id=M...
I have this scenario: simple html form that is being processed with Ajax with clear (reset that form) button. I want to test clear function, hence the question: What is the right way to check that no values are selected from dropdown list with Selenium IDE?
I've tried assertSelectedValue command, but didn't find a way to specify the un...