ajax

I have a svg image working fine in IE but does not work in firefox, safari and chrome

Hi All, I have create an svg image and mapped it in through javascript the image works from a database through an api call using the $.ajax() function, this works fine in internet explorer after clicking yes on the security risk box. For more information on what i am calling for the API call here is the previous post that shows the cal...

Request format is unrecognised for URL unexpectedly ending in /SomeWebServiceWebMethod

Hi All, Issue : On our web server's event viewer, we get few "Request format is unrecognized for URL unexpectedly ending in /SomeWebServiceWebMethod. [e.g. www.xyz.com/services/contactservice/webmethod?parameter1=abc] Scenario : We are exposing a web service web method to display contact phone numbers on our website via javascript meth...

Can any one help me how to use dojo framework of ajax in my my struts2 application

I want to change the content of a select box when the values in another select box changes. Please tell me how to use dojo. How to call the struts 2 action & get the result through ajax. ...

calling other cakephp file in our page ?

Hi, Currently i am working on div based remote page calling method means i have to call another file in my div actually i have 1 buttons as button when i clicked on that it has url for replacing currently opened page by another . I am working on cakephp and in localhost i have simple iframe.html in htdocs and song folder(in cakephp) ...

how to clear the cache data when using ajax?

I am using Ajax to retrieve the data from server as below based on some ID to perform auto suggest function. however when i submit the form and update the database, the auto suggest field suppose should not contain anything for this ID anymore, but it will still retrieve data from its cache. do anyone know how to clear the cache and make...

Updatepanel and jqgrid

can update panel and jqgrid work together? i am using jqgrid and i want to control page refreshing. so i added update panel but its not working. ...

MaskedEditExtender not displaing the data

Ajax MaskedEditExtender is not displaying data when page gets loaded i set the value of TextBox and MaskedEditExtender as shown below : <asp:TextBox ID="txtFromTime" runat="server" Width="60"></asp:TextBox> <asp:MaskedEditExtender ID="mexFromTime" runat="server" TargetControlID="txtFromTime" Mask="99:99:99" MaskT...

jQuery Ajax, overwrite onreadystatechange handler

Hi Folks, I'm recently fooling around with some ajax polling techniques. However, it seems like I can't overwrite the onreadystatechange handler from a XMLHttpRequest object in FireFox (3.6.7). On tracking the problem why FF throws an exception when trying to access onreadystatechange, I realized it depends whether the send() method wa...

facebook like Notificaton system in mvc2.net

hi everyone, i m developing an application in asp.net 3.5 using mvc2. i want to implement facebook like notification system based on server push or comet. i have no idea where and what to start with. i have read about Pokein but don't know how to integrate it with mvc. any suggestions are held highly thanks Adeel ...

Why is this jQuery ajax failing?

I'm trying to do some really basic AJAX using PHP & jQuery, but for some reason when I enter text into the input field and click the button I'm always getting null data back. What am I doing wrong? WebService.php: <?php $return['ReturnString'] = $_POST['SearchString']; for ($i = 1; $i < 100; $i++) { $return['ReturnS...

Having multiple buttons in a page

Hi, I am having many submit buttons one for each row in a table. Whenever I click on that button, an Ajax call should be triggered. Right now I am wrapping each button inside a form tag. Is this a good approach? If not, what is a better way to do this. Moreover, I will be replacing the button eventually by an image. Please advise on ...

ASP.NET with AJAX/JQUERY (Mini Shoutbox)

Hi folks, I have a commenting system which is working well. I need to create an admin panel but for the time being I just want to have an asp.net page which auto loads every (n) seconds and shows me the latest posts from the post table. Its very simple (in concept). Anyone with some good links/pointers? ...

How to persist data about what page you are on in Rails app

This will probably be easiest if I explain what I'm trying to do. I have three actions in my Rails app controller, each rendering a different page. The page-render is done with a single partial which uses variables that were set in the controller action code. For example, each page has a list on it, but on one page the list is sortabl...

How to make an asp:panel render as a div via .RenderConrol

tl:dr version: Is there a way to get the panels to render as divs when rendered by RenderControl? Background: I am working on an asp.net 1.1 site, and I am trying to render a control containing panels to a string so I can pass it back to the page as JSON and refresh part of the page. I am rendering the control thusly: StringWriter t...

how can i interset a post event from an iframe to show loading msg with .net update panel ajax controll?

I have a page which has an iframe that calls a page I cant modify its content because its an external link, that page does a post to mine and i want to intersect that event and treat it with an ajax update panel on asp.net 3.5 ...

using ajax to call a url

Hello, I have a php script on my site (users_online.php) that shows how many people are connected to my server whenever the script is executed and I would like to display and update this information on my front page using javascript / ajax without refreshing the page is this possible ? Thanks, Kelly ...

jquery abort() ajax request before sending another

Hello, Based on: http://stackoverflow.com/questions/446594/kill-ajax-requests-using-javascript-using-jquery... In inventory_search() - before the ajax request is made, how can I check for any current requests and abort() them before making a new request? Or... Is there a better way to do this? <script type="text/javascript"> $(fu...

jQuery abandon all outstanding AJAX requests

Is there any easy way to abandon all outstanding jQuery AJAX requests? My application is capable of pulling off a lot of simultaneous requests, so race becomes problematic. I've put in hackish solutions (namely, putting in a flag that is checked upon request completion), but it would be much nicer to get a global stop all outstanding req...

Facebook ajax video upload, can't get response

I am trying to implement an ajax upload for videos to facebook. I don't want to upload the video to my sever, then upload to facebook. I have the video uploading working via an iframe that is the target of my form. However, I can not get the result of what comes back from facebook because the iframe document content is now coming from...

jQuery AJAY live hover event?

hey guys, sorry i'm asking this again, but I can't find a solution. I know there are a few posts out there, but for me nothing seems to work. I'm loading a part of a website with the jquery load() method. I'll apply the following rule to all links inside them: $('.file a').live('click', function(e) { alert('click event firde'); }); ...