ajax

Routes in Global.asax doesn't register

Hei guys i have this JQuery Ajax call from my view and it looks like this: $("select#Colors").change(function() { var color = $("#Colors > option:selected").attr("value"); $.ajax({ type: "GET", contentType: "application/json; charset=utf-8", url: "FindProducts/" + color, d...

Browser inside of a browser

I am not trying to track clicks or anything like other people - I just want to put a browser within a browser that can go back, forward, refresh, accept user-entered URLs, and store bookmarks. Can flash/silverlight/ajax/whatever do this? If so, how? ...

Adding an AJAX call to this Combobox to read through JSON

I'm having problems adding a XHR request to query JSON to my script, I rarely work with either so it's giving me a lot of problems. I know that I will need to query a JS file, and that I will need to select from matches in an array, but I am completely stumped on how to do it. Something else I need to do is count matches each time I fir...

What is the best jQuery deep linking / history plug-in ?

I am looking to implement deep linking / back button functionality on a web site that uses jQuery and jQuery UI (tabs, dialogs...). I a new to this so I lack the knowledge to evaluate the different offerings in deep. So far, from what I read on the web, I have narrowed my choice down to jQuery BBQ and the Asual address plugin. Is there ...

Disply image with Ajax and php

I want to display a image onclick on a text 'zoomimage' in a 'tlp'.So, please can you help me to make it. The image is already in a folder name 'images', it should be displayed by using ajax. Thank you ...

Enable disable tabs in a tab container

I have a tab container in aspx page and i want to enable disable the last tab in aspx page my tab container is like below <asp:TabContainer runat="server" ID="tabContainer"> <asp:TabPanel runat="server" ID="tabSettings" HeaderText="Settings"> <HeaderTemplate>Settings</HeaderTemplate> <ContentTemplate> <spsp:SlidingParametersSettingsPage...

Ajax slide show and web service

I had Ajax slide show and webservice had images which slideshow will display I did all but no image displayed <webservice> using System; using System.Collections; using System.Linq; using System.Web; using System.Web.Services; using System.Web.Services.Protocols; using System.Xml.Linq; /// <summary> /// Summary description for WebServi...

Simple jQuery ajax stress test script question

I'm trying to create a simple ajax load test script that dynamically creates divs, runs an external php script and return the result to the created div. I'm trying to figure out how to create a for-loop that creates, say 10 divs and runs the php script for all divs. Preferably so that I can specify which script to run. This is the co...

How to Access the Gridview in Static Method?

I want to access my gridview in the static method? I am doing async call from javascript, I need code for this, Please help me [System.Web.Services.WebMethod()] public static void bindGrid(string userinfoId, int row) { GridView gv; gv = (GridView)gvParent.Rows[row - 1].FindControl("gvChild"); gv.DataSource ...

jQuery $.ajax, error handler doesn't work

Hello I noticed that this simple code doesn't work the way it is supposed to work... function test() { $.ajax( { 'url' : 'test/GameConfiguration.json', 'dataType' : 'json', data : { a : 'aaa' }, cache : false, method : 'get', timeout : 10000, //10 secs of timeo...

How can I test if the current request is an ajax request in a Controller?

In some cases I'm sending jQuery.get() requests to an Action Method, and in other cases it's a browser request. Is there any way for me to differentiate between them so I can return different action results accordingly? ...

ajax in webview not send data to server

the ajax in webview works fine if you keep using it,but if you don't do anything and wait for about 10min and try to use ajax to send data to server nothing happens.i checked the server side there is no request sent from the ajax in webview.is it bug of webview or i mess somthing up? the ajax codes i use(the jquey $.ajax with some my ow...

I unable to access dom.

I'm using jquery $.ajax to load my table row data like <table id='row-data'> <tr><td>1001</td></tr> <tr><td>1322</td></tr> <tr><td>1551</td></tr> <tr><td>2341</td></tr> </table> in above code i load all with $.ajax but after load data when i fire any event on then it's not working so how to possible to access these r...

ajax.response size alternative

Hello I seem to hit a Ajax.response limit, around 6K in FF with Prototype1.6. Can I increase it? Or is there a better way to move large amounts of data to the client and make manipulable in Javascript? ...

JQuery UI dialog vs AJAX modalpopup

I want to add modal frame to my web site where i want to place a form that will be submitted when a button is clicked. Which one is better to use? ...

jQuery / Javascript - run AJAX request after X seconds

Hi so I have this code: $('input.myinput').each(function(){ var id = $(this).val(); var myajax = function(){ $.ajax({ url: ajax_url, type: "GET", data: ({ code: id }), beforeSend: function() { }, error: function(request){ }, success: function(data) { aler...

jQuery Ajax facebook like system

Hi, I am trying to create a Facebook i like don't like functionality using jQuery. I am having the following problem. When the ajax call fires up, it brings up the loading animation. When it ends the animation stays there. The only way that it disappears is when I use the same div for loading and for the result. Have a look. The code...

How can I retrieve updated records in real-time? (push notifications?)

Hello, I'm trying to create a ruby on rails ecommerce application, where potential customers will be able to place an order and the store owner will be able to receive the order in real-time. The finalized order will be recorded into the database (at the moment SQLite), and the storeowner will have a browser window open, where the new or...

[jQuery] $.post() as a bookmarklet XSS.

Just curious if anyone can explain to me why I can request a page from a bookmarklet like this one: javascript:var%20s=document.createElement('script');var data=encodeURI(location.href)+encodeURI('\n\n')+(encodeURI(document.getElementsByTagName('body')[0].innerHTML));s.setAttribute('src','http://example.com/remote.php?id=68&amp;act=new&...

Asp.net ajax autocomplete add prefix

I have an Asp.Net Ajax autocomplete TextBox. I wont to add a prefix to test in text box before them posted to the server. Any ideas? ...