Hi,
I have a simple form with some text inputs and a file input. I do not send it directly with a post, but I read each value of the text inputs with jQuery, compose a $.post request and send it to the server.
How can I do the same with a file <input type = "file" />? I mean, sending it via ajax to a ASP.NET MVC page?
Thanks in advanc...
Something that is similar to the Cover Flow in iTunes.
I can use Adobe Flash, Flex, or pure html/javascript.
HOWEVER, I need a pointed to production ready code. I've looked at plenty of examples in both Flex and HTML that aren't ready for prime time. No demo code needed.
Here's my requirements for production ready:
1) Memory leaks...
Hey folks,
I'm new here so please go easy on me. This is somewhat of a confusing situation. :)
I'm working on a search input in which a user enters a name of another user (or part of a name) in a search text box and then a list of users matching that search string is returned. The problem is that it is a bit slow when there are tens...
Hi people,
Another Internet Explorer issue! The fun never ends does it...
This one is related to AJAX and IE. I'm using JQuery to help build a function, that pulls in new HTML content using a PHP page, pre-loads it, and then switches the content over with the old content. Here is my code below:
function showcase() {
document.getElem...
Hello
I have an HTML document, with the jquery code
$(function(){
[...]
$("#newNotice").click(function(){
$("#properties").load("testDiagramm.html #NoticeForm");
return false;
});
function showFormValues(){
var s = $("form").serialize();
[... Do things ...]
}
$("input, texta...
I want to store key/value pairs in URI's after the hash for use on the client side like so:
http://www.foo.com/index.html#foo=bar&baz=quux
Is there a pre-existing solution that already does this or should I roll my own? I'm already using JQuery so a JQuery solution would be particularly welcome.
My original idea was to use a reg...
I have a unique situation where I'm building a site that will call data via AJAX and load it into "containers" (basically just divs styled and arranged according to elements retrieved from the AJAX callback).
I'm not sure how many of these unique container types will be created (styled and rendered) when all is said and done, so I'm lo...
I think about AJAX in this way:
Model: The server-side where the data is stored and exposed through webservices. In a way this is a model-view-controller within the larger model-view-controller (model = data, view = XML or some other parsable data structure, controller = server-side code that manipulates the data).
View: XHTML/DOM
Con...
is it possible to be able to do without a view for a cakephp controller function? i am trying to have my server return a datatype that is not a string - but an array
my controller function :
function test() {
$this->layout = 'plain';
$task['Numbers']['uno'] = 'mooo';
$task['Numbers']['dos'] = 'says the cow';
...
I'm using Asp.Net-Mvc, I have this method in my controller:
[AcceptVerbs(HttpVerbs.Post)]
public ActionResult LinkAccount(string site, object id)
{
return this.Json(id);
}
Here's the ajax method that calls it:
$.post("/Account/LinkAccount", { site: "Facebook",
id: FB.Faceboo...
I have OFC2 chart in my page and when user selectes choice, then it will make another request to server with parameters and OFC2 should load new data from server, but IE won't load new data, but it shos old data instead. It works well in other browsers, but not in IE. What could be the problem here, and how can I solve it?
...
Hi All,
I am using Ajax with ModelGlue in a ColdFusion Application. I want to make an Ajax call to return a value. I do not want to render any view. I just want a database interaction and bring back a value.
My Ajax call:
new Ajax.Request(root+'test.testFunction',{
method: 'post',
parameters: {param1:paramval},
onSuccess: fu...
**UPDATED**
I have an Asp.Net page with a list of options accompanied by a checkbox in a ListView control. I have applied Paging using the paging control. However i want to maintain the status of the checkboxes across the various paged pages of the ListView. I have done this with the following code
private List<int> IDs
{
g...
I've been banging my head against the wall with the following issue:
My mock-up site works as intenden in Firefox:
[http://www.plasus.com/test/work/work/Default.aspx][1]
In all other browsers, the collapsible panels and all other AJAX ControlKit stuff is immediately visible to the user, which is not at all intended.
What could possi...
In order to clean up my code i want to use sub-plugins within my actual jQuery plugin, but actually there is nothing happening. thx in advance
As an easy example, please take a look at the following code:
(function($){
$.fn.funct = function() {
// so far it seems to run the code...
console.log('funct is running...');
...
How to use Ajax in ASP.NET for Email ID validation.
...
I've been tasked to migrate a web application to a more 'modern feeling' AJAX web 2.0 deal. The application as is currently uses PHP to pull data from the database, present the user with forms, and then update the database based on those form submissions. Frames are used to have a persistent main navigation menu, and a content area where...
I'm writing a small app that will be used to monitor the status of a few websites, mainly just to report which websites are online and which websites are offline.
I currently have this code as the onreadystatechange function:
if(xmlhttp.readyState == 4) {
if (xmlhttp.status == 200) {
element(id).innerHTML = "Online";
}
else {
el...
Possible Duplicate:
Stack Overflow / reddit voting system in php
How do voting systems, like the one here at SO, work? I would like to implement a voting system on my web page (coded in php), but dont want to have to force the user to post a form to vote and update the database. I would like it so when a user clicks a thumbs up,...
Suppose:
You have a website http://www.example.com that redirects to a project on Google App Engine (i.e. example.appspot.com);
you want communications to pass between the user over SSL (i.e. https://example.appspot.com); and
You want the domain to be shown to the user to be *://www.example.com (i.e. not https://example.appspot.com).
...