So I've set up a pagination system similar to Twitter's where where 20 results are shown and the user can click a link to show the next twenty or all results. The number of results shown can be controlled by a parameter at the end of the URL however, this isn't updated with AJAX so if the user clicks on one of the results and then choose...
I'm using jQuery to make ajax requests. The data is getting to PHP nicely, but the response isn't getting back to javascript properly. Somehow there is a space before the response. I know this because Firebug says so and my code doesn't work because the space is there. When I expect there to be a space it works fine. Any ideas as to what...
Ok so this is super basic. I just got done implementing the collapsible panel using the MS AJAX Toolkit and was wondering if anyone knew where to get the collapse and expand images that they use in their demo?
One would think these images would be distributed with the toolkit...if so - where are they found? Any recommendations for colla...
Our (asp.net) system is part of a larger system. It is launched via this larger system from javascript that does a window.open call to open a new window.
(aside, authentication data etc is passed into our system via an encrypted query string parameter)
When testing with IE7 (unfortunately the organization has standardized on this) the...
This is probably a dumb question, but I have to ask it anyway. I'd like to know if it is at all possible to create a web app that, with the help of a central server, could create direct connections with other users of the same web app. I'm imagining a process similar to UDP hole punching.
I've read about the new WebSockets API in HTML5,...
Hi,
a webservice returns some data to me. The data is actually just raw HTML (so no XML header, or tags around it, but just a piece of html).
<div class="Workorders">
<div id="woo_9142" class="Workorder">
<span class="Workorder">S1005</span>
<span class="Pn">30-2</span>
<span class="Description">Cooling Fa...
I have a page that displays a gridview with some checkboxes and drop-down lists to filter the results. However, the trip to the database to get the data that the gridview binds to can be lengthy.
I tried methods from various examples of in-process "Updating..." messages but they all seem to be for postbacks. Things like animated "Proc...
I have the following form in cakephp:
<div class="quickcontactDisplay">
<?php
echo $form->create('Enquiry',array('action'=>'add','class'=>'quickcontact'));
echo $form->hidden('visitor_id', array('value' => $visitor));
echo $form->input('name');
echo $form->input('emailAddress',array('size' => 30));
echo $form-...
I have the following web method:
<WebMethod()> _
<ScriptMethod(ResponseFormat:=ResponseFormat.Json, UseHttpGet:=True, XmlSerializeString:=True)> _
Public Function GetDictionary() As Dictionary(Of String, String)
Dim d As New Dictionary(Of String, String)
d.Add("key1", "value1")
d.Add("key2", "value2"...
I'm trying to learn jQurey's ajax functions. I've got it working, but jQuery doesn't find elements in the returned HTML DOM. In the same folder as jquery, run this page:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xm...
I love the jQuery plugin architecture, however, I find it frustrating (probably due to a lack of understanding on my part) when I want to retain a reference to the plugin instance to access properties or methods later on in my code.
Edit: I want to clarify that what I am really trying to do is retain a reference to the methods and prope...
Hi-
I have a gridview that is contained in a DIV with position: relative so it scrolls within the DIV and headers don't scroll. Inside the gridview I have ajax hover panels on a column.
The issue is when I have a large number of rows causing the grid to scroll, the hover panels don't stay with their row or are partially hidden under ...
I have a ModalPopup that will contain a gridview and 4 fields to enter items into the gridview itself.
Is it possible to postback to the server and update the gridview while keeping the modal open?
When you submit the fields and the postback occurs the modal closes has anyone done this before? Someone mentioned a solution using jQuery...
I have an existing signup form that submits in the traditional (non-ajax) way. I want to splice in some Javascript so that I can use some of the data from this form to populate other fields in another database. If this insertion takes a significant amount of time (one minute) is the page going to be locked until the AJAX call returns?
...
I am looking for some kind of trick to determine if a user has javascript... I figure I could do it somehow by sending a ajax request at the top of a page, and in that ajax request, set a session variable, and then somehow reload the page, and see of it was set...
Is there any tricks like this around in PHP/AJAX?
...
Hello,
my question is: How can my php script send json type data
and received back into the success or complete function?
I was trying to get this chatfunction to work on my website
Because it diddn't work, I created a minimized portion off the code to check
if it had something to do with the json method.
I only tested if I could get a...
Here is my ajax call:
response = $.ajax({
type: "POST",
url: "/Row/getRowName",
dataType: "json",
data:({ currRow : rowName, offset : 5 }),
error:function(request){alert(request.statusText)},
success:function(result){alert(result)}
}).responseText;
I get I...
Say I called Index() from the HomeController which returns the view Index.aspx, can jquery ajax in javascript on Index.aspx call a method in another controller (ExternalController)?
$.ajax({
type: "POST",
url: "/Home/sayHi",
dataType: "json",
data:({ currRow : centerPost[0], offset : ((-1 ...
I'm hoping someone can help me here. I can't get make a successful ajax call using django, jquery and the jquery form validation plugin. I'm trying to pass a form email address to a view method to see if it exists in db. But server response is 404 on ajax request. In Firebug i can see the request being sent appears to be formatted proper...
Does anyone know how can I make a sleep in javascript before next line been read by the system?
example:
1 var chkResult = Validation();
2 //sleep here for for 10 sec before the next line been read
3
4 document.getElementById('abc').innerHTML = chkResult;
For this example, how can I make the javascript sleep/wait in line 2 fo...