ajax

jquery expression in parent window not working properly from popup window - whats wrong?

i am refreshing parent window from popup window,then calling parent window jquery expressions not works. But when i enable the alert call in closePopup function in the popup.php everything works fine. - whats wrong with me? file test1.html <script type="text/javascript" src="jquerymin.js"></script> <script type="text/javascript"> var ...

jQuery ready event not fired on partial page load

Here's the situ: A page which contains html and using the jQuery libray and tabs jQuery UI plugin loads another page when some tab is clicked. The problem is that when the page/html is loaded/rendered (let's simplify this and say it's just doing something like $("#myDiv").load(url);), the ready event is not fired because of course the "...

Java Ajax Framework integration

Hi, I'm looking for a java AJAX framework which I can include into my existing webapp. I've found sweetDev RIA . Are there such other frameworks which I could look into it? ...

sychronous ajax call via jquery returning string

I am making a jquery sychronous call to ajax -- with the return type set to "json" -- however the return data is comming back as a string. Is there something I'm doing wrong, or is there away to convert the string to an object? var ajax_response = $.ajax({url:"ajx_services", async:false, type:"post", data:{method: "getItem", item_no: ...

Ajax, Check for updates, Same_origin_policy

I have this HTML manual that gets installed with my application. This manual gets updated often (3-5 times a week) and I want to warn my users if the manual is out of date. The first thing I thought of was to create a hot-linked image to my webserver that I could use to check the version that they where using and server an 'update' im...

how to auto-update a Django page only when required ?

As described in http://stackoverflow.com/questions/1836861/how-to-update-a-django-page-without-a-page-reload, I send periodic XMLHTTPRequests from the browser to the server using JavaScript to get those pieces of the webpage that changes during the course of my application. However, most of the time, nothing changes; the server replies ...

casting problem of star rating?

I have an application with ajax star rating but when i am assigning value to CurrentRating from datatable then it showing error of "Specified cast is not valid". I am using this code. <asp:TemplateField HeaderText="Rating" SortExpression="CustomerRating"> <ItemTemplate> <asp:Label ID="Label2" run...

Add an Editor control dynamically inside of a repeater using AJAX

I'm looking for a way to add an Editor control (from the ASP.NET AJAX Control Toolkit) to each element of a repeater. It's working fine if I just include it in the ItemTemplate of the repeater, but my problem is that the markup it produces is massive, which slows down the page considerably (even with compression on). I haven't had any ...

how AJAX aplication should behave when Javascript is disabled - common practice?

I’m in the process of developing pretty basic web application, that is mostly so I could learn jQuery/ajax/php on the way (and have some fun). I want to make it as accessible to users as possible so it should work with Javascript disabled, validate to AAA and all that. With JS disabled would be of course without all the bells and whistl...

prototype ajax updater div with different buttons

hello! i'm learning it, but i cant find what's wrong in this! i want the div2 to get data from the form in div1, called formulario. i would like to know which item is selected and which button was clicked. main html file: <script src="utils/Scripts/prototype.js" type="text/javascript"></script> <script type="text/javascript"> function...

When Ajax should be used and when it should not?

I’m planning on using Ajax with my web application, but as I’m novice and don’t have much experience I wonder when ajax should and when should not be used? I plan to code with jQuery/php if it makes any difference. ...

How to assign an Ajax success handler when loading jqmodal dialog ?

Hi, What I need is very simple but, searching the web, I didn't find any example. I am using the jqModal jQuery plugin for displaying content dynamically (via Ajax) in a modal dialog. Once, this modal content is loaded, I need to bind some event on the dialog DOM elements. Therefore, I would like to assign an handler to the "success" A...

jQuery help ...

MAIN WINDOW // some javascript //some html //here ajax-call to load all divs //all divs hidden by default //based on user choice(from select option), show selected group of divs //click any shown div to call corresponding popup POPUP WINDOW //edit contents of that div. //on close i need 1. refresh main window to load all divs 2. sele...

MVC: How to refresh a view

Hi there, In my controller class I return some data to my view and it's all good. Can i do something like this? public ActionResult List() { while (true) { Thread.Sleep(3000); return View("ListStatus", data); } } Of course the above code won't work as when the return st...

Open source software which allows user to draw ER/flow diagrams for my web application

we are developing a web application which allows a user to draw diagrams(flow/ER diagrams) and we need the representation of that diagram in some XML or other formats. How should we acheive this ?? is there any open source software or jQuery plugin or anyother server side software?? ...

autocomplete code in C#

i have area list in alphabet wise, i want to display it when i enter first letter in my textbox. Autocomplete code in C# ...

Best open-source javascript tree?

Could you propose open source, but commercial-friendly licensed (non-GPL) Javascript trees? Please take into account that I need it for an existing Web application, so I am not sure whether other tools such as GWT or Echo would be appropriate. I have already checked: Dojo Tree jQuery.Dynatree.js (JQuery) JSTree (JQuery) Mif.Tree (Moo...

ASP.NET WebService: Authentication failed. ExceptionType":"System.InvalidOperationException"

Hi , I have got a textbox and Ajax autocompleteextender in my web page.I have no problem at local Dev Machine.When i upload this page to remote host getting "Authentication failed. ExceptionType":"System.InvalidOperationException" this error. Here is my codes ; <form id="form1" runat="server"> <asp:ScriptManager ID="ScriptManager1"...

How do I load content in JQuery Accordion via AJAX

I have a jquery accordion that loads a lot of data. This accordion is generated by querying a database. My question - is there a way to not load the content until a specific element of the accordion has been clicked? Basically, I'd like to replicate the functionality of the jquery tab ajax content load to the accordion. ...

Validating Problem - Doesn't work in IE

I'm using following Code to add status-messages via PHP & Javascript (Ajax): $(document).ready(function(){ $("form#status_form").submit(function(){ var s_autor = $('#s_autor').attr('value'); var s_status = $('#s_status').attr('value'); $.ajax({ type: "POST", url: "/request.php", data: "s_autor="+ s_a...