ajax

Ajax/PHP contact form not able to send mail

The funny thing is it did work for one evening. I contacted my host, and they are saying there's no reason it should not be working. I have also attempted to test it in Firebug, but it seemed to be sending. And I specifically put the email address (hosted in my domain) on my email safe list, so that is not the culprit either. Would anyo...

How to add/change param value to url using jquery

Hi, I am trying to add two parameters to the url (in the address bar). Basically a user click this link from a different location <a href="player.php">open player</a> I need to automatically load the the latest show from that list of shows displayed, the show is shown every day so i do not know the episode number. the address bar nee...

Classic post request vs ajax request

I have a table with some items. I select one and when i click a button i want to send its id in the server side and based on that id to create some excel file. To send the id from the client should i use a classic post(create a form, assign to id a hidden, submit it and destroy it) or should i use $.post from jquery(or any other ajax) Wh...

Preffered site for AJAX training?

I want to learn AJAX from the scratch, can anyone recommend some portal to study from. I know there are a lot of site which provides AJAX training, just wanna know which would be good to start from the scratch. ...

Web based chat in asp.net , using ajax timers , will it perform for large number of users

Hi as all we know that we can create very simple chat using ajax timer & web service , it runs well for few users . i want to leaverage same idea for site where 5000+ users will be there in chat room , messages are stored in queue hold in memory * dispatched as user request that is through java script timers calling page method or ser...

How can I write a real time stats system? in ajax and php

I trying to make a realtime stats bar. And I think of using the Long Polling concept. But when a request is send to php. I need a way of testing if the stats are updated. Now I can just make a loop with a database query, and test it. But that just doesn't seem right to me :) Is there a more inexpensive method of testing the database f...

Access ASP.NET control from static [WebMethod] (JS ajax call)

Hello! Guys, I need some help. I have a ASP.NET WebSite and a custom control (lets call it myControl) on it. I need to call a method on this control with AJAX. I'm posting ajax call from JavaScript (jQuery) to C# WebMethod. This works fine, but I can't get to myControl in a static WebMethod. Any ideas how to solve this problem? Short v...

jQuery dynamic qtip shows div, but gets slower and slower with every mouseover

Hello, I use jQuery qTip plugin to show divs for a mouseover link/img. I have wrote 2 options to use, but both are causing troubles. V1: the first version shows the tooltip, only the second time I move my mouse over the link. After repeating my mouse over the link the script seems to get slower and slower and after 6/7 times my browser...

Access MongoDB directly via JavaScript

Hi, is there any possibility to access and retrieve data from MongoDB directly over JavaScript form browser without backend processing? ...

ajax on javascript created elements

hi, is it possible that javascript doesnt apply to elements created trough an ajax request? practically i have a tree of elements like parents and children with a dept of more levels. i have the root elements on the index page and on click i can retrive the children trough this request: var get_children = function() { pid = $(this).a...

Transfer values from one selection box to another

I need to populate the first box with the items from a db table. Users would choose from the first box, and either drag value(items) to the second for selection, or would select items, and then click a button to move them over to the 2nd box. After that I need to update the db with the selected values/items. ...

Ajax AsyncFileUpload.FileBytes returns null

I have a file upload page with an AsyncFileUpload control. When the user browses to the file the upload control pulls the file into memory. I then have an Upload button which fires the following code to save the file to a database. I am finding that if files are over about 500KB then the FileBytes property of the control simply returns ...

What is the correct way to register javascript for dynamic user controls in AJAX.NET update panel?

Hi all! I've been googling this for days. Found a few threads about similar issues, all without any meaningful answers... Maybe someone here can enlighten me. I'm developing an AJAX.NET application in VS2005 (.NET 2.0 with AJAX extensions). There's just one page that has a navigation panel and a content panel. Basically, both panels ar...

Javascript function in response to JQuery AJAX post fails in Rails...

I have finally got a JQuery lightbox solution to work in IE and with AJAX form posts with one exception. Here's what I'm trying to do: User clicks checkboxes to select users to send message to. (index.haml) User clicks submit, which triggers an AJAX post (invites_controller.rb) respond_to js opens a hidden div, generated from a partia...

AJAX: using an HTML select to add/remove/create new items

I've seen this type of UI element before in a few places, and I'm wondering what it's called and if there is a plugin for it in Rails. It's basically a compact way to let people add/remove/create new of something, commonly tags or labels. I could write it from scratch but would rather not if it's already created. The pull down might h...

jQuery Form Input Suggestion

Hello, I'm designing a web app, and need a way to pull strings out of a MySQL database and display them as drop down suggestions as the user types data in a form. For example if the user has entered: "stac" the app should search the DB and provide suggestions like: "stack" "stackoverflow". I'm looking for something simalar to how a l...

A good alternative to GWT for Clojure

I am writing a webapp in Clojure. I almost want to use Google Web Toolkit for the frontend -- since I can just write Clojure/Java code, and have the library automatically generate the Javascript/AJAX. However, for some reason, GWT does not sem to be used much in the real world. Is there something that is similarly tied into Java (like...

How can i include the clicked element's id in an ajax call?

I'm trying to bring over the IDs of the input elements "submit" and "skip" and do some logic based on which button was pushed. It doesn't appear to be coming over in the Request object. How can I do this??? <div id="modal"> <% using (Ajax.BeginForm("Promo", new AjaxOptions { UpdateTargetId = "modal" })) { %> <div id="mo...

Binding, selecting and looping through XML data with jQuery

I have an XML document thus: <tab id="1"> <name>Individual</name> <coverLevel> <level id="1"> <month>20</month> <week>5</week> </level> <level id="2"> <month>40</month> <week>10</week> </level> <level id="3"> <month>80</mon...

jquery ajax loader

I have script like this : $("#addk").bind("click", function(event){ //alert("here!"); $("#loader-overlay").show(); $.ajax({ 'async':"False", 'type': "POST", 'url': "http://url/feedback/", 'data': $("#form").serialize(), 'success': function(msg){ ...