ajax

Loadtesting ajax applications based on jQuery

Does anyone have any experience in load testing ajax applications? specifically running jQuery as their javascript library? Loadrunner and Neoload is the two of the load testing applications that works on the gui layer. But none of whom supports the jquery library. As for the other load testing tools, like jmeter, grinder and other ht...

Ajax modal popup loads behind the activex control

In a page there is an activex control as well as a button whose onclick opens an ajax modal popup. The problem i face is that whenever the button is clicked the ajax pop up loads behind the activex control and thus it is hidden.So I am not able to use that control at all. I have not found a proper solution to this. I tried a solution wh...

visualizing multi layered xml data in visual studio

If I have a multi layered XML Data file of the following type <versions> <version id="1"> <features> <feature id="1"> <deatil>aaaaa</detail> </feature> <feature id="2"> <deatil>bbbb</detail> </feature> </features> </version> </versions> I want to build an interface in visual studio using ajax or asp.ne...

How to make a Django passthrough view?

I want to make a Django view that does the following: Receive an HttpRequest on api/some/url/or/other Passes this through to another server at some/url/or/other (rewrite the URL, basically) Adding a cookie based on session data in Django Using the same method, data, params, et al, that were in the original request Returns verbatim th...

Javascript / AJAX - Send Data to Server w/o Headers?

JS - Is there a way to send data to the server backend without headers? ...

IE8 problem using flash inside a ModalPopupExtender (AJAX)

Hi I’m using flash charts from http://www.maani.us/xml_charts/ in an ASPX page. I Want to display a simple chart inside a Modal Popup Extender (From AJAX). Actualy Works fine at Firefox, but in IE 8 isn’t it perfect when I put it inside the Modal Popup Extender. In IE I can't see the flash animation. Do you have any idea? Page Code: ...

jquery - progressive enhancement and ajax

So right now, I have a few forms where as one is submitted, it retrieves another in a modal. So right now, I might have a link to example.com/modal/1, which opens the first modal. However, if javascript is not enabled (so the browser actually follows the link), then some html displays (the html that was going to be retrieved.). I'd like ...

Tricking ASP.NET into Thinking Request is Ajax Request for jQuery File Upload

I am using a rescue derived from MvcContrib: public class RescueAttribute : MvcContrib.Filters.RescueAttribute { public RescueAttribute(string view) : base(view) { IgnoreAjax = false; } public RescueAttribute(string view, params Type[] exceptionTypes) : base(view, exceptionTypes) { IgnoreAjax = false...

Is there a way to have a webapp accept an image as a paste "type"?

Specifically, are there any non-Java tools (which were mentioned here) for this purpose? Perhaps a pre-built AJAX library or deployable app? ...

Is there an ajax library for CodeIgniter that can invoke private controller methods and that currently works?

Hi there. Last time I did PHP I worked with CodeIgniter. To implement AJAX I used the XAJAX library, which was extremely simple and was capable of invoking private controller methods. Unfortunately XAJAX does not seem to be compatible with the latest version of CodeIgniter, or it might just be that it is not compatible with php5.2/5.3. ...

Two actions from the same form

I need to have a form execute two scripts so that means two different actions from the same form. I've tried some javascripts that use form.submit() from an onClick action on a submit button. But one of the two actions is an ASPX script that goes to Dynamics CRM. Any suggestions? ...

Observing any AJAX call (Prototype)

Hi, I want to set up an observer (using Prototype) which will be triggered when any AJAX call (to the server) is being made. ...

Calling method on Master page from WebMethod

Or any viable workaround. So, imagine a Master page that implements IFooMaster with a method ShowFancyMessagePopupTheBusinessCantLiveWithout(string message); I am in a page that inherits this master page. Upon a checkbox being unchecekd, I want to show a message to the user that if they save it, they can't re-check the checkbox without...

How do you return the data from an AJAX success event to the outer function?

I want the check_membership() function below to return the AJAX "data". However, "result" keeps getting set to the XHR object, not the returned JSON object. How do I fix this? function check_membership() { var result; result = jQuery.ajax({ type: 'POST', url: '/ajax/member', dataType: 'json', a...

Delete files with AJAX/PHP

The problem I want to delete a file with AJAX/PHP. But the php says that the file name what I send with AJAX is not a file, but when I go directly to the link I can delete the files. Check out my current PHP, i've put in the IF/ELSE statement to check if the string is a file with: is_file, the result is false. Without is_file says t...

Using jQuery Cycle and ajax to dynamically create a slide show - images don't load immediately

I'm currently trying to make a cheap, simple slide show navigation box for a client (something along the lines of what, say, the Red Sox or Gamespot use on their sites, but far, far simpler). So far, it's actually coming along nicely, with one problem - the images don't appear upon a first visit. They only appear after the page is relo...

Problem with jQuery Colorbox

Hello, I have a website that uses ajax jquery and colorbox. Inside the div "#content" there are some links to other pages that open fine using colorbox. If I reload the content of that div using ajax jquery , then the links wont popup using colorbox effect anymore. I tried to create a function that I would call whenever I call the fun...

How can I validate a ViewModel in jQuery Dialog?

My AddressEditViewModel has a bunch of attributes marked [Required(ErrorMessage="My Error Message Here")] and/or [DisplayName("etc")]. The DisplayName attributes work: <%: Html.LabelFor(model => model.Field) %> , and I think the Required attributes are working too, but I don't know how to provide feedback on the form (jQuery UI Dialog...

refresh a portion of HTML page with jquery

Is there a way I could refresh or set to default just a portion of HTML (instead of reloading the whole) page with jquery? For example, I want to reset the following select on some click action. Please help. Many thanks in advance. .... <select id="refresh"> <option value="1" selected>1</option> <option value="2">2</option> <o...

fancybox seems to not working with ajax content

Hi I've got the following code: $(document).ready(function(){ $("a#cakeImages").live("click",function() fancybox({ 'titleShow' : false, 'transitionIn' : 'elastic', 'transitionOut' : 'elastic' })) }); and I've got the correct images : <a id="cakeImages" href="cakes/2/1.jpg" > <img alt="cakeImages"...