ajax

URI and jQuery help

Is it possible o get the URI with javascript or is possible to break apart the href of the link and if so how, I am trying to run some ajax that has hover and click events and the method call for each ajax is the same so I need to be able get the unique ID that is passed in the URI. ...

Help with spring-json using annotated controllers

I've scourged the internet for an example that would use both spring-json and annotated controllers, I'm new to spring so I've had no luck adapting the configuration on spring-json's samples (it uses SimpleController et. al.) Currently I have a controller with 2 mappings, one lists results in html (and works), the other should render js...

ASP.NET Ajax-enabled WCF Service, how can I 'post' instead of 'get'?

Hi All, I'm using a simple ajax-enabled WCF service. I'm creating a string of XML on the client and doing a get (by default). Here is the code. I see the 'WebGet' attribute, but there's no 'WebPost' [OperationContract, WebGet(ResponseFormat = WebMessageFormat.Json)] public string PrepareDoc(string inputXML) { var arg ...

AJAX Error Handlers, in AIR, using jQuery

I am trying to develop an AIR app, and I use $.get in some cases to obtain necessary data from the server. However, any AJAX request made with jQuery won't trigger my error callbacks. I currently have something very simple (I kept it as simple as possible to make sure it wasn't any of my code that was causing the problem): $.ajaxSetup({...

RJS returns plain javascript without JS tags

Here is code on view in FeesController "show" action template: <div id="payers_controls"> <%= link_to_remote('New payer', :update => "payers_controls", :url => new_payer_url) %> </div> Here is new.rjs - belongs to PayersController "new" action page.replace_...

Endless Scrolling in Tumblr Tumblelogs?

I want to put endless scrolling (either the load more posts button or the scrolled to the bottom of the page type) onto my tumblelog. There's a theme that does this but I don't know how it does it. Any help is appreciated. ...

AJAX Frameworks for C#

I am building a new app in .NET3.5. This app is heavily geared at retreival of information from backend web services, and so I would like to use AJAX to 'nicely' call my C# web services. What's the best way/framework/toolkit to use AJAX in VS2008? ...

PHP and jquery, help passing PHP variable to javascript

Hello, I am trying to allow the users of my website, to upload images and then select one to be a back image, the uploading works fine, but I have a problem in my controller or view I think, i would appreciate it some could help me out, VIEW: <div id="background-select"> <?php $count = 0; if(isset($special)) { foreach ($s...

Possible to do a full screen transparent gradient effect via CSS?

Hi, so I'm wondering if this is possible. I've got this concept where I have a small tilable texture used as a background. Is it set to repeat at both x and y. In my Photoshop design I've just added a shadow layer on top which goes from 100% transparent and down to about 40% transparent in a grayish color. Which together with the back...

Tapestry5.1+seleniumRc Ajax waitForAjax Request

Hi there, Does anyone know how to do waitForAjaxRequest using seleniumRc(like waitForPageToLoad) on tapestry zone? I know there are alternatives like wait for certain element to appear and etc. I am seeking for a proper waitForAjaxRequest, and wish it work on different browsers as well. I had tried browserbot, but no luck. :-( Thank...

Jquery Ajax Validation Not Functioning On Submit

Hi there, am having a little issue with Jquery and wondering if anyone could assist I have a form, which i am validating on blur $('form#setAdminUser :input').blur(function () { var $item = $(this); var $itemWrapper = $(this).parent(); $itemWrapper.find('input').removeClass('errorRow').end() .find('span').remove(); // There are other...

AJAX/Javascript PageMethod.FunctionName, Trying to made this code reusable in ASP.NET

I have implemented AJAX for calling server side function using client side function call i.e Calling server side function using javascript tag by using PageMethod in javascript. I have few question regarding the same implementation. function OnBlurCall() { chk(ControlId, SpanMsgId, FunctionName)// where all these pa...

Querying a MySQL database step by step - Best method?

Hi, I am building a web application that uses PHP 5, MySQL 5 and Javascript with jQuery and AJAX. The application is a quite complicated selection process with several pulldown menus that the user can select from in any order. Each select in a pulldown will give some more selection critera, that will limit the choices in the other pull...

How keep-alive of HTTP can/is play role in AJAX application

"keep-alive" its there in HTTP. Some says it good should be used, but i am unable to get to any conclusion. So please provide your input/answer/views so i can get some ground for this, What it does? Scenario where it should and should not be done? How it can make AJAX application better ? Risks DO's and DONT's if any? Thank you all f...

How would I use jQuery to ajaxify a form?

I'm trying to AJAXIFY a form without using jQuery plugins. What is the process for making this happen. I have my form. What should I set the action to? What should the header script be? Keep in mind that I do not want to use any plugins. I just need a basic algorithm for ajaxifying forms using jquery. ...

Help ajax method calls same function in controller but needs to load different results in different areas

I am a bit stuck with my website, currently on the new section of my site(among others) the user rolls over a thumbnail and gets the articles abstract displayed below it, and then when they click on said thumbnail the article appears on the left of the page, The ajax works by pulling the href from the link that surronds the thumbnail i...

AJAX Drop Down Extender problems updating Textbox with selected index value

Hello, I have a gridview where all rows are editable by default. Most columns require a simple textbox with some formating validators which are not an issue. I do however have 1 column that requires a List of Choices from which the user can select. To do this I am using the Ajax Drop Down Extender to bind to the textbox, so when the t...

Best web based SVG WYSIWYG

I have a site that is in need of a drawing program. My users need to be able to draw floor plans and add text to these images. I'm wondering if anyone has come across a nice SVG WYSIWYG editor. Otherwise I'm going to have to use a Flash or Java app which I'm not fond of. ...

rich:dataTable sorting issue (ajax) + rich:datascroller 'next' control does not go passed page 2

Hello, I am using Richfaces 3.3.0, Facelelts 1.1.14 and Seam 2.1.1. I have an issue my rich:dataTable component and sorting. I noticed a pattern... the very first click on the table on a column header has no effect then all subsequent clicks on any header actually performs previously requested order. I tried many different things, but...

How do I toggle link states when clicked with AJAX and Rails?

In one of my index actions I want to display a link that says either "activate" or "de-activate", depending on whether the record is active or not. When the user clicks on an "activate" or "de-activate" link for a particular record, a call should be made to my update action that updates the record accordingly, and if the link said "acti...