Dylan Verheul schrieb:
I have a checkbox like this
input type=checkbox id=foo value=1 checked=checked /
I would expect this code to uncheck it:
$(#foo).val(0); // any value != 1 should uncheck it
and this code to check it
$(#foo).val(1);
It doesn't.
The value attribute of a
That's not my understanding as to how checkbox values work. If you
really want to uncheck a checkbox, you have to remove the checked
attribute - changing the value does /not/ have the same effect.
So, to uncheck it you could do:
$(#foo).removeAttr(checked);
--John
On 9/5/06, Dylan Verheul
Hi there guys!
Just wanted to make sure that if I check the opacity css property, IE
will not return null (it was in some tests I did).
I checked the source and on lines 389 to 393, this is what I see :
389 } else if ( p == opacity jQuery.browser.msie )
390 return parseFloat(
I am working on a ASP.NET app with jQuery and have run into an IE error
(everything works great on firefox, of course).
I am trying to rewrite a few div tags using the DOM to make rounded
corners, but when I use the .wrap() function Internet Explorer will not
properly post back to the server
OK, I'll do it like that then. Thanks for the response.
On 9/5/06, John Resig [EMAIL PROTECTED] wrote:
That's not my understanding as to how checkbox values work. If you
really want to uncheck a checkbox, you have to remove the checked
attribute - changing the value does /not/ have the same
El Rocco ,
I think john posted something similar as a bug tonight , there is a
problem w/ fadeTo in IE in the .css function.
Will
Hi there guys!
Just wanted to make sure that if I check the opacity css property, IE
will not return null (it was in some tests I did).
I checked the source
John
Tried that version - still the same error.
Debug came up with error in this line (639)
} else if ( elem.getAttribute ) {
in this function
attr: function(elem, name, value){
error is elem.getAttribute Wrong number of arguments or invalid property
assignment
Changing the
On Sep 4, 2006, at 5:41 PM, digital spaghetti wrote:
It's just a pity at the moment I can't use jQuery, as it seems to
be affecting
some prototype stuff on my site.
Try making sure that your reference to jquery.js comes last to help
with compatibility. Also, you might want to look into
George Smith:
Perhaps this is a problem ajax shouldn't be trying to fix? With an
application that size, surely breaking back button and creating
bookmarking problems isn't something you should be doing?
There are no bookmarking problems because there is no bookmarking to
begin with. Users
Hey all!
I'm sorry if this has been discussed before (I did a search without any
results on the subject), but does jQuery have the ability to change the
font-weight with the css method (or a font-weight method)?
I had a look in the API documentation and VisualjQuery, but neither show
anything
$(p).css({ color: red, font-weight: bolder });
Try
$(p).css({ color: red, font-weight: bolder });
(The dash needs quoting, I think.)
-- Fil
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
One question I've got about the Thickbox/Lightbox libraries...
Currently there's no way to bookmark an image on a specific page. Does
anyone have any ideas about how to create a link that will load the correct
page, but auto-display the chosen image?
That's the main thing keeping me from using
Hey Andy!! Thanks for the welcome. BTW, thanks for the sample code. I'll
be poking through it today.
Rey...
Andy Matthews wrote:
Welcome Rey! Glad to have you on yet another list of which I'm a part.
!//--
andy matthews
web developer
certified advanced coldfusion
Hope it helps. Always good to have more Coldfusion representation.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
--//-
-Original Message-
From: [EMAIL PROTECTED]
Wycats,
I used that code from visualjQ as a template, and it didn't work. In IE, I
get a debug error saying that it expects ':'. I changed font-weight:... to
'font-weight':... and IE went straight over it, without modifying the
weight.
Klaus, Class would be a simple option. But now this has me
I was reading this article on Ajaxian:
http://ajaxian.com/archives/prototype-extension-dynamic-script-pattern-support
which discusses Dynamic Script Pattern or On-Demand Javascript. I think
this is a VERY cool feature. Does Jquery support something like this?
What are the pros and cons of
Andy Matthews wrote:
This is AWESOME. I was just looking for something like this.
Thanks :)
Andy Matthews wrote:
In IE 6.0.2 (PC):
The vertical carousel:
http://sorgalla.com/projects/jcarousel/example_static_vertical.html
the 3 pictures appear to be off by about 30 pixels
Yep. Maybe we'll have to build JQueryCFC. LOL!
Rey...
Andy Matthews wrote:
Hope it helps. Always good to have more Coldfusion representation.
!//--
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
[EMAIL PROTECTED]
615.370.1530 x737
$('p').css({fontWeight: 'normal'});
Dan Atkinson wrote:
Wycats,
I used that code from visualjQ as a template, and it didn't work. In IE, I
get a debug error saying that it expects ':'. I changed font-weight:... to
'font-weight':... and IE went straight over it, without modifying the
Hi,
I don't want to assign an id attribute to all my input fields, but
instead want to do something like this:
div id=foo
input ... name=bar
/div
Then, get the value with something like:
$(#foo input[name=bar]).val();
That didn't work. So, I tried:
$(#foo
On 05/09/06, Dan Atkinson [EMAIL PROTECTED] wrote:
Wycats,
I used that code from visualjQ as a template, and it didn't work. In IE, I
get a debug error saying that it expects ':'. I changed font-weight:... to
'font-weight':... and IE went straight over it, without modifying the
weight.
Yup,
That'll be the one!
Cheers Petre!
I wonder why this isn't written down?
Or, if it is, where is it? I tried looking through.
Stefan Petre wrote:
$('p').css({fontWeight: 'normal'});
Dan Atkinson wrote:
Wycats,
I used that code from visualjQ as a template, and it didn't
On 05/09/06, Dossy Shiobara [EMAIL PROTECTED] wrote:
Hi,
I don't want to assign an id attribute to all my input fields, but
instead want to do something like this:
div id=foo
input ... name=bar
/div
Then, get the value with something like:
$(#foo
Cheers m'dears.
Is this documented anywhere though?
Sam Collett wrote:
On 05/09/06, Dan Atkinson [EMAIL PROTECTED] wrote:
Wycats,
I used that code from visualjQ as a template, and it didn't work. In IE,
I
get a debug error saying that it expects ':'. I changed font-weight:...
to
Try $('#foo [EMAIL PROTECTED]bar]').val()
Dossy Shiobara wrote:
Then, get the value with something like:
$(#foo input[name=bar]).val();
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi,
Is there any workaround for the problem of changing opacity in IE,
which leads to text being displayed bold and weird?
I could do that by setting background color to the element whose
opacity is changed, but I want to have it's background transparent.
A sample result is seen in download
Hi,
which discusses Dynamic Script Pattern or On-Demand Javascript. I think
this is a VERY cool feature. Does Jquery support something like this?
I wouldn't put it into jQuery itsself, because then you would need to load
jQuery before you can use the dynamic Script loading. I have developed
Christof,
While I agree with your cons in theory, a couple of them can be discounted.
Christof Donat wrote:
- either you need to do synchronous loading like JSON does or you need to
work
with callbacks as I do. Synchronous loading blocks the browser, callbacks
are
not understood by
Every time you have a '-' in a property, remove it and replace the
next character with an uppercase representation of itself.
Is this documented anywhere though?
If the example in the API reference for .css used a camelCase attribute I
think it would be clear. How do we edit that?
Ok, which API are you folks looking at?!
I don't see any use of camelcase for CSS keys here:
http://jquery.com/api/ http://jquery.com/api/
Dan
dave.methvin wrote:
Every time you have a '-' in a property, remove it and replace the
next character with an uppercase representation of
Christof,
Thanks for the clarification.
Dan
Christof Donat wrote:
Hi,
Christof Donat wrote:
- either you need to do synchronous loading like JSON does or you need
to
work
with callbacks as I do. Synchronous loading blocks the browser,
callbacks
are
not understood by everyone.
Christof,
Can you show how you modified the JQuery library to generate the
package-object? Code?
Rey...
Christof Donat wrote:
Hi,
So from the docs, this looks like its library agnostic correct (ie: not
dependent on JQuery)?
Yes, that is tue. I use it to load jQuery. You need to
Hi folks,
there are now much more test cases in the jQuery code, together with
some changes to the test suit itself. The difficulty of writing tests:
The test code itself is error prone, too.Please have a look at this
preview ( http://joern.jquery.com/test/ ) and check it with different
If you update it in the svn, it'll get into visual jQuery within a day or so max (I'm working to reduce the lag-time).-- YehudaOn 9/5/06, Jörn Zaefferer
[EMAIL PROTECTED] wrote:Hi Dave! I don't see it either, which is why I proposed using a camelCase example to
make it clear that was the way to
Well, as I've put it down below, this isn't really an issue of code
purity (although I'm sure that bugs me too). What I was trying to say
was that it is an issue of readability. At least to me, seeing $ in my
javascript code indicates DOM manipulation. So my preference is to make
anything
You need to give the element your are changing opactiy for layout. The
easiest way to do this is to give the element a background color.
Mohsen Saboorian-4 wrote:
Hi,
Is there any workaround for the problem of changing opacity in IE,
which leads to text being displayed bold and weird?
Yehuda Katz wrote:
If you update it in the svn, it'll get into visual jQuery within a day
or so max (I'm working to reduce the lag-time).
It's up!
Maybe John can set up an email reminder when someone commits to the
repository :-)
This can be done quite easily with cruisecontrol (
Sam wrote:
I've used XML to read and locate elements. Have solutions been
developed to police multiple clients updating an XML file without
overwriting each other?
Whatever script or language you are using, there should be a mechanism
to lock a file. Lock a file before writing into it and
Maybe John can set up an email reminder when someone commits to the
repository :-)
You can use RSS too -- though not linked from the
http://jquery.com/dev/recent/ page, it works :
http://jquery.com/dev/recent/?changeset=onmax=10daysback=3format=rss
(Syndicated at
Well, that is one conclusion you could reach. The other is that perhaps
jQuery needs a couple of components extracted and turned into external
libraries that it then depends on (ajax, etc). A bit blasphemous, I
know, considering jQuery is supposed to be easy to download as a
standalone, but
$('body [EMAIL PROTECTED]' + rel + ']:not([EMAIL PROTECTED]' + src
+'])').each(function() {
alert(this.href + '\n' + src);
});
If I had to guess, it's an issue with your @href selector - which is
probably the most problematic selector to use - simply because
browsers inconsistently return
Mogrol schrieb:
Hi
I'm trying to get all links from the body in a page and in the same time
excluding a single element with the matching href attribute using the
:not css-selector but it does'nt seem to be working.
Is this not supported in the latest jQuery (1.0.1) or is there
I don't see it either, which is why I proposed using a camelCase example to
make it clear that was the way to handle css properties that have a dash in
them.
This is actually a mistake on my part, I think. I originally had it
such that you could provide font-weight or fontWeight and either
Hello,
Sorry if this is blindly obvious, but I'm having a few problems with
this function in IE. It works fine in the Gecko browsers, Safari and
Opera.
The function is a simple ajax post which returns back the xml
document. I then use the 'each' function to display the text of each
'yelement'.
Wanted to say that $().css('z-index', '2') does not work in IE but does work
in FF. What will work in both browsers is $().css('zIndex', '2').
Not sure if this is a bug but it did throw me for a loop for a few minutes.
I actually just noticed it because 'z-index' was working fine pre-1.0. I'm
Figured you all might take a gander at this and weigh in:
http://blogs.zdnet.com/Stewart/?p=101
He and I have been having our own little discussion. :P
Rey...
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi,
For example, Christof's scriptloader could use jQ's ajax code, or could
merge with it.
That is something that won't happen. I whanted it to be as small as possible.
I felt that the JSAN core had to many functions that are not necessary for
the basic functionalitiy of resolving
Yeah... all browsers supporting all standards.. that would be too easy! That will never happen!On 9/5/06, Rey Bango
[EMAIL PROTECTED] wrote:Figured you all might take a gander at this and weigh in:
http://blogs.zdnet.com/Stewart/?p=101He and I have been having our own little discussion.
I know Konquer isn't a supported browser, but it's what I use so here's
results from it anyway:
11. tests/011-css.js (1, 0, 1)
15. tests/015-wrap.js (1, 0, 1)
32. tests/032-is.js (1, 21, 22)
34. tests/034-$.find.js (1, 48, 49)
41. tests/041-eventTesting.js (1, 2, 3)
Those came back red/failed.
On Tuesday 05 September 2006 22:04, Justin Carter wrote:
On 9/6/06, Rey Bango [EMAIL PROTECTED] wrote:
Figured you all might take a gander at this and weigh in:
http://blogs.zdnet.com/Stewart/?p=101
He and I have been having our own little discussion. :P
Rey...
Ugh, I stopped
Flash 9 and Flex 2 are awesome, but its horses for courses. Flex 2 is
for full on applications. JavaScript CAN achieve some of the same
things in web applications, but it's power is that it works well with
HTML and CSS in enhancing a web site, whereas Flex can do no such
thing without making
Somewhere on the web told that adding background-color: transparent
also works, but I couldn't make it work.
On 9/5/06, Klaus Hartl [EMAIL PROTECTED] wrote:
kawikak schrieb:
You need to give the element your are changing opactiy for layout. The
easiest way to do this is to give the element
52 matches
Mail list logo