ajax

Loading .aspx into a Panel/UpdatePanel

Hi everyone. I'm currently working on a web-based game using ASP.NET and C#. Previously, I've been just organizing the various game screens(start, hi-score, results, etc) into individual Panels nested within a main UpdatePanel and showing/hiding the appropriate Panels as the game progresses. However, I've severely underestimated the scal...

fancybox ajax post to iframe

Hi all, is it possible using fancybox to post a var to the iframe when opens? I currently have: function fancyBoxLoad(element) { var elementToEdit = $("#" + $(element).attr("class")); var content = encodeURIComponent($(elementToEdit).outerHTML()); $.fancybox( { 'href': 'loadEditor.php' }, { frame...

Data Grid to administer mySQL data (ajax?)

Hi, we have been using TurboDBAdmin (an ajax tool) so users of CMS websites can administer their data (it saves us writing a CRUD application each time) and is very easy to install and users like the Excel type interface however it has several limitations and is not now supported. Tools like this are a bit more modern and have further f...

Facebook Game Function, Optimizin a Call, and Loading Bar

I am attempting to make a Facebook game and trying to replicate a common function that I usually find in many other Facebook game (a call to my website and illusionary image that is a loading bar). I am not familiar with Ajax or Javascript so please bare with me. The function should do the following: User clicks on Button Animated Gi...

solr with jquery ajax?

is it possible to use jquery ajax to send GET variables to Solr and update the content page so the user doesnt have to reload the page? ...

cant query json

Im using jquery to grab some json data, ive stored it in a var called "ajaxResponse". I cant pull data points out of it, im getting ajaxResponse.blah is not defined. typeof is a string. Thought it should be an object. var getData = function (url) { var ajaxResponse = ""; $.ajax({ url: url, type: "post", ...

jQuery ajax defined actions

When I'm loading some content through ajax it returns an jQuery .click event and some elements. But when the ajax content is loaded a couple of times and I click the the button that is bound to the .click event, the action is executed a couple of times. For example the ajax content is: <script type="text/javascript"> $('#click').click(...

Norton 360 is thwarting my javascript -- what should I do?

Hi, One of my clients has Norton 360 installed on his computer, and it's interfering with the javascript in my web pages. Not all JS, just some. Simple things like <a href="page.html" onclick="somefunc(); return false;"> don't work. Also using jQuery to attach on onclick event to an a tag doesn't work either: // doesn't work $(d...

best practice for loading necessary JSON data: jquery's $(document).ready() hook? in the <HEAD> of page?

Hi everyone, I have been reading Yahoo's Best Practices For Speeding Up Your Website, but still have a question that I could really use your help with: The very first page of my web app needs to display a bunch of data that is dependent on the city the user is in. On the first visit, the user is prompted to pick her city and I store ...

When trying to load an external image which does not exist, stop loading the image using a timeout.

Hi, I have got a JSP page which loads images dynamically. Now, I also have some "input" elements on this page such as a checkbox and select menus which are being created using a javascript module (creating a different styling for the input elements). My issue is, one of the images the page is trying to load does not exist on the extern...

Are Cookies set on client sent to Web Server between AJAX requests?

basically i am setting cookie values on the client side (just session cookies, without any expiry date) and i am making ajax requests, now, in my ajax requests, i never get the updated cookie value as i've set in the client using javascript. so, do ajax requests ignore sending updated cookie values from teh client to the server? or what...

problem with dropdownlist updateprogress and updatepanel

The updateprogress doesnt show the gif. If the dropdownlist is inside updatepanel without trigger, it works. Any idea? <asp:DropDownList ID="DropDownList1" runat="server" AutoPostBack="true" onselectedindexchanged="DropDownList1_SelectedIndexChanged"> </asp:DropDownList> <asp:UpdateProgress ID="UpdateProgress1" AssociatedUpd...

does the callback passed to jquery's $.get() execute in a separate thread?

Hi everyone, Very simple question: suppose I have the following js/jquery code doSomething(); $.get(url, callback); doSomethingElse(); I understand that right after the GET request is sent doSomethingElse() starts being executed. Now suppose that the server's reply arrives while doSomethingElse() is executing. What happens? Does ...

changing page url without refreshing page

Is this even possible? Here's the problem: I have a keyword search with this URL(after searching) : http://localhost/thi/search?keyword=key Then I have a slider search which uses the AjaxForm plugin (jquery)... when I perform a slider search, obviously I will still be in the keyword search URL (because the request is sent via ajax) ...

JQuery Ajax Form and Dynamically created form elements not submitting

I'm writing a form that has some text input elements loaded dynamically when a select list is changed. The problem is that when I submit the form those elements are not sent in the data that is posted to the server. What do I need to do to get those dynamically created elements "into" the form to be submitted? The code is something li...

JQuery .click() doesn't work on HTML added to DOM using .after() ?

I have added HTML to my page using the .after() method using HTML that is retrieved from a .GET() 'Ajax' call. I have a button in my retrieved HTML and an event that is set to be triggered when this button is clicked. However the method that handles the .click event is never triggered. When I put the same button into my 'normal' html ho...

Live updates using JQuery?

At the moment, I have a Javascript (JQuery) front-end which periodically makes requests to a seperate, PHP script which returns posts. For the sake of efficiency, however, I'd like to simply add new results to the array, not even looking at existing posts. As it stands, I've attempted to do so with times (i.e. "SELECT * FROM table WHER...

Where to form html when using asp.net mvc and jquery?

I am currently working on some prototypes for a web site I am wanting to create. Part of the web site is going to be pretty heavy with javascript. Right now I am learning the jquery and ASP.Net MVC framework combo. The issue I am having is where I should be forming the html generated for ajax requests. For example on page load I want ...

jQuery POST/AJAX not showing up in IE, works in FF

I've done my homework and scoured SO to no avail. I've even gone from $.post to $.ajax in an effort to clean out everything. There's no cacheing either. $('#send').click(function() { $.ajax({ url: "submit.php?ts="+new Date().getMilliseconds(), cache: false, type: 'POST', dataType: 'text', data: $("#myform")...

using ajax update panel for update progress

can any one guide me in showing the update progress while retreiving large records from a database.while clicking the search in button an aspx page it should close that page and show the update progress in an other aspx page . ...