Thanks Jorn.
You've answered the question here and over at cfjedi.
On Feb 16, 4:12 am, Jörn Zaefferer
wrote:
> There are two variations of the required method that should do the
> trick:http://docs.jquery.com/Plugins/Validation/Methods/required
>
> Jörn
>
> On Mon, Feb 16, 2009 at 1:00 PM,Loo
$("ul").each(function() {
var ulla = jQuery(this).html();
//ulla is a 'private' variable here, it's only available inside this
function. that's why it's undefined.
});
This should work:
jQuery(function($){
var items = $('#la ul').remove().find('li');
$("#la dl").empty().append( items );
Basically it's going to be for a glossary. It'll be a food-related one
with a lot of terms related to a particular kind of ethnic food and
there'll be enough terms (and therefore numerous DT/DD pairs) that
breaking it down would be very helpful but at the same time it only
needs to be contained wi
The code in your test page still reads $("div:.postSummary
(odd)").addClass("odd"), not $("div.postSummary:odd").addClass("odd");
On Feb 17, 12:04 am, mark law wrote:
> Thanks MorningZ :), yes that is the one I'm trying to mimic. "odd" is only
> declared in:
>
> $("div.postSummary-teaser:odd").a
hi dave,
thanks for the reply. In fact, it's my fault: i was calling the
command against the wrong selector set. It has to be the context menu
itself, not the element which triggers the context menu. it makes
sense when you know it , but i wish i wouldn't have had to look into
the online example
I've been using Google Talk and thought you might like to try it out.
We can use it to call each other for free over the internet. Here's an
invitation to download Google Talk. Give it a try!
---
Mohd.Tareq wants to stay in bett
Look out for trailing commas in object literals...
{ foo: "bar", that: this, }
^
--Klaus
On 16 Feb., 21:58, "Dean C. Reed" wrote:
> Or is there a common work around?
>
> I spent a few days getting familiar with JQuery and it works perfectly
> in Firefox. I go
I can only guess here, but probably both of you have this issue:
http://docs.jquery.com/UI/Tabs#...my_slider.2C_Google_Map.2C_sIFR_etc._not_work_when_placed_in_a_hidden_.28inactive.29_tab.3F
--Klaus
On 17 Feb., 01:29, Talya wrote:
> Hi There,
>
> Im using the jquery "cycle" plug in with jquery
> Since 'detection' requires javascript, you can't 'detect' if javascript
> is not running.
>
> What I do is have a or with text like "Additional
> features available with javascript enabled." Give it a class with
> display:block and then have javascript change it to display:none.
You should us
Hi,
I want to do the following:
function CheckCurrentDataStream(){
window.setTimeout ("CheckCurrentDataStream()", 2);
$("#statuscss").replaceWith('');
}
The css I'm getting either is empty or it has a style in it changing
the color of a certain link to let people know that there is waiting
d
I posted about this before, but the response didn't help - so I
thought I'd try posting again.
I have a function that's putting together a GET request and sending it
off with $.getScript to retrieve an XML file. When I get the response
back, Javascript throws an exception: missing ; before state
I would love to get to the bottom of all these and figure out cases of
"recommended" and "bad" uses of jquery selector. I came across jquery
a couple months ago and got excited with how easy it is to use this
framework rather than doing getElementFromMyAss all over the page,
typing that long synta
On Feb 17, 2:33 pm, Rick Pasotto wrote:
> On Mon, Feb 16, 2009 at 08:16:49PM -0800, lerxst wrote:
>
> > That's fine and all but the issue is how does one 'detect' those
> > browsers that are incompatible with jQuery without sniffing? The
> > answer is, you don't.
You might get some tips from
Hi,
Yes, the plugin is geared towards UL and OL lists and relies on a LI
selector to work. You have that correct.
Can you give me an example of what you'd like to do with a definition
list (HTML sample and description of what you'd want the end result to
be like)?
Thanks,
Jack
MauiMan2 w
On Mon, Feb 16, 2009 at 08:16:49PM -0800, lerxst wrote:
>
> That's fine and all but the issue is how does one 'detect' those
> browsers that are incompatible with jQuery without sniffing? The
> answer is, you don't.
Since 'detection' requires javascript, you can't 'detect' if javascript
is not
im trying to look into a div and find each instance of a ul in that
div and get all the li elements into a variable then remove the ul's
and append the new ul with li from variable.
here is what i have so far:
Code:
//var ulla = ' ';
jQuery("ul").each(function() {
var ulla = jQuery(this).html();
}
That's fine and all but the issue is how does one 'detect' those
browsers that are incompatible with jQuery without sniffing? The
answer is, you don't. I've scoured every inch of the web looking for
that answer; from object detection to feature detection. Browser
sniffing seems to be the only s
On Feb 17, 10:53 am, roryreiff wrote:
> So far, I have adapted this:
>
[...]
> into this:
>
> email: function(value, element) {
> var emails = value.split(,);
> for(var emailAddress in emails)
> {
>
Some live samples would be very useful. You probably mean jQuery 1.3.1
right?
On Feb 16, 11:58 am, David wrote:
> Usually I also get that error, Permission denied to get property
> HTMLDivElement.parentNode, just loading HTML with a few jquery lines
> of code. I have to refresh the web page (F5)
Sounds good, Neil. And don't let my "reinterpretation" of your original post
put you off - come on back any time! :-)
-Mike
_
From: Neil Bailey
Thanks Michael - I will do just that.
From: Michael Geary
...Not being familiar with the inner workings of Ext, I'm not sure what
I had an iframe inside an iframe so this is what I had to use:
var details = $("#details___Frame").contents().find("body").find
("#xEditingArea iframe").contents().find("body").html();
Thank goodness for firebug!
On Feb 16, 6:42 pm, webdeveloperintexas
wrote:
> I tried that and it did not wor
Thanks MorningZ :), yes that is the one I'm trying to mimic. "odd" is only
declared in:
$("div.postSummary-teaser:odd").addClass("odd");
Where else should it be? I was hoping this code would just add it to
alternate divs with a class of "postSummary-teaser"
The html is actually:
so this is the jQuery you are trying to mimic?
$("tr:nth-child(odd)").addClass("odd");
??
that uses current selector syntax (http://docs.jquery.com/Selectors/
nthChild#index), and would indeed work on
Row 1
Row 2
Row 3
Row 4
> console.log('plugin is disabling option : ' +
> d[i]); // RETURNS A VALID ANSWER
> $(this).find('a[href="' + d[i] +
> '"]').parent().addClass('disabled');
> // THE SELECTOR RETURNS 0
> ELEMENTS, ALTHOUGH THE MARKUP IS CORRECT.
Break down the selector there a bit. It seems like th
First of all if you're using jQuery 1.3.x you need to remove the "@"
at the start of attribute selectors. ie [...@name='blah'] becomes
[name='blah'].
Second, technically you can't put a form as a direct child of a table.
Instead wrap the table in the form. This is why your stuff isn't
getting sub
Hi!
Kindly visit following link:
http://vibersol.com/sitesdemo/shipping/admin/addquotation.php
Then add form fields dynamically [by clicking GREEN icon]. And fill
these fields. After that submit the form.
I checked in FireBug that these values of dynamically added fields are
not submitted by fo
Hahaha I understand completely. And cannot tell you how much I appreciate
the assistance.
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of MorningZ
Sent: Monday, February 16, 2009 8:59 PM
To: jQuery (English)
Subject: [jQuery] Re: IE He
I copied it from here:
http://blog.jquery.com/2006/10/18/zebra-table-showdown/ and tried
unsuccessfully to modify it for div classes ...
2009/2/17 MorningZ
>
> I'm just curious... where are you getting your syntax from?
>
> "div:.postSummary"
>
> ".postSummary-teaser(odd)" ??
>
> there's n
Thanks Stephen, I suppose it's usually only doctors who say "your colon is
in the wrong place" ;), unfortunately it still doesn't work :(, I appreciate
your help though
2009/2/17 aquaone
> your colon is in the wrong place. (how often does one get to say that?)
> $("div.postSummary-teaser:odd").a
I'm just curious... where are you getting your syntax from?
"div:.postSummary"
".postSummary-teaser(odd)" ??
there's now where in the documentation (http://docs.jquery.com) where
that syntax is shown
On Feb 16, 6:31 pm, morktron wrote:
> Hi I'm just wondering whether it is possible to
> I appreciate the tactful way you said, "Hey,
> dumbass, what the hell is wrong w/ you" J
it's not that at all... but time and time and time again people on
this mailing group don't make it very easy for others to help them
out
your colon is in the wrong place. (how often does one get to say that?)
$("div.postSummary-teaser:odd").addClass("odd");
stephen
On Mon, Feb 16, 2009 at 15:31, morktron wrote:
>
>
> Hi I'm just wondering whether it is possible to zebra stripe alternate divs
> with the same class name?
>
> The
I am having a problem,
The callback function I am passing to the jquery post request is not
executing the success callback on a successful reply from my servlet:
Here are some code snippets of what I am trying to do:
top of my file:
if (Ajax == null || typeof(Ajax) != "object") { var Ajax = new
Hi I'm just wondering whether it is possible to zebra stripe alternate divs
with the same class name?
The class name is .postSummary-teaser, I tried this:
window.onload = function(){
$("div:.postSummary-teaser(odd)").addClass("odd");
};
but no joy. I'm no Javascript programmer
Allow me to show you what I have so far. It seems to validate base on
the first email, but none of the successive ones, in regards to the to
field: http://www.pomona.edu/asp/mailthis-redux.asp
On Feb 16, 4:53 pm, roryreiff wrote:
> So far, I have adapted this:
>
> email: function(value, elemen
So far, I have adapted this:
email: function(value, element) {
return this.optional(element) ||
/^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?
\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+(\.([a-z]|\d|[!#\
$%&'\*\+\-\/=\?\^_`{\|}~]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])+)
On Feb 17, 2:43 am, John Resig wrote:
> On Mon, Feb 16, 2009 at 8:28 AM, RobG wrote:
>
> > On Feb 16, 5:30 pm, SteelRing wrote:
> >> This may sound stupid to y'all jquery practitioners, but i wonder
> >> which method is fastest (recommended) for selecting a cell with a
> >> class in a big ta
I tried that and it did not work.
On Feb 16, 4:04 pm, brian wrote:
> Try $('#xEditingArea').contents().find('body').html()
>
> On Mon, Feb 16, 2009 at 3:31 PM, webdeveloperintexas
>
> wrote:
>
> > I'm attempting to get the contents of the page -- its HTML code.
> > Everything always returns nu
Hi There,
Im using the jquery "cycle" plug in with jquery ui tabs. Both work fine on
their own but the cycle plugin wont show when I put the html page under one
of the ui tabs.
Talya
MorningZ wrote:
>
>
> Might help others help you if
>
> 1) You specify *which* "ajax tabs" you are using
Might help others help you if
1) You specify *which* "ajax tabs" you are using
2) some sample of code of what works and what doesn't work
On Feb 16, 3:57 pm, Arianna wrote:
> They both work on their own, but when I click on the ajax tab that
> contains the image gallery html, its just a blank
First thing to do is deal with the conflict between Mootools and
jQuery. Firebug reports this on page load:
jQuery("ul.sf-menu").superfish is not a function
See this:
http://docs.jquery.com/Using_jQuery_with_Other_Libraries
--Karl
Karl Swedberg
www.englishrules.com
www.learning
www.royalmbc.org/joomla
I would appreciate your help! Thank you!
On Feb 15, 11:47 am, bellaluna316 wrote:
> In IE 8 & FF 3.0.6, my vertical sub-menus are only displaying a
> partial link. I've tried a couple suggestions and played with some of
> the z-indexes but can't find the fix. They disp
And rest assured that the library (including the validation plugin)
FULLY work with IE, it's your code and how you are using jQuery that
is the issue
On Feb 16, 3:58 pm, "Dean C. Reed" wrote:
> Or is there a common work around?
>
> I spent a few days getting familiar with JQuery and it works p
Hi everyone, I have some troubleshoots with including tinymce editor
on the ui block http://malsup.com/jquery/block/. When I set up the
editor on the ui block overlay, the tinymce scripts are no correctly
loaded, the effect is, the editor behavior is like disabled( I can't
put any char).Have any o
Hi all
Can some body please tell me the solution to this problem...
I have 2 tables on page and 2 pagers. Both table have different height
but same width. Each of them occupy 50% of page width . one is on left
other is on right..
the problem is the pager of 1st table is using the height of second
sometimes we have two form that almost the same fields, so we will
give client a clone button if the information is complete the same,
this is how I do now, is there any easy way to accomplish that?
http://www.w3.org/1999/xhtml";>
clone form