Hi, i'm trying to build up an edit form with some . The first one use a dataUrl to load some Provinces; selecting a value another must be populatied with an ajax query filtered with a where clause. I have tried using this:
{dataUrl: 'query1.asp',dataEvents:[{type:'change', fn: function(e) {$("#select2").parent().load('query2.asp?variab...
Hello,
i am busy with a chatbox that contains MySQL, AJAX, PHP and Javascript.
Now i want to have this on my iPod Touch/iPhone, so i am building a website with iWebKit.
The following codes i provided is done now; just asking why it does not display the chatbox itself (so not the senders) after more than 2 lines are entered... What code...
I asked,
Can you tell me why my searches are working ok in IE8 but get stuck with safari and chrome?
www.netivot.biz
The ajax code is at www.netivot.biz/js/Ajax.js
It works with some xml and xslt files
then jitter suggested to preplace my code with :
function getAjaxObject() {
var xmlHttp = null;
try {
...
I want to show loading gif while I fetch my actual content from the server. I know how to get this done if it was just that. The problem I am facing is that I want to show this loading gif as a modal box. Can some one help ?
Edited: Here is what I am doing in my code
$('#'+buttonId).click(function(){
// Put an animated GIF image ...
I am using ASP.NET 4.0 new AJAX template framework, I bind a dataview using data coming from a JSON formatted web service.
I would like to call the onClientClick method of my LinkButton while passing the bound value, here is my code snippet:
<asp:LinkButton onClientClick="GetCategoryDetails({{CategoryId}})" ID="lnkCategory" runat="...
I'm trying to implement a carousel function that's ajax driven. In other words, fetching new "slides" through the controller". I'm using glider.js (with prototype).
My RJS file needs to load the new element into the DOM, and then Glider is called.
My simplified RJS looks like this:
page.insert_html :bottom, "content", :partial => 'pos...
I'm working on an ASP.Net custom control. In my control I have a FileUpload control, inside a MultiView, inside an AJAX UpdatePanel.
I've added the submit button to the post back triggers of the update panel. (This is the standard fix for getting a FileUpload to work within an UpdatePanel).
On the first submit the FileUpload does not u...
Hi,
This is the first time ever I'm using AJAX, and I want to do the following on an otherwise static page www.xyz.org/some_site.html:
Send a GET request to another url "www.xyz.org/testscript"
if response has either status code != 200 or content != 'ok': do nothing
else: include sth on the website (i.e. set style="display:block" on a...
how can I read the text in the file from remote machine(from IIS6.0 Virtual directory) either using Javascript or Ajax and copy into client machine 'TEMP/specified' Folder
...
I need certain scripts to refire after an AJAX load. How could I accomplish this?
...
I would like to add a Javascript at the end of some ajax content,
It works fine on firefox but internet explorer print the script without running it.
<script type="text/javascript">
$.tablesorter.addParser({
id: 'title',
is: function(s)
{
return false;
},
format: function(s)
{
s= s....
After assigning this: window.onload = initfunction;
I want to append the AJAX cross domain script to the header:
function initfunction() {
var dh = document.getElementsByTagName('head')[0];
var script = null;
script = document.createElement('script');
script.setAttribute('src', 'http://whatever.com/cgi-bin/ACD/ACD.js?'+location.hr...
When a logged user click the signout link I'd like to call the logout action without refresh the page or redirect. Any helps? Thanks!
...
Hi Guys,,
I have an Ajax page where a chart and a graph are displayed on the page, say 50% of the page is updated. When the next request is sent off the chart and graph are redrawn and I am unable to find a way to make this look professional, especially on slower computers.
I am using Fusion Charts for the chart, Ajax and jQuery.
Any...
Ok, I'm stumped. Basically, this script works fine in FF, but not in IE (6,7 or 8) - in which it returns an "Object doesn't support this property or method" error. Any ideas?:
function portfolioAjaxLoader(page){
$("div#portfolio_container").load("include/DCK_portfolio_gallery.inc.php?cat=" + page);
}
$(document).ready(function(){
$(...
Hello,
I've read quite a few online AJAX tutorials, where they show you how to set it up, then send a request to a server side script via either GET or PUT...My question is how do I stop unwanted people/applications from accessing that same script?
For Example,
Say i had a server side script that added some type of object (say a music ...
I'm collecting latitude and longitude from Mobile Safari with some JavaScript code. After collecting the information from the browser, I want to update the location with an AJAX request. Is there a helper or otherwise simple way to do this with Rails/Prototype or will I have to do an XMLHttpRequest? I only see link_to_remote, periodicall...
I'm writing an app that uses ajax to retrieve data from a mysql db using php. Because of the nature of the app, the user clicks an href link that has an "onclick" event used to call the javascript/ajax. I'm retrieving the data from mysql, then calling a separate php function which creates a small html table with the necessary data in i...
Hi there. I'm on my way to creating a greasemonkey script for gmail.
The first thing I want to play with is reducing the size of 'main' pane. This is where either the list of emails are or where the email message is being displayed.
Using Firebug, I can find two separate instances of a "<div class="nH nn" style="width: 1013px;">" tag....
Something is going wrong with my jquery ajax-ing. When in a similar situation before I have been able to open the site in firebug and watch the ajax request in the in the console, seeing exactly what was sent and received.
In my current project for some reason I see the request flash across firebug's console but it disappears almost im...