ajax

I want to load different images to a div, from links

Hiya, very very new to jQuery and surviving on your wonderful tutorials. I'm working on my portfolio website, and have a list of projects that uses jQuery's load function to load descriptions of each project into a separate div when clicked. Within each description is a set of numeric links, say 1-5, which I want to display relevant ima...

How to fire event handlers after AJAX content has loaded in JQuery

I'm trying to use an AJAX request to load some information into a table using JQuery. I can load the content easily but I am having problems adding event handlers to apply style on the loaded content. I am applying a striping widget to the table. However when my AJAX request comes back and my information is appended to the table body it...

What are the steps to create AJAX login in yiiframework?

I just started learning AJAX and Yiiframework. What are the steps to create AJAX login form in Yii? Thank you. ...

reCAPTCHA AJAX API not working consistently in modal dialog box in Safari

Hi all, I'm using reCAPTCHA via its AJAX API to display the captcha in a modal dialog box. I'm using jqModal to display the boxes, and I'm using the AJAX version of reCAPTCHA because the PHP version is already buggy with jqModal (a known bug: http://markmail.org/message/bvip5vyb3czm7ngu). Now, the reCAPTCHA works fine in Firefox. But i...

Asp.net MVC 2: Can Ajax.ActionLink pass a parameter without it going into the url?

I have the following in partial view <%= Ajax.ActionLink("Plunder Again", "Resources", new { controller = "Resource", parent = Model.ToJson() }, new AjaxOptions { UpdateTargetId = Model.ResourceType })%> going to the controller method: public ViewResult Resources(/*ModelResource parent*/) { Debug.Assert(Request.Params...

How to make separate sets of navigation tabs load content to different DIV's independently using Ajax Jquery

Hi Im wondering if any one can help me figure out how to use different sets navigation tabs to load content to different div's independently? For example: a horizontal navigation bar that loads content in a header DIV, and e vertical navigation bar that loads content in a div in the body part of the page ?! Here is the ajax script im u...

Auto Refresh Wordpress Post Div

I would like to autorefresh a certain div with the ID of blue everytime I update a post with that ID. I know the Jquery code looks something like this: var auto_refresh = setInterval( function () { $('#blue').load('load.php').fadeIn("slow"); }, 10000); Instead of loading "load.php" I would just like to reload the updated contents in t...

Calling Linq to SQL method in Web service with jQuery

Hello, I have a test web service called: MySimpleService.svc with a method called:GetUserNamesByInitials. below is the Linq to SQL code: [OperationContract] public static string GetUserNamesByInitials(string initials) { string result = ""; //obtain the data source var testDB = new TestDBDataContext(); ...

ScriptManager loads multiple java scripts in asp.net ? i need them to be all in one as per YSlow guidelines

As per Yahoo's guidelines for performance of web sites , javascripts should be combined in one to avoid extra http request , as i saw in YSlow asp.net loads 3 to 4 scripts one for MicrosoftAjax.js , one for microsoft MicrosoftAjaxForms.js & some other 2 which may tondle postbacks & client side validations , I want these 4 js to be in on...

jQuery, PHP deleting of directory does not work

Hello, I am trying to delete directories using jquery, it does delete and stays on the 1a.php, which executes the code for the delete. What I exactly want is a delete of directory without page refresh, and display a message the directory has been deleted. Please let me know what I am doing wrong here. Thanks in advance Dave Please f...

xajax alternative?

I really love the simplicity of xajax calls from PHP, however xajax project seems dead by now... Is there any nice alternative or equivalent to xajax which is actively in development? ...

Urls for results of Ajax requests

Hi guys I've developed a google maps application witha neat search feature - however I've noticed that I would like to have something like what the facebook guys have done as in having a hardlink to a page that is generated by an ajax query. Example you click on a link in facebook and it appends to the current url and you can copy paste...

WebMethod return values in JSON format

How to return values from Webmethod to the client in JSON format? There are two static int values that i want to return. Do I need to create new object with those 2 properties and return it? The GetStatus() method is called frequently and i don't like the idea of creating a special object each time just for json formatting... [WebMet...

AJAX VS JSon "Cross Domain Built-in Security" Question

It looks like I can't make a call outside the current domain name with "AJAX". But I'm able to call the twitter API (with JSON) in JQuery... aren't both using the XMLHTTP Object? If so (or not), why am I able to call another domain name with JSON (using JQuery) but not with AJAX ? What's the difference between Ajax and JSON anyway? ...

AJAX/DHTML/LIGHT BOXES

here is my js code <script type='text/javascript'> // Browser safe opacity handling function function setOpacity( value ) { document.getElementById("popup").style.opacity = value / 10; document.getElementById("popup").style.filter = 'alpha(opacity=' + value * 10 + ')'; } function fadeInMyPopup() { for( var i = 0 ; i ...

What is exactly is Ajax request? Is it different from Servlet Request?

can anyone tell me. What exactly is Ajax request? Is it different from Servlet Request? ...

How do I grab the value from an html form input box as its being entered?

How do I grab the value from an input box as its being entered? ...

How to speed up loading data from database

Hi! I'm using Webservice which will return the data from the database through datatable and I'll convert the datatable into byte array. In front end, I'll reconvert the bytearray to datatable and used ajaxloader to display it in the form.. It is dynamic loading. So, for each click, it is taking 10 seconds to retreive the data regardless ...

How to implement a Chained menu in PHP?

Hello, I want to have a AJAX Function of implementing a chained menu + a result table. What i need to do: Firstly, the page populate automatically a vertical menu from MySQL and a result table. Secondly, when i click an item in the menu, it displays a submenu in a fixed area in the page and a new result table. Thirdly, when i cli...

JQGrid sorting on client side

I have tree-grid with autoloading nows. The goal is to sort the grid by tree column, right on client side. But each time I click on sort column header, it issues ajax call for sorting – but all I need is on-place sorting using the local data. Do I have incorrect grid parameters or tree doesn't work with client-side sorting on tree colu...