ajax

JQuery and Live Table Updates

Hiya i was wondering if anyone can point me in the direction of examples or sample code for a few things regarding table minipulation i'm trying to achive but haven't been able to crack yet. I currently have a table of data being produced that is sorted and displayed using Tablesorter plugin for Jquery. I would like to add these extr...

CodeIgnitor, Jquery and Ajax help

I am currently building a website in codeigniter that is one page site, basically one the user comes to the page, they created with a main menu from that menu they choose which sections of the sites they would like to see, and clicks on the associated links...clicking on these links should display the content in their own accordian menu....

Jquery AJAX not working on IE 7/8

I am trying to debug the reason why my ajax get/post is not working in IE 7/8 Here my code: $.ajax({type: "POST", dataType:'html',url: "/places/set_member/add/",data: "place_id="+place_id , beforeSend: function() {$("<span class='notice'>Saving...</span>").prependTo('body');}, success: fun...

Captcha reloading and animated icon synchronization problem

Dear web developers, I want to create a captcha in my website. I will try to describe how I want to do that. See the code below please: <img src=”captcha_img.png”> <img src=”reload.png”> <a href=”..”>Reload Captcha Image</> What I want to do is, to click on “Reload Captcha Image” link and with JavaScript change the content of the f...

Ajax tabs in Web app

We have the application with tabs interface. Currently each tab is loaded as the separated page. And now we need to rework it in the way that tab content should be loaded via ajax. Unfortunately just load the content is with Ajax not enough. User should be able to add to bookmarks each tab. That is why the entire URL should change on t...

Loading multiple views from codeigniter using jquery

<script type="text/javascript"> $(document).ready(function() { $('a.menuitem').click(function() { var link = $(this), url = link.attr("href"); var newDiv = '<div></div>'; $("#content_pane").append(newDiv); newDiv.load(url); ...

JQGrid url action not firing when using Ajax.BeginForm

Fires the action when I'm using Html.BeginForm but not Ajax.BeginForm. Anyone know why? ...

use ajax 4.0 in mvc to create multiple templates

consider following code i have used ajax 4.0 with MVC framework <script type="text/javascript" src="/scripts/MicrosoftAjax.js"></script> <script type="text/javascript" src="/scripts/MicrosoftAjaxTemplates.js"></script> <div id="divdata" class="sys-template" > <p>Event Title:<asp:TextBox ID="TextBox1" runat="server">{{ title }}</asp:...

Problem while executing ajax

I am trying to do a simple application using Ajax and servlet. But when i was trying to execute the application, it is not working. Please go through the code and let me know what would be the problem? function createRequest() { alert("hai createRequest()"); try { req=new XMLHttpRequest(); } catch(trymicrosoft) { tr...

JQGrid: Pager in inline add form

Hi guyz, I'm trying to add next/prev buttons in the default add in form of a jqgrid. Do you have any idea or example to help me? I could add my own buttons, but I'd like to call the same function as framework to navigate... Thanks in advance. Cyril ...

Ajax Control to filter data in a DropDownList

Hello everyone. I'm making a web application using ASP and AJAX, and I have a DropDownList with some data. I've used a ListSearchExtender to filter data, and it searchs for the first data with the word contained. But what I want is not to go to the first occurence of the data but to really filter the data, I mean, if I have this data in...

asp.net - validation error

im getting this error when i click my radio button, what is the solution for this------ invalid postback or callback argument. Event validation is enabled using in configuration or <%@ Page EnableEventValidation="true" %> in a page. For security purposes, this feature verifies that arguments to postback or callback events originate f...

Not Ajax-related controls in AjaxControlToolkit?

Why AjaxControlToolkit contains controls like DropShadow that are not related to Ajax really? Such controls just make use of JavaScript and does not send or receive any data to/from server? ...

Calling ASP.NET MVC Controller explicitly via AJAX

I know that I can use following piece of code to refresh a div: <%=Ajax.ActionLink( "Update", "Administration", new AjaxOptions { UpdateTargetId = "grid", LoadingElementId = "grid-wait" } ) %> But this creates a link; user will have to click on it to get the view refreshed. How can I make it automatic, i.e., like say if I want the gr...

included plain html form not getting sent

I have included xhtml page where in I have plain html form with get method. I include that page with <ui:include> in parent xhtml. In the parent xhtml I have a dropdown box in which I use the a4j:support -tag. After I choose another item from the dropdownbox, I have an ajax request done that updates the server side variable based on th...

Plotting graph with FLOT using mysql and ajax

I am trying to use flot to plot some data that is pulled from a MySQL db. I am log users login visits and I have a SQL function that will retreive the number of visits per day for a given month, getStats($day). I have read some examples online how to properly do this but for some reason when I try and graph the array data in my javascrip...

Determine whether AJAX is possible?

I've a scenario where a client's internet explorer 6 browser does not allow instantances of activex controls to be created rendering ajax inoperable in jquery. This also pops a warning at the top of the user's browser. Is there anyway to detect that ActiveX is available without generating any warnings for the user? I'd like to use aj...

One page Codeigniter site using jquery? ajax?

Hello, I am hoping for some advice, imagine if you will will you are on a website and you are greeted solely with navigation menu, on click the navigation menu that is situated within the left hand side of the screen you can add various content to the right side of the screen that is loaded in individual ‘divs’ then collapsed in accordi...

jQuery AJAX Load Content Problem

I have a XHTML Strict Website 'main.php' with a normal Header where jQuery and other Scripts are loaded - also there's a menu: <div id="tab"> <ul> <li><a href="#" onclick="content('load/feed.php');"><img src="feed_active.png" width="16" height="16" alt="Feed" /></a></li> <li><a href="#" onclick="content('load/feed2.php');">...

Request Monitoring in Chrome

In Firefox, I use Firebug which allows me to view every http request my ajax calls are making. I've switched over my development to Chrome and am liking it so far. My only complaint, however, is that the developer tools don't seem to allow you to view each ajax request. I've had it happen once where the Resources panel showed multiple...