I am calling pages via AJAX in jQuery.
The content of these pages needs to be filtered so that i only grab a certain DIV class. In this instance 'Section1'.
This filtered data needs to replace the same data on the current page in the DIV of the same class.
I currently have this but it is not really working for me:
$("#dialog_select"...
I'm getting an unterminated string literal error in Firebug:
Unterminated string literal
$(".search_info").html("<div id=\'sear...arm_bg.png?1279054090\" style=\"displ\n
This error is being rendered from clicking on a Sort By that toggles 'Most Recent'
I have narrowed it down to the 'about_us' text. By removing certain parts of the t...
I'm working on a DotNetNuke site which has both a staging and production server. The issue right now is with a specific NB_Store menu, but I believe is actually an issue throughout the site.
On production, clicking the edit links in the product admin works fine. It appears that clicking the edit buttons sends an AJAX post request back t...
Hello,
Basically I have a html table with a bunch of data from a database
(MySQL).
I would like to be able to press on a link and have the a given table
row slide down to expand into the editing zone.
I would use Ajax to populate that editing space with the detail data
from the database.
So this would be my table:
<table>
...
ok i've wracked my brain and others to figure out why this is happening in IE and latest version of FF. It works in chrome. i am but a novice developer and recently started using jquery. so i dont even know if i'm going about this correctly.
its a basic form for the most part. jquery ajax post() then get() to update the page. onc...
One of my colleagues is having a problem with an AJAX call to a .NET WebService. The call works under HTTP, but the same call is having a problem under HTTPS. The webservice is written in .NET 4.0 with C# on an IIS 7 server.
The secure website is at https://sql.data-rx.com/grouppharmdrugsearch/. There is an unsecured version at htt...
Will it be smart and queue later requests for submission after earlier requests complete, or will it do something stupid like discard later requests which push it over its maximum number.
Is the answer the same across browsers, or does it vary?
...
I am writing an application which needs "near real-time" updates from a browser app. The other requirement is that it use as little as possible bandwidth (so polling is not an attractive option). My idea is to use an XmlHttpRequest and just let the server wait to respond to that request until there is something to send back. This coul...
I'm having a little problem when trying to target an A tag inside a $('div').fadeOut() callback.
I got this
$('.anchor').click(function() {
$('#div').fadeOut(null, showDiv);
$('#div').fadeIn();
return false;
});
showDiv is an AJAX request which I use $(this) inside it trying to refer to the A tag clicked but I noticed tha...
Possible Duplicate:
jQuery: How to stop AJAX function escaping JSON string used to POST data
I make a jQUERY ajax call to send and save to data.When I send Google's Dog string, I receive Google\'s Dog . What is the reason of this . And what is the best way yo avoid this. I do not want to use stripslashes function because this ...
I have a RadTabStrip that just refuses to show on page load or reload. WHen My page load, the control is supposed to be loaded in the back with data and then displayed on the page. That isn't happening. The process runs through as expected in the server side but the rabtab is not displayed at all.
Below is my code.
If Not IsPostBack...
I've been struggling with this for hours. I'm obviously missing something completely.
I want to get some values out of TinyMCE textboxes, along with IDs. Then post these via ajax to the server.
jQuery 1.4 and JSON library are loaded
var send_data = [];
$('.contact_check').each(function (i, item) {
var this_id = $(it...
I wrote some code that filters a province/state select field after you choose a country:
var cache = {};
function updateProvinceOptions($select, values, initial) {
for(i in values) {
$select.append('<option value="'+values[i][0]+'">'+values[i][1]+'</option>');
}
$select.va...
I want to retrieve the height and width of an image on a server by using an ajax post call to a php file which returns a double pipe delimited string 'width||height'
My javascript is correctly alerting that requested string from the php file so the info is now in my script but i cannot seem to access it outside the $.post function.
Thi...
If I need to keep track of a key or token that identifies a resource being displayed and modified in the browser, what are the some of the programming patterns used?
For example, if I display a list of movies and hookup ajax calls for users to checkout or review those movies, I'm assuming I would embed the identifier in the html which w...
I have a site where users can enter Area Codes into a text field, but not every Area Code is in our database. I'm trying to do a very simple AJAX request to validate that the Area Code they entered is in our database, but for some reason I'm having trouble with it. Here is the stripped down version of the code I was using originally. Thi...
Hi,
Currently I am working on lightbox in which i want to transfer the list present from one lightbox to another. When i clicked on any one element of that list it must go to other lightbox having same url and id parameter as in 1st lightbox list element.
Please help
Thanks
...
I am designing a dashboard for my own application to serve as a control panel for the end user. I am thinking about using the Dropthings framework or DynamicDashboards which cover all of my internal widgets requirements.
But besides including widgets developed internally by me, I would like for the user to be able to include iGoogle wid...
Hello,
I am using the Jquery Datepicker found here.
Does anyone know how I can modify this code to allow for past date selecting.
$('#start-date').bind('dpClosed', function(e, selectedDates) {
var d = selectedDates[0];
if (d) {
d = new Date(d);
$('#end-date').dpSetStartDate(d.addDays(1).asString()).dpSetSelected(d.asStrin...
I have a website, where I am trying to use Ajax to update some stuff on the page without reloading it. However, there is a good chance that many of my users will be using mobile browsers that don't support Javascript so I am trying to design the page with meta refresh tags, that somehow work only for users without Javascript. Is there an...