Could you post a testpage showing the specific problem?
Jörn
On Tue, Jan 20, 2009 at 11:13 PM, shiney wrote:
>
> If two separate input fields need to be validated together as well as
> individually, what is the best way to do this? For example, I have a
> 'date' field and 'time' field. Both fie
Bump :)
On Jan 20, 10:36 am, Neil Craig wrote:
> I was wondering, which Custom Classes Library is best to use along
> with jQuery. Up to now, I've been using Mootools to create custom
> classes that can be easily extended through its inheritance model. It
> also has custom events that I have use
Oh, I see.. Is there a way to get the text representation of the xml
nodes in that xml element? Like el.html() for html dom?
On Jan 20, 11:04 pm, Ricardo Tomasi wrote:
> You don't have any text in that node.
>
> xml = 'abd';
> $(xml).find('d').text()
>
> On Jan 20, 12:44 pm, michaelr524 wrote:
On the other hand - I've seen much worse offtopic threads here. And
yes, I've been annoyed by them. That said, sorry for putting fuel into
the discussion.
--Klaus
On 21 Jan., 05:25, Karl Swedberg wrote:
> On Jan 20, 2009, at 10:31 PM, johny why wrote:
>
>
>
> > "what does this have to do with
Try this:
http://www.w3.org/1999/xhtml";>
$(document).ready(function() {
$("#area2").hide();
$("#button2").click(function() {
$("#area1").fadeOut(1500,function(){
$("#area2").fadeIn(1500);
});
});
$("#bu
thanks for your input I will give this a try.
p.s sorry for my late response I was out of town.
On Jan 16, 8:33 am, "ryan.joyce...@googlemail.com"
wrote:
> > I know... no Firebug in IE. Poo.
>
> maybe give firebug lite a go. it's a firebug library you can embed
> into a page and view through a
http://inf.in-desk.ru/
On 20 янв, 17:27, "Rick Faircloth" wrote:
> I went to take a look at the demo, but all I got
> was a page of code...is there a working demo online?
Most likely this has nothing to do with jQuery. IE is rather brittle
in the way it lays out a page. Sometimes it "forgets" to update the
layout.
Sometimes you can "jog its memory" by making it refresh the whole
page's layout. For instance in this case add the following code as the
last line in yo
> I'm not sure if this is a bug (known or unknown), but examples can be
> seen at:
>
> http://www.sportsamerica.com/testjquery/withJSh2.html
Whoops... that link was one of the tests.
Real URL:
http://www.sportsamerica.com/testjquery/
One hour.
I am betting that an individual with beginner to intermediate skill
could "find and replace" the conflicting class names in the HTML, CSS
and js. That is the cleanest, most logical and most professional
solution in my opinion. It makes sense to make sense out of one's
code especially
frank Shi wrote:
hello
function ParseXml(xml){
var xml='';
xml+='';
xml+='33';
xml+='222';
xml+='';
alert(xml);
$(xml).find("result").each(fu
hello
function ParseXml(xml){
var xml='';
xml+='';
xml+='33';
xml+='222';
xml+='';
alert(xml);
$(xml).find("result").each(function()
{
var id=$(
what's the difference between using a instead of to
load an externat page?, i've been using this it seems working good but
what are the disadvantage in using instead of
tnxs..
Jan
On Jan 20, 2009, at 10:31 PM, johny why wrote:
"what does this have to do with jQuery?"
--this topic is on the jquery forum, because problems with a
jQuery component, Superfish, caused me to devise this method.
Yes, but this thread has long since moved far, far away from any
discussio
Hello all,
I am trying to fade in some content, but it's not working correctly. I got
some code at the Nettuts tutorial at
http://nettuts.com/javascript-ajax/how-to-load-in-and-animate-content-with-jquery/
and changed it a bit so it just fades in and out.
The fading sort of works, but there ar
I've been having this problem trying to get my CSS to show up for the
datepicker widget using JQuery UI. As far as functionality goes the
datpicker works yet I can't get the CSS to show up. I'm using
themeroller to style the the datepicker and using the following style
sheets.
uicore.css
uitheme.
Hello everyone.
I was racking my brain for a few hours today over a problem pertaining
to an AJAX call in jQuery.
Basically, I have the user click an item in a list. Upon
clicking an a .post request is sent to a script, which gives
me some HTML data to be added to part of the page. That part w
"what does this have to do with jQuery?"
--this topic is on the jquery forum, because problems with a
jQuery component, Superfish, caused me to devise this method. The
superfish support page directed me to this forum for support. the
author of the plugin has not spoken up yet. (I imagine th
I'm not the topic police, but I'll try playing one on TV...
Does this lengthy discussion have *anything* to do with jQuery at all?
It's purely a CSS issue - wouldn't the CSS list be a more suitable place to
talk about it?
http://www.css-discuss.org/mailman/listinfo/css-d
-Mike
I posted a simple plugin here a few weeks ago that adds $.slowEach() and
$().slowEach() methods:
http://groups.google.com/group/jquery-en/msg/f52a6b8e81af20a7
-Mike
> From: traunic
>
> Catching up on my Ajaxian RSS feed I came across an article
> that linked to:
> http://www.nczonline.net/blo
Well, my point was JS operators, whether it be "==" or "===", would be
easiest/best in the case of comparing two values...
On Jan 20, 6:46 pm, Klaus Hartl wrote:
> On 20 Jan., 20:06, MorningZ wrote:
>
> > but just comparing "value a" to "value b", it doesn't get any easier/
> > better tha
here you go
http://paste.pocoo.org/show/100623/
On Jan 20, 8:01 pm, "wilhelm.murd...@gmail.com"
wrote:
> How would I go about 'clicking' on a 'th' in a table and changing the
> bg color of the corresponding column of data? I'm a bit stuck on this.
>
> Anybody?
It looks like you're missing a closing bracket. Try this instead:
$(document).ready(function() {
$('a.tekst').cluetip({
sticky: true,
closePosition: 'title'
});
});
--Karl
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Jan 20, 2009, at 4:46 PM, mo
I think I should have added [jQuery] to the subject. sorry for the
carelessness.
An update to this question:
If added a "return false" to the end of the submit function, it seems
working well. I tried several times, it works, but I don't why it should
work since the function has gone to end of it
I think this is a firebug problem, which delayed the page load. if you
disable firebug, it can be loaded much faster ( hundreds of times faster).
For gmail, there's the similar problem.
On Wed, Jan 21, 2009 at 1:00 AM, Zach wrote:
>
> I need to bump this. I'm getting the exact same problem.
I posted this question to a python mail group as well. they provided me a
very good solution -- add a "return false" at the end of the submit
function.
It works great, but I don't understand why there's a return false at the end
of this function.
Thanks very much.
On Wed, Jan 21, 2009 at 12:43 A
$this refers to a jQuery object, not the element, so there is no
'value' property:
if( $this.val() == '' ) { //also use the comparison operator '==' not
assignment '='
$this.val(defaultValue);
http://docs.jquery.com/Attributes/val
On Jan 20, 8:16 pm, Andrew wrote:
> I'm trying to write a
You can shorten that to
(function($) {
$(function() {
//my stuff here
});
})(jQuery.noConflict());
or
jQuery.noConflict()(function($){
//code for dom ready here
});
Plugins should already being protected by using a (function($){}
(jQuery), so, as long as you only use the '$' a
Ricardo Tomasi thanks
2009/1/20 Ricardo Tomasi
>
> It's a shortcut for element creation.
>
> Like you can do $('body').append('')
>
> $('') gives you a which is not in the DOM yet
>
> You can see that both jQuery objects with the divs ($date1 and $date2)
> end up appended to #multimonth.
>
> On
Glad you got it working, Charlie!
Rick
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
> Behalf Of Charlie22
> Sent: Tuesday, January 20, 2009 7:36 PM
> To: jQuery (English)
> Subject: [SPAM]: [jQuery] Re: Content loading with AJAX is lost
What's wrong with my tags?
I don't understand. What's in the comments?
Can you please explain?
RSol wrote:
>
>
> The problem is:
>
> Your tags:
>
>
> images/poster_thumb1.gif
>
>
> in comment.
> :)
>
>
>
--
View this message in context:
http://www.nabble.com/Simp
How would I go about 'clicking' on a 'th' in a table and changing the
bg color of the corresponding column of data? I'm a bit stuck on this.
Anybody?
yes, I found this solvent also, but than I have problem with double
IDs, because anchor has same ID as container with target text. Finally
I solved it by most easy way.
I set variable, which identify container id from content of anchor:
var rules = '#'+$(this).html().toLowerCase();
Easy, isnt it
It looks like it's built with .NET, which would explain the MS Ajax
On Jan 20, 2:20 pm, MorningZ wrote:
> Checking out some of the code/technology used on the new site, i also
> see they have MS Ajax on there (see in the "net" panel of Firebug: /
> WebReource.axd)
>
> On Jan 20, 4:30 pm, Rey Ba
jQuery 1.2.6, that is...
Rick
There is an update to the Form Plugin available here:
http://jqueryjs.googlecode.com/svn/trunk/plugins/form/jquery.form.js
On Jan 20, 12:59 pm, Up-Works wrote:
> After upgrading to jQuery 1.3 the FORM plugin has an issue with FILE
> uploads. When attempting to submit a form containing a file i
On 20 Jan., 20:06, MorningZ wrote:
> but just comparing "value a" to "value b", it doesn't get any easier/
> better than JavaScript's native "==" operator
Not so fast. Be aware that the equality operator may give you
unexpected results because of type conversion, example:
0 == '' // => true
0 =
I'm trying to write a couple functions that will clear a form field on
focus. I also want to the change the class if the value has changed.
I'm new to jQuery and a novice Javascript developer, so hopefully my
issue is apparent. There appears to be an issue in how I am
referencing $this. I wanted
Just finished some lengthy debugging of a layout that was breaking in
all versions of IE I have access to (6, 7 and 8b2). OS is Windows
Vista Business, if that matters.
I figured out how to bypass the issue but not quite sure what to make
of the cause of the error.
The layout is a pretty standar
If two separate input fields need to be validated together as well as
individually, what is the best way to do this? For example, I have a
'date' field and 'time' field. Both fields need to have valid date &
time, cannot be empty, and in addition, the value of the two fields
combined, cannot occur
What about forming your clickable link like this:
General
Then write a function based on the id:
$(document).ready(function() {
$('#general').click(function() {
...your function here...
});
});
That would remove the href from the sitation and
still give you a c
Trying to use jQuery & some plugins alongside Prototype/Scriptalicious
in Tapestry
I added noConflict to my scripts using this method:
jQuery.noConflict();
(function($) {
$(function() {
//my stuff here
});
})(jQuery);
But I'm not clear as to wh
..so value isnt lost, but have other value as in FF and Gch:
problem is here:
General
$(this).attr('href');
Results:
FF> value is general //valid for script
IE> value is http://www.something.cz/general //IE is adding domain
is there any easy way how cut domain name ??
On 20 Led, 22:49, Charlie2
Checking out some of the code/technology used on the new site, i also
see they have MS Ajax on there (see in the "net" panel of Firebug: /
WebReource.axd)
On Jan 20, 4:30 pm, Rey Bango wrote:
> Bruce & Andy,
>
> The jQuery mailing list isn't a forum for political discussion. Please
> focus on
So I'm not sure if there's a special trick, or if it just can't be
done... but I'm not able to trigger the new "live" events with custom
data. For example, before I had:
$('.class').bind('someCustomEvent', function(e, data){
alert(data)
})
$('.class').trigger('someCustomEvent', ['this will be
Oh, I see what you're saying. You're talking about internal classing.
Yea, that would be nice. :)
On Jan 20, 4:22 pm, Ricardo Tomasi wrote:
> Yeah, but not with that short syntax. An ID in front of every
> declaration is ugly as hell and not very forgiving of file size
> either.
>
> On Jan 20, 6
hm, if I set directly $(#pilots). show(); it works, but if there is
varibale $('#'+anyVariable).show(); IE is loosing value of this
variable after click, thats all problem. But how can I solve it?
On 20 Led, 20:06, "Rick Faircloth" wrote:
> Try specifying "display:block" as the attribute, instea
See: www.moof.be/nieuw/intro2.html
I try to use cluetip with a class description on 3 links. But I seem to have
done something wrong
Changed it to a class but nop not working. Only "" with a
"id=sticky" seems to work.
I still messed up something ...
This is the code with a=class
Yeah, but not with that short syntax. An ID in front of every
declaration is ugly as hell and not very forgiving of file size
either.
On Jan 20, 6:56 pm, Eric Garside wrote:
> You can do that now...
>
> #myPreciousWidget.title // Matches class="title">
>
> or
>
> #myPreciousWidget .title // Mat
Bruce & Andy,
The jQuery mailing list isn't a forum for political discussion. Please
focus on jQuery-related topics.
Thanks,
Rey
jQuery Team
That is absolutely completely invalid mark-up. You must have the
inside the , not the opposite.
It's very simple, the second input is not a sibling of the first, it's
on a different TR, so next() will give you nothing. It's not "next" to
the other anymore. There are three ways to overcome that:
hi andy...
just how do you know this are you going from the fact that there were no
actual attacks on the US? if this is the case, can we also say he kept us
safe from killer bee attacks, or from attacks of killer asteroids?
or should we blame him for the serious numbers of what i call terro
You don't have any text in that node.
xml = 'abd';
$(xml).find('d').text()
On Jan 20, 12:44 pm, michaelr524 wrote:
> Hey people,
>
> I'm parsing XML from ajax in JQuery and it works for find()ing nodes
> and getting
> attributes values with attr(). But when I try to get the text content
> of a
Anyone have any idea why FF would respond properly to this code
and IE 7 creates different code for this clone?
Here's the original HTML:
Here's the jQuery:
$(document).ready(function() {
$('#add-image').click(function() {
$('.image-next:last').clone(true)
.
After upgrading to jQuery 1.3 the FORM plugin has an issue with FILE
uploads. When attempting to submit a form containing a file input
type using .ajaxForm() it throws an alert stating: Error: Form
elements must not be named "submit".
Here is the form:
Technically only the last 6 years and 3 months.
;)
-Original Message-
From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On
Behalf Of Rick Faircloth
Sent: Tuesday, January 20, 2009 2:32 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: the new whitehouse.gov - jQ
Thanks. Although your suggested idea didn't work for me, it ended up
leading me to a pretty good solution. The problem was that I was
looping to create multiple elements, then inserting it into the page.
I could not call data() to add the necessary data to each node since
the HTML did not exist un
You can do that now...
#myPreciousWidget.title // Matches
or
#myPreciousWidget .title // Matches
Also, I'm not sure I understand your issue exactly. How did you manage
to create site-specific CSS that has the same classes as the plugin's
css?
And at the risk of sounding like those guys who
Guys, I'd like to ask everyone to please don't let this thread get out
of hand. Honestly, this isn't the right venue for expressing any
political views.
Let's focus on jQuery-related topics.
Thanks,
Rey
jQuery Project
Forgot to mention, this is with treeview.
I need to bump this. I'm getting the exact same problem. Using
jQuery 1.3 and the load() function.
Firebug will show the full response within a couple hundred
milliseconds, but the browser will not display the response for at
least three more seconds. I'm really not sure what's going on. I'll
I noticed as of version 1.3 slideToggle animation effect had been
modified "the vertical padding and vertical margin are also animated,
creating a smoother effect" so I decided to test this out.
It works great in Firefox but in IE 7 its even less smooth than the
previous version. The vertical pad
I have a tree with a structure like this:
A
---A1
---A2
B
---B1
---B2
---B2.1
---B2.2
---B3
C
Using location persistence, if I click on B2, the hyperlink takes me
to page B2, and the tree expands to show this:
A
B
---B1
---B2
---B3
C
Instead, I would like clicking B2 to take me to page
I'm interested in editing a table by adding/removing rows and columns.
I don't need to sort or paginate, I only need to alter the size of the
table. Does anyone know of a plugin which does this? I've seen plugins
which primarily manipulate table order, or paginate, or can only add
rows, but that's
Bump. Same problem here. The ajax reponse will come back within a
few hundred ms in firebug but doesn't show up on the page until many
seconds later. If there are any kind souls out there who know what's
up, please give a holler. My site (where this is currently occurring)
is at tev.educationv
Bump. Same problem here. The ajax reponse will come back within a
few hundred ms in firebug but doesn't show up on the page until many
seconds later. If there are any kind souls out there who know what's
up, please give a holler. My site (where this is currently occurring)
is at tev.educationv
Hey people,
I'm parsing XML from ajax in JQuery and it works for find()ing nodes
and getting
attributes values with attr(). But when I try to get the text content
of a node it returns empty
string.
For example:
var xml =
"
"
$(xml).find('d').attr('atr') - returns 'd'
$(xm
I am trying to get the input element from the current selection so for
instance when I check a checkbox I want the next checkbox to be
checked now I can use .next() if the checkbox is right next toeach
other but once I put a td or span it doesn't work
this doesn't work
I am trying to get the next function working
this works
Name
Location
Spiraldev
Sac Town
$(document).ready(
function(){
$( "input.checkbox" ).click(
I don't appreciate the humorless disrespect, guys.
I don't know where you're from, but if you're in the US, the one
thing you can say is that "POTUS43" kept our butts safe for the
last 8 years. We'll have to see if the new liberal in the White House
has the same guts.
Now, I'll drop this, if yo
$('#POTUS43').hide(fast);
On Jan 20, 11:36 am, brian wrote:
> $(nation).ready(function()
> {
> $('.POTUS').not('#a_jackass').change();
>
> });
> On Tue, Jan 20, 2009 at 2:21 PM, rolfsf wrote:
>
> > I just noticed that team Obama pushed a new website live today -
> > powered with jQuery!
>
Geez you really take heart at defending your solution don't you?
But you're not going to convince anyone that "find & replace" is good
programming practice. In a hopefully not far future CSS will allow
something like this:
#myPreciousWidget {
.title {
color:#FFF
}
.content {
padd
Eric Garside, thanks for the cross-browser alert. that's new issue.
researching..
Catching up on my Ajaxian RSS feed I came across an article that
linked to:
http://www.nczonline.net/blog/2009/01/13/speed-up-your-javascript-part-1/
It made me think, could jQuery benefit from a $.eachAsync method? I
think there are some cases where this could be beneficial.
p.s. The comments
I filed a bug over here:
http://dev.jquery.com/ticket/3928
and have since fixed the issue.
--John
On Mon, Jan 19, 2009 at 2:08 PM, Balazs Endresz
wrote:
>
> Unforunately it's just turned out that there's anothor isssue behind
> this. You can follow the ticket if you want update on this, I gu
Nice job, its always a great relief after you've struggled with a problem to
conquer it. Good luck with your JS.
On Tue, Jan 20, 2009 at 2:37 PM, Erik R. Peterson wrote:
> Guess what!! I got it to work!! Very nice
> I feel like I parted the sea like moses
>
> thanks.
>
> Erik
>
>
>
>
Guess what!! I got it to work!! Very nice
I feel like I parted the sea like moses
thanks.
Erik
On Jan 20, 2009, at 2:01 PM, Steven Barbera wrote:
Oooh, make sure you put the jQuery.noConflict() code at the top
right after the lavalamp.min.js code. Also make sure you add the
$(nation).ready(function()
{
$('.POTUS').not('#a_jackass').change();
});
On Tue, Jan 20, 2009 at 2:21 PM, rolfsf wrote:
>
> I just noticed that team Obama pushed a new website live today -
> powered with jQuery!
>
> http://www.whitehouse.gov
>
>
there is another well-established programming principle-- modularity.
the idea is the less tightly-coupled components are, the easier it is
to upgrade any one of them, or switch it out with a replacement. one
technique to achieve modularity is to reduce the scope of variables--
keep the variable-n
because none of the proposed functional problems have proven truly
significant, the debate has become one of principle. Eric Garside's
critique is that you're not SUPPOSED to use !important this way. my
one strict rule is to never strictly follow strict rules. i believe a
wise programmer understan
"it's an ugly hack"
--people who take pride in the purity of their code might take offense
at a solution which is based on expediency, rather than programming
dexterity. this debate seems partly to be about programming pride vs.
expediency. i wish i had the resources to hire one of you gurus, but
Like this?
var $j =
jQuery.noConflict();
$(function() {
$("#1, #2, #3").lavaLamp({
fx: "backout",
speed: 700,
click: function(event, menuItem) {
return false;
}
});
EFFORT
the reason i don't want to CHANGE the css is because my site-css was
designed to display my site properly, the widget-css was designed to
display the widget properly. if i make changes in either, it's opening
a can of worms.
"inspecting an element in firebug to see where it's getting it's
(wow. and i thought there was nothing left to say on this topic! :)
SIZE
ryan, SIZE has not yet been mentioned in the thread-- glad you
mentioned it. with superfish, at least, the extra !important rules
have no noticeable effect on my page-load time, in IE, firefox, or
chrome.
page-performance
I just noticed that team Obama pushed a new website live today -
powered with jQuery!
http://www.whitehouse.gov
As Ricardo mentions that still isn't grasped here
jQuery *is* JavaScript, but it's a framework on top to make things
easier
easier in all cases? heck no case in point
"So what's the best jQuery way to compare element values"
Why would there need to be a jQuery way?
object1.value == objec
Try specifying "display:block" as the attribute, instead
of eliminating the style completely. Perhaps that will
override what IE is doing.
In your code (wherever would be appropriate), try
$('#general').css({'display':'block'})
and see what happens. Since you're using an AJAX call to
replace yo
Oooh, make sure you put the jQuery.noConflict() code at the top right after
the lavalamp.min.js code. Also make sure you add the tags around
it.
Steve
On Tue, Jan 20, 2009 at 1:58 PM, Erik R. Peterson wrote:
> I eliminated some unnecessary scripts.
> This is what i have now:
I eliminated some unnecessary scripts.
This is what i have now:
script>