ajax

UpdatePanels in a UserControl Loaded through LoadControl() don't work?

Hi all, I hope you can help as i've been banging my head against the wall for a while. Long story short, I want to dynamically load UserControls with LoadControl which contain their own updatepanels, and when they're on the page, be able to trigger their updates individually via their children. To explain better, see my extremely simpli...

Set delay with javascript / ajax

I want to make a delay when the result comes in the note. I have a form > input the user types his username in the input and I check with AJAX if the username is available or not. If yes a note shows up near the input with the result. Please no jQuery! ...

php and ajax autocomplete with multi-language support ?

hi, i just want to know how to implement autocomplete with multi-language support like Google i mean what do i have to change in the code and where? and is there a free php and ajax autocomplete class that support multi-language? ...

jquery/ajax set charset header

Hi, I am trying to set the charSet in a jquery call the site I am making is for a Lithuanian friend thus has some letters with accents etc. As far as my research so far (2 days worth!!!) has shown, I need to place it in the beforeSend section which I have done as follows: $(document).ready(function(){ $('.content').load('home...

twitter-like marquee fadeing + steamlessly ?

anyone have an idea to make a marquee effect just like twitter ? its steamless ( doenst stop waiting for the loop ends ) + fadeing at the start and the end. thanks. edit ok edit, ive found one semi - steamless here http://jsbin.com/uyawi/3/edit but its still laggy + not really streamless maybe becouse the use of css? ...

jQuery: Is there a menu plugin that does what I'm looking for?

I'm building an AJAX app. I've got several menus, where there is a list of possible options (provided by the server). The user can choose or unchoose any of those values. When the user makes a choice, it is saved to the server. So if the total list is [A, B, C, D], it might look something like this: User has chosen: -A [Delete] -B [Del...

No response from jQuery ajax call

I've been struggling with this for way too long tonight, and I haven't found anything useful when searching for answers. It's probably very simple. I'm trying to load data using the Spotify Metadata API by doing AJAX calls with jQuery. Running this request in a browser works just fine: http://ws.spotify.com/search/1/track?q=foo B...

AJAX.Upload Plugin

I am using the Ajax.Upload plugin (http://valums.com/ajax-upload/). I am trying to use the File Upload with text fields to submit it all to just one backend PHP file. The site mentions 'If you want to pass additional data from textfields use setData method in a onSubmit callback.' How can I set the parameters? Thanks. Also, if there a...

jQuery ajax function not working in Safari (Firefox, Chrome, IE okay)

I'm no javascript wiz, but am a bit puzzled as to how this is working in three major browsers, but not Safari... is there something wrong with this code? Basically I'm just using this in conjunction with a php/mysql callback at the given url to track link clicks. Drupal.behaviors.NodeDownloadCounter = function() { $('a.ndc-link').c...

AJAX is changing the content of file_get_contents

I am using AJAX to load content into a placeholder, the PHP code uses file_get_contents to get the page I want, then gives it back to the AJAX response which puts it into my placeholder. The problem I am having is that the content that is being grabbed is actually being altered, like html tags are being put where they didn't exist.. Here...

Send data to database when click on a link without page refresh

Is there a way to send data to database when click on a link without page refresh? I use php/mysql... ...

Losing most of the page content on second postback

this is very hard to explain and give code based on it. So thank you now if you even try to help I have a form with a update panel. This posts the form and validates it. Returning a errorMessage string of any invalid field such as "Field xyz is a required field, Field abc needs to be a quantity" When I enter incorrect date it posts ba...

How to make two JSF selectOneMenu that depend on each other?

I have two instances of selectOneMenu, one dependent on the other. But my processValueChange in the bean is never invoked. JSP portion: <h:selectOneMenu id="slaPeriod" onchange="submit()" required="true"> <f:selectItems value="#{LoginForm.periodList}"/> <f:valueChangeListener type="form.LoginForm" /> </h:selectOneMenu> I want to ...

AJAX ModalPopup

hi everybody, I have problem, please let me know how to solve this. scenario is like I have created the user control TimeSheet which has a timesheet grid and Add Activity button at the top. On click of Add Activity button a AJAX Modal Popup come up which has a ifram in it which intern display ProjectActivity.aspx page. now AJAX Mod...

How do I use jQuery or Ajax to swap the background image after a form is submitted?

I have a standard html form that uses a background image. I would like to replace the entire form with a confirmation image after the user clicks on the submit button, but I am not savvy enough with jQuery or Ajax to pull this off. You can see the form in the upper left here. Here is the html: <div id="freeQuote"> <form ac...

Copy/append ajax textarea response to another non-ajax textarea

Hello, I have ajax domain lookup script. Look here for DEMO: Here is JS code for Ajax form Textarea1 <script type="text/javascript"> //Specify the time to wait before checking var intervalToCheckForChange = 250; // in milliseconds, 300 = 0.3sec var request; var statusDivJS; var isAvailableDivJS; var domainInput; var domainsAvailabl...

jquery get querystring of loaded page in a div

hi everybody, I have a page with a form page loaded in a div. I'd like to send some data to the loaded page by querystring and read the content in it, is it possible and if yes how? that my example: $("#scheda_sch").load("./schemi/sch_"+schemi[indice]+".html?azione="+azione); I need to read from page sch_...html read the value of q...

Ext JS: AJAX response opens new browser tab

How can I make an AJAX request using Ext JS and have the response (a PDF file) load into a new browser tab (or window)? ...

Viewing HTML response from Ajax call through Chrome Developer tools?

So in my javascript I'm making an ajax call to a service on my website. Whoops, something fails. No problem. Here's what I'd do in Firefox: Open the firebug console Find the failed Ajax call and click the + sign to see more info. The response tab has the raw HTML. Who wants to read all that? I click the HTML tab. Ah, the nicely fo...

PHP frameworks with AJAX scaffolding?

Does someone know of any PHP frameworks which can create scaffoldings with AJAX? ...