It seems like IE7 will not actually make ajax requests unless I use
$.ajax({cache:false}).
I really like the $.load method though because of how it combines
selecting the dom node to update, downloading the page, and then
plugging it in. Is there some easy way of forcing IE to make ajax
calls?
I have a page /a that has a line
var aaa = 99;
And I load that page /a into a div on another page. In the other
page, I want access to that variable aaa. I tried this:
$(#adiv).load(/a, function () { console.log(aaa); })
I get an error that aaa is undefined.
What am I doing wrong?
It seems like when I load a page into a div like this, the $
(document).ready code in the loaded page doesn't fire:
$(#mydiv).load(/a);
But when I do this, the $(document).ready on /a does fire.
Is this correct?
I have a list of radio buttons, all with the same name, and each has a
different value.
I want a validator that tests if one is picked. How do I do this?
I'm using a modal dialogs and I love them, but I haven't found a
really elegant way to handle actions in the dialog window that require
changes to the parent page.
Here's an example. I have a monthly calendar page that lists employee
names on the days they are supposed to work. Clicking on an
I have a form with two radio button lists. Each list has the same set
of choices. I want to make sure that something is checked in both
lists and that the value in the first list is not the value in the
second list.
I know I could write my own submit handler to do this, but I'd like to
work
I'm using this validation plugin
http://bassistance.de/jquery-plugins/jquery-plugin-validation/
and it is great.
However, it rejects dates like 07-14-2009 as invalid. Is there some
way to add a list of valid formats?
If not, should I write my own method to match that particlar format?
I have a table with lots of rows, and when I scroll down, I can't see
the row with the column titles.
How can I freeze that row in place so I can still see it as I scroll
down?
On Dec 30, 9:56 pm, donb falconwatc...@comcast.net wrote:
Are your CSS directives declared in the header, or did you put them
within the body of the page (where they may be applied later than you
wish, or may not be at all). Are they in a CSS file that isn't being
loaded? (Use Firefox and
I've got some links that only serve as anchors for javascript, so I
use CSS to hide them like this:
.requiresjavascript
{
display:none;
}
and here's the HTML:
a class=requiresjavascript clearall href=#Clear all/a
a class=requiresjavascript clearall href=#Check all/a
The idea is that for
The front page of jquery.com says the production version is 15kb, but
when I go to the download link, it shows up as 54kb.
Is there something special that I need to do to convert that 54kb file
into 15kb file?
I've got a bunch of form widgets (these are server-side widgets) and a
lot of them depend on some various jQuery javascript tricks.
I would like to be able to do something like this:
$(document).ready(
function () {
set_up_widget_1();
}
);
$(document).ready(
function () {
I'm trying to use the this, and I used a script tag to load, but then
when I tried to use the $(...), it seems to point to something else
entirely.
The jQuery(...) function still works fine.
This is copied from a firebug console:
$(div)
null
jQuery(div)
[div#header, div.bottomleft,
I have a form with a bunch of checkboxes. They all have the same
name and different values. This form posts to a page that does a bunch
a stuff based on the checked checkboxes.
I want to change the form to use AJAX to update a div on the page. I
need help figuring out how to post the form
14 matches
Mail list logo