I'd like to create a simple action link in ASP.Net MVC RC2 using jQuery 1.3.1 - something like this:
<a href="#" onclick="AjaxTest1()">Tester</a>
with the AjaxTest1 function:
function AjaxTest1() {
$.ajax({
url: "Home/Ajax1",
error: function(request, status, error) {
...
I'm running into a problem with axis2 and ajax. I'm getting xml from one of my web services with jQuery's ajax functions, and using this jquery plugin to transform the result xml to html.
Here's an example of the relevant xml that the service returns.
<ns:getPatientsByDoctorResponse>
<ns:return type="com.emolst.jdbc.PatientBean">
...
anyone know a good tutorial of how to make the status bar found in the new facebook? the one on the bottom. looks really cool
i was thinking it was written in either ajax or jquery. but not sure.
...
I'm planning a ASP.NET project for which I'm going to use AJAX. I'm researching all the available technologies for doing so in the .NET world.
I need a solution that is well documented and stable.
The current solutions I've found are:
1. ASP.NET AJAX UpdatePanel
2. ASP.NET AJAX with Web Services + JQuery
3. JQuery + Http Handlers
In the...
I'm seeking a javascript history framework to handle navigation inside a page when the user selects multiple options which change the page behaviour.
There are multiple artefacts on the page that change the data loading of the page and I'd like to store this as a stacked set of behaviour. In a wider sense, I'd like to add this as a tool...
I’m working with the ajax-autocompleter which works great.
My aim is to redirect between an editing function for an existing item, or a creating function for a not-found item.
I insert a specific id to each li, and I can therefore use it for the editing function with an afterUpdateElement option.
But if no results are found, the list i...
Hi all,
I'm coding an italian website where I need to validate some input data with an xhr call.
My code for the ajax request's like this (I'm using JQuery 1.3.2):
$.ajaxSetup({
type: "POST",
timeout: 10000,
contentType: "application/x-www-form-urlencoded; charset=iso-8859-1"
});
$.ajax({
url: "ajaxvalidat...
I have a javascript function which would populate a list of related item in a div when the user types a letter in the ipyt box.I m calling a aspx (C# -codebehind page) page in my ajax call and that aspx page would return the output as a string delimitted by | (pipe symbol) .But my code is breaking if the item of string contains a | symbo...
I imagine a very common scenario is where an entire dynamic page can be cached in such a way that an entire framework/CMS stack can be bypassed, except that some small amounts of information change depending on whether somebody is logged in or not. For example, the menu might change from "login" to "Welcome Somebody!". No there's not way...
I have a web application project and a web service application project. I'm using ASP.Net AJAX and I want to reference a service called Tickets.asmx from the web service project and call it with JavaScript. (I'm referencing it [or trying to] in a ScriptManager on the page)
I've done this before with the web service being part of the asp...
Do I have to do anything special to my controller action method to accept/bind data from a .ajax() call?
Controller Action -
public class TestController : Controller
{
public JsonResult GetTestJsonData(Metadata data)
{
return new JsonResult { Data = data };
}
}
JQuery Call -
<script type="text/javascript">
$(...
I'm developing a website with Ruby on Rails and I have a div with some content. After clicking a link I want that content to get replaced with some other stuff. This works fine with replace_html and rjs.
However, I'd prefer there to be a slight fade/appear (crossfade?) transition between the old and new content. Also the div will be ...
I am using CakePHP for my project, and I am generating XML views so that I can interact with them (CRUD) from an external website. There is authentication required on the CakePHP website.
Essentially, I want to view "http://mycakeapp.com/posts/views/1.xml" from "http://www.example.com"
However, I get this error when using jQuery's aja...
Hello,
I'm trying to determine the most secure method for an ajax based login form to authenticate and set a client side cookie. I've seen things about XSS attacks such as this:
http://stackoverflow.com/questions/27972/are-httponly-cookies-a-viable-option-for-an-ajax-website
and
http://www.codinghorror.com/blog/archives/001167.html
...
Does anyone know of a free Ajax Dial control?
I'm looking for a speedometer, percentage etc control.
I'd expect to find loads of these as they seem to be in fashion at the moment in UI Design but I've yet to find any good looking free ones, and the only commercial one I've found costs $800 for a whole library of controls most of which ...
I want DWR to transparently batch all remote calls that are done in the course of handling the same event.
The reason is that handling an event in Javascript must only take a short time and nothing else can happen during the same time. So if I am going to do many calls, I would like to DWR batch them transparenty. Is that possible? How?...
I am trying to use the following code below. What I want is to get the value of which radio button is selected, sent back to the javascript method. Any variation I try seems to fail.
<html>
<head>
<style type="text/css">
body { background-color: black; color: white; }
</style>
<script type="text/javascript">
fu...
I am trying to create a bookmarklet that, upon clicking, would request some information from the user (a url and a couple other fields in this case) and then send that data to a php page on my server and then display the result.
I would like to do an Ajax call for this so that I don't actually redirect to the new page, just get the data...
I have a rails app I'm trying to set up with sortable lists using the acts_as_list plugin. The position field in the db is getting updated, but when the page is rendered, the order is not considered. I'm looking for some help, I guess.
Here are my models...
class QuestionMembership < ActiveRecord::Base
belongs_to :form
belongs_...
Hi
I am developing a grails application which uses lot of ajax.If the request is ajax call then it should give response(this part is working), however if I type in the URL in the browser it should take me to the home/index page instead of the requested page.Below is the sample gsp code for ajax call.
<g:remoteFunction action="list" con...