My application is a real-time apps using ajax environment. It is a live picking of schedule. The users want see the available slot in real-time way. such that they can see other ticking schedule. And i'm using ajax to replace the element with the new one.
Example:
$.get(my_url, function(data){ $('#area').innerHTML(data); });
On succ...
I have a bunch of elements (divs) and they represent items. I can delete them by clicking a link and its done through ajax. I had the divs store the value in id however it appears that even though it does work the standard says id names must start with a letter. So i could start it with a letter and remove it when i use ajax or i can sto...
i have a href like this:
<a href="images/prevFeb-1.jpg" name="day-1" onclick="swap(this); return false;">
<img src="images/thumbFeb-1.jpg" width="50" height="50" alt="" title="thumbFeb-1.jpg" />
</a>
when the user clicks on a thumbnail, the images get swap.
i will like to get the href name upon on click.
and i will explode("-",$href...
<asp:TextBox runat="server" ID="TextBox3"/>
<asp:CalendarExtender runat="server" ID="TextBox3_CalendarExtender" TargetControlID="TextBox3"
Enabled="True" PopupPosition="BottomLeft" FirstDayOfWeek="Monday" />
output calendar Format : 2/1/2010
I need : 01.02.2010
like here : ajax calendar
how to setup this ...
I'm trying to perform an AJAX-request in a view, the user gives some input which is sent to the server with AJAX and the function it's supposed to go to is routed with CodeIgniters routes.
This is the view I'm currently standing in while making the request.
http://localhost:8888/companies/list
In my route config I've set this route ...
I'm trying to create a CMS system based on AJAX using Prototype's library. On a page load, I have HTML, page title and additional Javascript for the page returned via JSON, and I update the HTML on the main area. I also have an event listener that listens for certain ID's to be clicked on.
The listener is working,
var TabMenu = {
sel...
Hi All,
I have a jquery code in which I am using get() and calling some remote url/file.
Now I want to know what the best way is to handle errors from this.
What I am doing is:
$(document).ready(function() {
$.ajaxSetup({
error: function(x, e) {
if (x.status == 0) {
alert(' C...
I've recently downloaded Ajax Control Toolkit to use with my ASP.NET web app.
I added the AsyncFileUpload control to a web form but when I try to run the application, I get an error :
"Unknown server tag 'cc1:AsyncFileUpload'."
I have this in the ".aspx" page :
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit...
Hi, I'm new to ASP.NET and I'm trying to get this Ajax ModalPopupExtender working. This is an example i found on the net, but nothing happens when btnpopup is clicked.
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="ModalTestProject._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitio...
I have a simple update panel with a button that refreshes a radio button control, I recently noticed a few days now that some of the pages generated by ASP.Net containing my control the trigger does not firing to perform the post back. I have notice this behavior on my cache pages because if I load the same page not cached the update pan...
I would like to check a database for a change using ajax. However, I do not want to overload the server by constantly checking it every second.
Is there any other way of updating the clients from the server?
Can jquery listen for event server side?
Thanks
...
I have a very simple setup that I can't seem to get working. I have a simple PHP page that just starts a session and is supposed to output the status and the session id in JSON. However, when the ajax call returns, the data is always null. I'm using Firebug, and I can see the ajax function calling my callback.
Here's the PHP page on th...
Hello all, I am looking for a good ajax pagination tutorial that uses jQuery, PHP, and MySQL. The ones that I have come across are not good.
So, if anyone could recommend a good site/tutorial that would be great. thanks.
Edit
Here are some tutorials that were not good.
Site 1
Site 2
Site 3
...
I have page that POSTS AJAX to the server, and often the data will be Unicode.
This works most the time, but it appears that sometimes it's breaking and I'm can't seem to find the answer anywhere. I have been using encodeURI, but I'm not sure that's correct.
Here's a example of the code:
$.ajax({
type: "POST",
url: ...
I have used Ajax calender extender to display date in Date_Box and then numeric up down extenders to chose time...
Here is my code:
<td bgcolor="#969ECD">
<asp:TextBox ID="Date_Box" runat="server" Width="85px"></asp:TextBox>
<br />
<div style="height: 4px"></div...
Is there some way, through either JAWS scripting or HTML, to force JAWS to refresh its virtual screen buffer (normally Ins + Esc)? I'm working on an AJAX-heavy web application that requires JAWS support, but the users don't particularly like the solution "hit Ins+Esc after performing any action to catch possible changes".
...
i'm developing a web application that focus heavily on ajax. the whole application is just on one page except for the threads that are in traditional pages so they can be indexed.
so i have to have very structured JS-codes and i wonder if they are any frameworks out there that are for ajax-based applications.
eg. codeigniter, cakephp a...
I modified asp.net checkboxlist using css. It hides input using display:none and I'm able to click on label and casue postback in Firefox but in IE when i click label in checkbox list it doesn't work. What could be wrong here?
My code:
<div style="padding-left:15px;">
<asp:CheckBoxList ID="cbl" runat="server" AutoPostBack="true"
...
I have tried upgrading from jQuery 1.2.6 to 1.4.1.
A JSON query is now failing with error : "parseerror, invalid label"
I have simplified the code to bare minimum.
var jsonUrl = "process_01.php";
$.ajax({
type: "POST",
url: jsonUrl,
data: "var=myVar",
dataType: "json",
beforeSend: function(msg) {
},
success: fun...
here is my code:
groups: {
phone: "phone1-phone2-phone3"
digits: true
},
errorPlacement: function(error, element) {
if (element.attr("name") == "phone1"
|| element.attr("name") == "phone2" || element.attr("name") == "phone3")
error.insertAfter("#telephone");
else
error.insertAfter(element);
},
debu...