ajax

making ajax call from static FBML page

I have one FBML static page added as a tag in my facebook page. It is basically a newsletter sign up. I want the page to submit via Ajax to an external website, get the response and show the response message in the facebook tab. IS it possible in this scenario using FBJS. Here is my newsletter html which is used to draw the tab. <di...

how to use Jquery AJAX in Joomla Components?

i m developing site in Joomla, meanwhile i stuck in a problem,please help me in below problem here is my folder structure for component htdocs/Joomla/administrator/component/com_test/test.php,controller.php models/test.php controllers/test.php ...

Jquery Ajax image load works only after alert statement is inserted in $(window).one function

Hello, I have a peculiar problem. I am loading a JSON file that contains the src, width and height of a number of images. I am trying to load them into the smooth script jquery plugin and have the images scroll automatically. The "viewing area" div can fit three images side by side. When I first load the page, only the first image is ...

Load external content using AJAX

Hi all! Is it possible to load an external site's content using jQuery's Ajax rather than an iFrame? This is what I am trying to achieve, but it would seem there might be some cross domain issues with this? $('#result').load('http://www.google.com'); In flash you can put a cross-domain policy file in the root of the site allow certa...

Submit form values to a script without loading a new page

Hey all, I have an issue regarding sending form values to a script. I have a form set up, and upon the user pressing a button I want the values in the form to display on another part of the page. I can easily do this with php or another web scripting language, but all I know is how to do this by sending it to the script in a form of h...

Update Panel Repositioning Screen

Ok so I have an update panel that updates conditionaly, and inside of it, I have 5 times the same control. The problem is this control also has an update panel, that keeps refreshing every 1 second, getting data from a table inside a repeater. Since I'm not that experienced with web developing, the only other solution I thought of was ...

How can pause and play video ?

Hi Actually i am working on IPTV what i want is if i pause any video i must be able to capture the moment at which it is which may be in main TV page and now if click another button it must open a small iframe which contain the same video but resumes from the same instance where it is turned to small iframe. Please suggest some solutio...

Wordpress Ajax blog content

Hi, I am searching a ready Ajax plug-in or to make new one similar to http://benchrismanblog.com/... Can anyone help here with either a wordpress plugin or Ajax/php code to do this. ...

Mootools appending html after an ajax request

Hello, I have an ajax call that looks like this, $('campaignType').addEvent('change', function(){ alert($('campaignType').value); var request = new Request({ method: 'get', url: '/admin/admin_' + $('campaignType').value + '.php', onRequest:function() { alert('Request has been made, please be patient') }, on...

jQuery .post with array of dynamic variables

I've just tried and more or less given up on sending an array to a jQuery post function, which are then layed out as POST variables. I've read a lot of the similar questions on here, but none seems to quite get it. I tried all I could, closes was the following function sendValue(requestArray, requestAction){ $.post("requests.php", { ...

Information popup box

I'm looking for an information popup box like here on this site: Yahoo answers example Here if you hover mouse on question author or answer author usernames small nice popup box will appear, that queries some information with ajax. I need exactly the same thing... I need to display small popup box when the mouse is over the link and ca...

How can I send an object (byteArray) to an AJAX PageMethod via Javascript?

Hey, I need to send a byte array from javascript into a c# page method. The int and string variables work fine, but when I step through the c# code, the "object" which was the byte array is null, even though I checked to see if it had a value in JS. var byteArrayObj = GetBinaryDataFromFile(filePath); var tranAttachmentName =...

Keep file between http requests

Imagine this simple form for uploading a file: <form action="upload" enctype="multipart/form-data"> <input type="text" name="name"/> <input type="file" name="file"/> <input type="submit"/> </form> If there is some error (can't copy file, name is not correct...) submitting the form, it must return to the same page, but the ...

Do I have to declare a4j:queue to use named queues?

Hi, I've been using jsFunctions where I specify a queue name, but haven't been delcaring the a4j:queue's themselves. The queuing functionality seems to be working just fine, but should I be creating the a4j:queue tags? Thanks! ...

How do you handle charitable contributions?

Basically, I'm wondering if any of you have put together a for-profit e-commerce site that has had a charity donation option. We are trying to keep it a separate entity from our inventory and the rest of our books. We are looking for a tool to easily integrate a $1 or custom amount donation into the checkout. We run a single-page AJ...

JQuery not working within AJAX

Hey guys, First time on the forum. Hopefully someone can ease the pain I'm having integration jQuery and AJAX. Before I explain the problem it's probably worth explaining what I'm trying to do as there might be a better solution. I have a page on a test site that will move over to a CMS driven site in a few weeks: http://lts.cheltenham...

I want to refresh a form after posting it back to itself with php or ajax.

My project is a bistro menu, using PHP and MySQL. It prints out a pretty table of menu items, as long as they are in stock. I made addRemove.php to add and remove items from the menu. It creates a button for each item, on or off. Items that are 'on' are in stock and displayed on the menu. When the user clicks a button, it will post the...

tokenizing a metafield.

I am working with a CMS like system, which has a special field defined for use in its forms. This field works similarly to google suggest, executing an sql query behind the scenes and displaying results. The SQL query I am using selects 3 fields from table1, and concatenates them as a result. What I need to do, is split this new metaf...

How can I persist the data from a repeater after postback?

I have a repeater that displays financial data and prices for various stocks. On this page, I also have an "export" button that needs to take the data ~on the screen~ and convert it into a CSV for the user. The problem is, after I databind my list of "Stock" entities: List<Stock> stocks = GetStocks() rptStockList.DataSource = stocks; ...

jQuery.post(), PHP and redirects

THIS PROBLEM IS NOW SOLVED. THANK YOU TO EVERYONE WHO REPLIED. Hello, I am trying to solve a problem that I may have approached from the wrong direction, so maybe someone could suggest a better solution. I am writing a little web app for work, that has a search function. When user submits a search string, form gets posted to a CodeIgn...