ajax

minifying patched javascript files

I'm writing a Rails app and I've partially integrated in this nice little patch to the in line ajax editor: http://inplacericheditor.box.re/ The problem is, on that page I have tinymce, prototype and scriptaculous included. In Firefox at least there's a big lag when all this stuff is loading. I was hoping to fix it by compressing the fi...

JQuery: Open popup after hovering

Hi there, I'm using ASP.NET with C# I need to display a popup panel (doesn't have to be a panel) when i hover over a UI element. The user may click on buttons on the panel which will envoke Ajax calls How can i go about this? Any code samples? ...

jQuery: Using PHP/Ajax, insert record and create JS variable from PHP page

I have jQuery Ajax request that sends data to a PHP page that then insert a record into MySQL. With my current setup, this all works fine. However, as part of the PHP script, i use mysql_insert_id() to retreive the ID of the last record. I need the Ajax Success function to return this ID value as a javascript variable. PHP Code if ($_...

asp.net ajax scriptmanager problem: The control with ID 'SomeControlId' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it (but it does)

asp.net ajax scriptmanager problem: I get a Yellow Screen of Death with: The control with ID 'SomeControlId' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. BUT - there is a scriptmanager on the page, and it does work on the dev box (the error appears only on the live production s...

Updated content is not loading, when working with AJAX.

Hi Friends, i am working with CHARTS. I am using a third party tool to create charts. I am working with Asp.net AJAX, C#. Chart loads properly during page load. The data for the chart will be saved in an xml file and csv file. Later it will be passed to chart applet through a javascript file. When i get a new set of data through new in...

Call JSF action thru jQuery ajax

How to call a JSF action mehtod thru jQuery AJAX? ...

How to Implement Paging through JQuery in PHP?

I am developing a site in which i need the search result should be displayed 10 by 10. For that the result should be displayed through JQuery. Please Help. Any Code snippets or references will be highly appreciated. ...

How to fetch records from mysql database and display 10 results per page using Jquery Pager Plugin. Please Help

I came to know the Jquery Pager Plugin is nice. But in the demo of that plugin they used only some texts to display in the paging. But I need to display the database recordsets results in paging. I need help Any help will be appreciated ...

Handling Json results in ASP.NET MVC with jQuery

I am working on a view containing two forms, handled by separate controller actions which return a string serilaized to Json: return Json(message); The forms are submitted using jQuery, by clicking on a button outside the two forms. The button handler: $('#inviteForm').ajaxSubmit({ success: function(html, status) { ...

howto hide a text input's, browser generated dropdown ist of previous items, with javascript or css

When I generate a text input like this: <input type="text" name="name" /> When I start to type, the browser will display a dropdown list below the text input. This list contains the values I previous used for this text input in this browser. I want to generate my own autocompletion via ajax. How do I tell the browser with either css ...

Ultimate Website Testing String

Hi all. I've been grappling with the fraught area of escaping user (text) input for web pages. The ultimate goal is to have user input displayed and stored exactly as typed in, without breaking anything. To that end I have been using the following test string : '"$%^&()+=-£{}[]/n/<>\@~;|,.?#:!&amp;``&quot;&#39; It seems to work we...

Efficient way to display lots of information in Javascript

I am continually pulling in a list (over 200) entries from a remote server and showing them in a table (many pieces of data per row). The data changes and fluctuates over time. What's the most efficient way in JS to render this to the screen. As the data changes do I simply wipe my DOM and re-render with the new data; do I have a list of...

ajax calendar navigation with jquery

I have next and previous links in the html <a href="/event-sort/calendar/2009/9/sports/">prev</a> <a href="/event-sort/calendar/2009/11/sports/">next</a> When they are clicked, I want the page to make an ajax call to load a php script that will update the calendar's html now when the calendar updates, the arrows have been removed and...

firebug net monitor options

I have an issue where I executing an AJAX request. Instead of seeing the normal POST or GET preceeding the action page url, I see OPTIONS. The data is successfully posted, but there is no response from the action page. What does OPTIONS indicate? ...

jQuery Ajax not working in IE 6/7/8, works in FF/Safari/Chrome

The page in question is http://matthewanderson.cc I'm a javascript newbie working on a WordPress-based portfolio site. I'm using jQuery .load() to fetch content from WordPress posts, and it works in Firefox, Safari and Chrome, but not any of the IEs. The specific Ajax code is here: $(document).ready(function(){ $("a.ajax-load").click(...

jQuery ajax issue

Hi, I've been at this bit of code for a while, but am not sure what I'm doing wrong. Basically I want to create a loop that prints out all items in a cart. If I take the loop out, it prints the item just added, but when I add the loop in, it breaks. I'm not too familiar with jQuery/JSAON, so if anyone could point out where I might be g...

Is there an AJAX Anchor Link?

I want to use the classic anchor link to have a top nav link towards the bottom of the page. Is there an AJAX alternative for this to make it look cleaner and better? ...

Saving data using ajax: sending large text in querystring is good or bad ?

I want to add a comment feature in my ASP.NET website that is similar in stackoverflow.com. Here the entire page is not getting posted, instead ajax is being used i hope.How does the value entered inside the textarea is passed to the server page ? as querystring for an ajax get/post call ? .I believe its not a good idea to do so when th...

It is possible to set size of images in imagearray of javascript?

Hi, It is possible to set height and width of images in imagearray of javascript? imagearray: [ ["http://i26.tinypic.com/11l7ls0.jpg", "", "", "My Text"], ["http://i29.tinypic.com/xp3hns.jpg", "", "", "My Text"], ["http://i30.tinypic.com/531q3n.jpg"], ["http://i31.tinypic.com/119w28m.jpg", "", "", "My Text"] ], H...

How to continue process after responding to ajax request in PHP?

Some operation takes much time, which leads to ajax request to time out, how to I finish responding to the request fisrt, then continue that operation? ...