ajax

checking user status (active, idle) on a web page

hello! i am checking on the user status - whether he is active or idle - in a web page (in a pop up window). in case he is idle for more than 30 minutes, the window will automatically close and reset some flags in the database. i set cookies containing the time-in (the time he opens the pop-up window) and check it against the current ti...

Server Or Database

Hi guys I need your opinion.I am in a situation where I need to use ajax so I need to query users info every 30 seconds.....which is more efficient query the server first(say check a text file first) and if there is an update for a user info, do a full blown database query or just directly query the database directly every 30 seconds.Ple...

In php: dropdownlist values depend on another drop down list in the same form

Hi, How can I realize this solution? dropdownlist values depend on another dropdownlist in the same form e.g. :a form contains dropdownlist(car_name),dropdownlist (models of this car),button(search) notice that : 1)car_model values depend on car_name value 2)car_name dropdownlist and car_model dropdownlist in the same form thanks Best R...

how can i get data from other browser without refreshing browser in cakephp??

i am new to cakephp, and also new to ajax. the function i trying to do is basically like this: i am in a add page, which let me select few customer on that page. but i wanted to set 1 more link for user, which let user click customer immediately on the add page, and the new data will show in my add page without refresh, so that the user...

asp.net ajax clinety side Sys class not working in content page.

I have a masterpage on which script manager has been placed . In my content page Sys.Application_load and all other client side classes does not work , geeting object expected javascript error. Same thing works in another content page with another master page in same project. All dlls & settings in web.config are perfect & working f...

calling a variable inside html

I am trying to make a script that when you type in a hex value and press submit itchanges the text color to the color inputted. It seems the problem is the way i am calling the variable "userInput" inside the variable new html Any Ideas? <script type="text/javascript"> function changeText3(){ var userInput = document.getElementB...

'XMLHTTPRequest is Undefined' IE6

Hai guys, I got the error 'XMLHTTPRequest is Undefined' in IE6 when i load data via ajax to another drop down in php.... ...

AJAX (prototype/java) getting partial status updates during execution

This partially mimics AJAX (prototype/php) getting partial status updates during script execution, however I'm working with JSP pages and servlets. What I want to do is start an action when the user clicks a button and then present updates on the progress of this action. The action can take anywhere from 1 to 10 minutes to complete, so I...

ideas to display and edit source code in an AJAX application

i'm looking for ways to display and edit source code (ala google docs) in a web application (AJAX). any ideas? ...

ASP.NET AJAX PageRequestManager EndRequestHandler pass argument from server

I'm wondering if there is a way to modify the arguments retrieved by the EndRequestHandler to include a boolean flag (set on the server side during a partial update). ...

jQuery Address Plugin - Not allowing loading ajax?

I am trying to test the jQuery Address Plugin and it seems to not allow ajax to work in the change function. I am using: $.address.change(function(event) { $('#content').load(event.value+' #content'); $.address.title(event.value); }); $('a').click(function() { $.address.value($(this).attr('href')); }); While I can use ev...

Can I be an expert on jQuery without knowing a lot about Javascript?

I'm a backend programmer and I wonder about one thing. I know just a little about Javascript. I know the basics when I look at some Javascript code, I understand what code is trying to do. But I have never used it to create animations. Then I heard about jQuery. Can I be an expert on jQuery without knowing a lot about Javascript? And h...

Making YUI TreeView only expand/collapse using the + / - icons

Hello, The problem I am having is that the default YUI TreeView behavior of expanding/collapsing nodes when a user clicks on them is getting in the way of some custom UI functionality I am implementing. I have been able to reduce this to some degree by subscribing to the "clickEvent" and returning false; however the problem still prese...

how to use word cloud for twitter application.

I am working on a twitter application where i want to show all trend in word cloud. but i don't know how to use word cloud and which api i will use for twitter to do this. I want like thisExample. Please help me for this. ...

Should I just let the user hang?

Hi I am not really sure what to do in this situation. I have some jquery ui 1.7 tabs that are ajax enabled. Now when a tab is clicked it goes to my asp.net mvc controller action method. That then does whatever is needed and return a partial view. Now I don't know why but sometimes my server hangs but then again I am guessing all server...

Ajax request returns a 404 but URL works fine

I'm doing an jQuery ajax call to an XML page in my CakePHP site. For some strange reason CakePHP returns a 404 error when I do an ajax call, yet there is no problem going to the URL directly at http://imgfave.com/gragland/rss. You can see the issue by clicking the link on my test page: http://imgfave.com/ajaxtest The error page says: ...

jQuery AJAX with remote HTML containing JS

I have a page setup that uses jQuery + AJAX to load content into an accordion frame. It works fine for loading straight text/HTML but I now need to load Javascript along with the HTML. To elaborate, I'm using GalleryView to display images in a photo gallery section of the accordion. When I load the HTML file, however, the scripts aren't...

Starting out with rails. Suggestions for SDKs plug-ins etc?

I have 6 years of C# programming experience and I'm looking to broaden my horizons. I'm going to build a simple web app to demonstrate knowledge of Ruby on Rails so I can get my foot in a place that might want a Rails programmer. It's the hot new thing, so I want to be marketable. Anyway, I have been playing around with solr and tomcat ...

How auto updated the database without refresh with ajax?

hi. i'm new here. i just create a code which can read the data from mysql database. But when i add in new data inside databse, my php page cant updated own automatic. I want the page can updated automaticly withour press f5 button and refresh. Can anyone help me solve this? Get any misstake?? <script type="text/javascript"> function...

google opensearch plugin ajax drop down

Hi, I am making an opensearch plugin to be used as a search engine provider in the browser. http://library.curtin.edu.au/services/toolbar/#searchPlugin As there is no way to specify any ajax call in the xml file, How do I make a drop down box populated with search suggestions? Many thanks ...