OKay, I'm a bit of a javascript n00b, so forgive me if this seems like an obvious question.
I want to write an application using processing-JS, and I'd like to be able to load it with server-side data. I haven't written the server side yet so I can use anything, but it seems the obvious AJAX thing would be to use JSON to upload the d...
Hello,
I am looking to implement something similar to facebook/gmail chat. I know they use comet & jabber as their technology. But am confused about a couple of things.
Do i really need jabber? Can I instead use a simple mysql table with from, to, message, sent and recd? Are there any inefficiencies in using mysql? Is there any perfor...
I want to use the google geocode via HTTP functionality to translate a city name into longitude and latitude in for my AJAX web application.
However, it appears that no callback function exists for the HTTP geocoder functionality
http://code.google.com/apis/maps/documentation/geocoding/index.html
Is that true, no callback function exi...
This may seem like a no-brainer, but I can't find a way to do this that isn't considered a security issue (other than the obvious ways)...
So, I want to build an add-on for Firefox to use with my team. Basically it will be a status bar icon letting us know if the authentication cookie for our tools site has expired, so we can tell witho...
Consider this code:
new Ajax.Request('?service=example', {
parameters : {tags : 'exceptions'},
onSuccess : this.dataReceived.bind(this)
});
If an exception occurs anywhere in the dataReceived-function when it is called by the Ajax-object, it is swallowed by some exception handling code and the whole process then silently termi...
I currently have links w/ class="ajax" that I want to retrieve the element with id="test" from the file "data.html" in the same directory, and put that content into the id="content" div on my page:
<script>
$(document).ready(function(){
$("a.ajax").click(function(event){
$("#content").load("/data #test");
});
});
</script>
<...
Prototype's Ajax accepts a parameter called 'parameters' with an hash array for parameters (prototype doc) which would automatically be sent as GET or POST vars, but I could not find how to add items to that array using the Rails button_to_remote method.
I could just add the parameters to the URL sent to the method, but that feels hacki...
I'm having a problem with some code I've written. I've had to anonymize it, but I can give the problem. This javascript runs inside an iframe, and is part of an object that gets instantiated. The problem in particular is that I get a repeating error every time that "Type 'Object' Cannot be converted to type 'Function'" in the invoke()...
I am developing an application in which I am displaying products in a grid. In the grid there is a column which have a disable/enable icon and on click of that icon I am firing a request through AJAX to my page manageProduct.aspx for enabling/disabling that particular product.
In my ajax request I am passing productID as parameter, so t...
Hai,
I am using 1 main update panel which contains Search criteria and a Search button. In side this main update panel I am using 4 update panels. These four update panels fetching search results from different 4 SQL quires. Currently I did this. But my question is, currently the page will come to display after fetching all all 4 update...
Hi,
Does anyone have any ideas how to get the Accordion control in the ASP.Net Ajax Control Toolkit to automatically resize so that it fills the DIV element it is contained in, and will react to that element being resized?
Thanks!
Martin
...
I would like to have Ajax form in Rails so i'm using form_remote_tag. The field
i would like to submit is email address - how can i use the Rails validations together
with form_remote_tag?
...
I have a requirement to implement a "simple" web-based form designer that allows "simple" users to create their own web-based forms. I've come across these things in rich clients, such as Outlook and Acrobat, but my requirements are much simpler and must be web-based.
Pretty layout, custom validation, complex fields and types are simpl...
Hi,
I'm wracking my brain on this one.
After a html document loads in a browser,I want to be able to monitor
the page incase any content on it changes for any reason.
Is there a Javascript function with which I can track 'what has
changed' on the webpage .
This should be irrespective of the type of content on the html page
I hav...
I have a table of recent web guest who have registered. One of the columns is a simple "send email" link that I hi-jack with Jquery when it's clicked and fire off an ajax .load to a backend php script that emails the person.
What I can't figure out, is how to simply change the link that was clicked on to something like "Sent!" and it...
I have an idea to implement a deep zoom type interface hosted in a browser for sports training data (speed, distance, heart rate etc.) However, rather than images I actually want to zoom into a hierarchy of information. For example, the initial display would contain a grid of years - hover over 2008, for example, and spin the mouse wheel...
How mature is AJAX support for mobile phones?
Are there mobile versions of some famous AJAX frameworks?
I would live even with a limited support for some ajax lib.
...
I'm using ASP.Net MVC, but this applies to any framework.
I'm making an Ajax call to my server, which most of the time returns plain old HTML, however if there is an error, I'd like it to return a JSON object with a status message (and a few other things). There doesn't appear to be a way for the dataType option in the jQuery call to h...
Hi folks,
I'm trying to access a simple ASP.NET MVC route, but it's erroring with:
The parameters dictionary contains a
null entry for parameter
'isFoo' of non-nullable type
'System.Boolean' for method
'System.Web.Mvc.ActionResult
Transform(Boolean, System.String)' in
.. blah blah blah.
Ie. the boolean property is not ...
When the user clicks a sorting link on my blog, I want to use AJAX to both pull in new posts and update the sorting link section. This would be easy using RJS, but I want to keep my JS unobtrusive and respond to AJAX requests with only data (and no code).
Here's what I'm doing now:
$('a.order_by').livequery('click', function() {
...