I'm trying to get some simple things to work using jquery,
and everything currently works the way I'd like it to in
Firefox. However, in Opera, Safari, and Internet Explorer,
nothing works right -- and I haven't been able to figure out
where the hang up is.
My entire jquery code can
trailing commas only work in firefox!
user: user,
has a trailing comma!
On 2/11/07, Moiph [EMAIL PROTECTED] wrote:
Hi,
I'm trying to get some simple things to work using jquery, and everything
currently works the way I'd like it to in Firefox. However, in Opera,
Safari, and Internet
That was the issue, boy I feel stupid :P It figures that it was something
tiny!
Thanks! :)
Ⓙⓐⓚⓔ wrote:
trailing commas only work in firefox!
user: user,
has a trailing comma!
On 2/11/07, Moiph [EMAIL PROTECTED] wrote:
Hi,
I'm trying to get some simple things to work
$.get(parser.php,
{
type: type,
user: user,
},
trailing commas only work in firefox!
user: user,
has a trailing comma!
Great catch, Jake.
Here's a tip - use ActiveState Komodo for your JavaScript editing, and get
syntax checking as you
Hi,
Some months ago, I have developed a debug class for php, which
enables to debug code (even php classes and arrays) with firebug. It
doesn't need jQuery.
http://forenblogger.de/2006/10/07/entwicklung-und-tests/
Mathias
2007/2/8, Benjamin Sterling [EMAIL PROTECTED]:
Good stuff, thanks for
Hi Tarique,
putting it into the user.js script is not possible, I explained this
in an earlier way. There is no javascript detection of jQuery possible
with the script in user.js.
-Paul
2007/2/12, Dr. Tarique Sani [EMAIL PROTECTED]:
On 2/9/07, Felix Geisendörfer [EMAIL PROTECTED] wrote:
I'm
The only other choice I can see is to take the opposite approach
for Safari.
Assume that if the body is black it's the bug raising its head and
then use
white for the corners instead of black. That would prevent someone
from
using a black body color; they'd have to use something like
All major plugins use jQuery instead of $ because of these issues. If
you have found a plugin that still uses the Dollar sign, check if you
have an up-to-date version and if yes, try to inform the author of the
plugin, point him to the plugins help pages on docs.jquery.com.
-Paul
2007/2/12,
On 10/02/07, Brice Burgess [EMAIL PROTECTED] wrote:
I have written a small Drag + Resize plugin to go along with jqModals
minimalistic (lightweight) theme. It supports translucency, opacity
preservation, handles, dragging, and south-east resizing.
The jqDnR plugin page is @
10 Feb 2007 05:44:01 -, R. Rajesh Jeba Anbiah
[EMAIL PROTECTED]:
On Fri, 09 Feb 2007 Kim Johnson wrote :
I wrote the creator a few days ago and never heard
back. No, I don't think it's working with 1.1. I even
did so much as to copy the test page directly (while
changing the paths to the
Thanks Rey...
I've actually streamlined my concertina menu code now, and decided
that it wasn't actually necessary to have one event wait for the
previous one (couldn't get it to work, anyway...)
My code now works with a basic nested ul menu structure, with no
extra classes needed in the
No idea?
Le 9 févr. 07 à 10:07, Nicolas Hoizey a écrit :
Hello,
Let's say I have the folowing code I can't change (it's not mine) :
select name=myselect
onchange=this.nextSibling.visibility='hidden';
option value=1One/option
option value=2Two/option
/select
How can I put
I've actually streamlined my concertina menu code now, and decided
that it wasn't actually necessary to have one event wait for the
previous one (couldn't get it to work, anyway...)
My code now works with a nested ul menu structure, with no extra
classes needed in the HTML, and will
Hi guys,
I was wondering if anybody could help with this. I am trying to do animate
on the backgound-color of a div, but I got an error message saying that
'background-color' is not supported.
Here is my code:
$(#testanimate).mouseover(function(){
Thanks much Mike for the pointers. Noted.
;)
On 11 Feb 2007, at 18:15, Mike Alsup wrote:
all...this is the completed thing...certainly, if people want to crit
what I've done here that could be educational...
Hi Vaska,
This is a very active mailing list so sometimes things get missed.
Oops... sorry, problem with my IMAP drafts...
Ignore this post!
Seb
On 12 Feb 2007, at 11:34, Seb Duggan wrote:
I've actually streamlined my concertina menu code now, and decided
that it wasn't actually necessary to have one event wait for the
previous one (couldn't get it to work,
On 11/02/07, Mike Alsup [EMAIL PROTECTED] wrote:
all...this is the completed thing...certainly, if people want to crit
what I've done here that could be educational...
Hi Vaska,
This is a very active mailing list so sometimes things get missed.
Good job working out your code. Some quick
Seb Duggan schrieb:
I have two problems:
1. In Firefox on the Mac, on clicking a link, the toggled menu
flashes up in full for an instant, before sliding open as it should.
It works perfectly in Safari, IE Win 6+, Opera 8+, FF Win.
2. It almost works in IE 5.5, apart from the menus
I have a jquery selection of input tags of type checkbox, I want to
filter out those that are checked. Feels like it should be something
easy like
$('[EMAIL PROTECTED]', checkboxes);
andreas
___
jQuery mailing list
discuss@jquery.com
On 12/02/07, Andreas Wahlin [EMAIL PROTECTED] wrote:
I have a jquery selection of input tags of type checkbox, I want to
filter out those that are checked. Feels like it should be something
easy like
$('[EMAIL PROTECTED]', checkboxes);
andreas
Even simpler than that.
For all checked boxes
Andreas Wahlin schrieb:
I have a jquery selection of input tags of type checkbox, I want to
filter out those that are checked. Feels like it should be something
easy like
$('[EMAIL PROTECTED]', checkboxes);
andreas
With that you would get all checkboxes that are checked already on
I think you don't have to use eval..., I'd try this:
var select = $('[EMAIL PROTECTED] myselect]');
var cachedOnChange = select[0].onchange;
select[0].onchange = null;
select.bind('change', function() {
if (confirm('Are you sure?')) {
cachedOnChange();
} else {
...
Paul Bakaus schrieb:
All major plugins use jQuery instead of $ because of these issues. If
you have found a plugin that still uses the Dollar sign, check if you
have an up-to-date version and if yes, try to inform the author of the
plugin, point him to the plugins help pages on
For all checked boxes on a page:
$(input:checked)
That will get you checked radios too.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
On 12/02/07, Mike Alsup [EMAIL PROTECTED] wrote:
For all checked boxes on a page:
$(input:checked)
That will get you checked radios too.
How about
$([EMAIL PROTECTED]:checked)
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I think you don't have to use eval..., I'd try this:
var select = $('[EMAIL PROTECTED] myselect]');
var cachedOnChange = select[0].onchange;
I get the onchange in a function, great!
select[0].onchange = null;
What is the difference between this and unbind('change') or removeAttr
Hi Olaf,
Not actually a problem - in the finished implementation, all the
links will be operational, so if you click on a link with JS off,
you'll be taken through to a physical page with that menu expanded.
Similarly, if you drill down through the menus and follow a link,
that submenu
hello!
Still trying to get my uploader plugin on track.
I would like to implement a feature that replaces the uploader flash file by a
text input field containing the uploaded file's name.
So the process so far is this:
- replace file input fields by a flash uploader
- when upload is done,
select.bind('change', function() {
if (confirm('Are you sure?')) {
cachedOnChange();
The function uses 'this', which is not available anymore when I
call it...
I did this:
select.onchange = cachedOnChange;
select.onchange();
And it seems to work well!
I'm not sure there are
I've recently completed http://www.saintsrlfc.com/
http://www.saintsrlfc.com/ .
Quite a bit of jQuery, including striping, ThickBox, and various bespoke
codings (especially in the non-public backend).
Rey Bango-2 wrote:
Hey all,
I just wanted to let you know that I've been compiling the
Hi there Chris,
Only a subset of CSS properties are able to be animated with the
jQuery core alone. For extended animation support, check out the
Interface plugin. Here is a link to documentation on animate:
http://interface.eyecon.ro/docs/animate
And here is a snippet of code that gives
Kyle,
Did you get anywhere with this? I'm having exactly the same problem and want
to try to dynamically populate a TinyMce textarea.
N
Kyle Buttress wrote:
I'm using tinymce with my textarea.
Without tinymce I can dynamically load text into the textarea, however
with tinymce active
Try
window.alert = function (){
$('#ex1a').jqm();
}
-Dan
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Alexandre Plennevaux
Sent: Sunday, February 11, 2007 7:51 AM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Miniscule (1k) Drag'n'Resize for
Although it's easily circumnavigable, you'd be surprised how many clients ask
for it, because they believe that it makes their images 'unsaveable'.
Another reason is custom context menus, and you don't want the default
context menu to get in the way. An example of this would be Microsoft Live
Matt,
I played around with the Taconite stuff quite a bit 18 months ago or so. I
really like the readability of the XML--it makes it very easy to figure out
what's supposed to happen.
Plus, all changes are driven from the XML, so if you've restructured your
returning record to include more
select.bind('change', function() {
if (confirm('Are you sure?')) {
cachedOnChange();
The function uses 'this', which is not available anymore
when I call it...
You just need to get the this object set, which you can do this way:
select.bind('change', function() {
if
snip
Another issue is that the svn version of TableSorter
svn://jquery.com/trunk/plugins/
tablesorter looks different compared to the one at the site
http://motherrussia.polyester.se/pub/jquery/tablesorter/
Yes this is correct, the file on my site is no longer being actively
On Feb 12, 12:44 am, Brice Burgess [EMAIL PROTECTED] wrote:
snip
Here is my version (which works);
---
a href=# id=alertTriggerShow Last Alert/a
div id=alert style=color: red; background-color: white; padding:
10px;/div
script type=text/javascript
function alert(i) {
FYI - The following works for me in IE6/FF1.5 (the only 2 I tested)
html
head
script type=text/javascript
window.alert = function (sMsg){
prompt(sMsg);
}
// the alert box is now the prompt dialog
Hi all,
sorry to bump this but I'm wondering if anyone knows how to resolve my
problem with jquery and tinymce.
basically, when i dynamically create a textarea and try to run the
tinyMCE init to replace it with a tinyMCE'd instance... i get a slew
of JS errors and i think it's related to object
Regarding disableHeader it works (did a quick test with the latest version).
Is it possible to be more specific about the new changes?
Perhaps a email i missed?
/christian
2007/2/12, R. Rajesh Jeba Anbiah [EMAIL PROTECTED]:
snip
Another issue is that the svn version of TableSorter
Dan G. Switzer, II wrote:
However, the verbose XML language is both a plus and a negative. It's very
easy to read and determine what's going on, but it also means you end up
with much large data packets you need to transfer between the client and
server.
This is not a problem if you
Nope. No reason whatsoever.
petersom3000 wrote:
Is there a reason for not using the oncontextmenu event?
http://www.google.com/search?q=oncontextmenu
Dan Atkinson wrote:
Feel free to jQuerify this:
code
function click(e)
{
if (document.all)
{
if
Hey james.
First, I'm not a language hater - it's all good (php,java,ruby,etc). So
keep on ripping out code. I right c#/asp.net all day and have dabbled in
ruby, php and perl in the past. But I'm .net full-time so it's my
language of choice and I really like it.
Not sure what other people have
This is what I use to show a custom menu on right click. I tried the way
first mentioned by Dan but it doesn't work with some mouse drivers and mouse
button configurations (users were reporting errors, which took us a while to
track down to the code showed by Dan. One of our client's mouse
Dan G. Switzer, II wrote:
However, the verbose XML language is both a plus and a negative. It's
very
easy to read and determine what's going on, but it also means you end up
with much large data packets you need to transfer between the client and
server.
This is not a problem if you already
I have what is probably a newbie question.
I have a table displaying data and use the following script to create a
highlight on a row, except for the first row (.headingrow) because it's used
as the header for the table.
Hello,
I am looking for a way to simplify this chunk of code:
$('li#normal').click(function() {
$('#bereit').ScrollTo(800);
$('li#normal dd').toggleClass('ausgewaehlt');
$('li#standard dd').removeClass('ausgewaehlt');
$('li#profi
On 2/12/07, Rigent [EMAIL PROTECTED] wrote:
I have a table displaying data and use the following script to create a
highlight on a row, except for the first row (.headingrow) because it's used
as the header for the table.
snip
would there be a more efficient way to do
this, without having to
If you use markup such as:
table
thead
tr
thHeading 1/th
...
/tr
/thead
tbody
tr
tdData.../td
...
/tr
/tbody
/table
You can then do:
$('#docstable tbody tr').hover(function(){ $(this).addClass('trover'); },
function() { $(this).removeClass('trover') });
Cheers,
-js
On
Thanks, I will look into using :gt() and what it can do. I'm still pretty new
to all this.
In the meantime I changed to using this code which seems to work
$(table#docstable tr).not([th]).hover(function() {
$(this).addClass(trover);
}, function() {
On 2/12/07, Dan G. Switzer, II [EMAIL PROTECTED] wrote:
FYI - The following works for me in IE6/FF1.5 (the only 2 I tested)
Works in FF 2.0.0.1 and IE 7 too.
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
___
jQuery
Thanks, it seems there are many ways to achieve the same goal. I have changed
the code to use 'hover' and I will look into x-path syntax.
Tim Gossett-2 wrote:
On 2/12/07, Rigent [EMAIL PROTECTED] wrote:
I have a table displaying data and use the following script to create a
highlight on
Believe it or not, this isn't incredibly bad.
One thing you should do is search for things by ID using the ID only.
It's actually a bit faster. If you want to remind yourself of the tag
type, put in a comment after the line.
Another thing you can do to make this a bit cleaner is to use a comma
@Matt: Thanks! I can't take credit for the idea. I merely ported
the Taconite idea to jQuery.
@Dan: You're quite right regarding relative payload sizes. JSON will
almost certainly be smaller in every case - and that's a good point to
consider. The trade off is in complexity of the code that
Thanks Guys !
I knew about Interface plugin, and more or less what it does.
What I didn't know was that the Core has some limitation.
Thanks again for the explanations.
Cheers,
Chris
Karl Swedberg-2 wrote:
Hi there Chris,
Only a subset of CSS properties are able to be animated with the
Tinymce support really does appear to be bad :/ I tend
to not have any questions answered over in the support
forum.
I found this:
http://tinymce.moxiecode.com/punbb/viewtopic.php?id=2731
I haven't read the entire thing fully, but it appears
to be solving the ajax/tinymce issue in some cases.
There are several ways you could refactor that code. Here's one approach:
$('#normal, #standard, #profi').click( function() {
var idnums = { normal:1, standard:2, profi:3 };
$('#bereit').ScrollTo( 800 );
for( var id in idnums ) {
var n = idnums[id];
If you want to simplify it, I think you could agroup the tags and add the
properties, for example.
$('#normal').click(function(){
$('#bereit').ScrollTo(800);
// toggleClass
$('#normal dd,#label_radiobutton_1').toggleClass('ausgewaehlt');
// removeClass
$('#standard dd,#profi
What about this?
$(':checkbox:checked', checkboxes);
On 2/12/07, Mike Alsup [EMAIL PROTECTED] wrote:
For all checked boxes on a page:
$(input:checked)
That will get you checked radios too.
___
jQuery mailing list
discuss@jquery.com
Thanks, dude. And thanks for the link to that page. It looks like a great
resource.
On 2/11/07, Brice Burgess [EMAIL PROTECTED] wrote:
Abel Tamayo wrote:
Ok, this is a noob question, but what is the fastest, cross-browser
way to obtain the mouse coordenates? I've found tons of info about
Brice,
First off, I am loving your take on the Modal.
I have two questions:
1. I get scrollbars when I the overlay is on, and I know the fix is to set
the body overflow to hidden, but can't find where to put that in your code,
can you point me in the right direction?
2. I set the
I have been playing with the autocomplete feature of the interface plugin and
i have it working nicely in firefox but for some reason it doesnt work in
IE. how can i get it to work in IE?
see my site here:
http://bdee.no-ip.com:9000/asp/index.asp
http://bdee.no-ip.com:9000/asp/index.asp
and
It is throwing errors in Firefox with Firebug, so you might want to solve
those first. (I typed Fam and then moused over the list.) Also try using
the unpacked versions so Firebug can show source lines for the errors.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
bdee wrote:
I have been playing with the autocomplete feature of the interface plugin and
i have it working nicely in firefox but for some reason it doesnt work in
IE. how can i get it to work in IE?
see my site here:
http://bdee.no-ip.com:9000/asp/index.asp
Hi,
I am trying to get corner and hover to work together. The code works
properly for FF but fails in IE7..below is my sample script that I have been
trying on..
html
head
titleTest Page/title
script src=jquery.js type=text/javascript/script
script src=corner.js type=text/javascript/script
Are there any Interface guru's online who might be able to clue me in to
where the problem lies? The only scripts being used on this page are Jquery
and Interface...
I appreciate any help anyone can offer!
rolfsf wrote:
I've got a fairly simple page - basically a container div with two
What about this?
$(':checkbox:checked', checkboxes);
Sweet!
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Benjamin Sterling wrote:
1. I get scrollbars when I the overlay is on, and I know the fix is
to set the body overflow to hidden, but can't find where to put that
in your code, can you point me in the right direction?
I assume that you have a relatively short skinny page.. so that
the
ok i am now using the uncompressed version of jquery and interface. and now
the page won't even load in IE. i just installed firebug - i am new to it
so i am not sure how it works.
dave.methvin wrote:
It is throwing errors in Firefox with Firebug, so you might want to solve
those first.
NOTE; I'm not a fan of setting the body overlow to hidden. The reason is
you (generally) never know the viewport resolution of your visitors...
and having overflow set to hidden while displaying content wider/taller
than their screens will have the potential of rendering the page useless.
I
My company is looking for a quality web developer with strong
HTML/CSS/Javascript skills. We are currently using a bit of jquery and
looking to greatly expand its use. Seems that anyone who is up to date with
Jquery is likely to have all of the skills that we need.
If you are in the Seattle, WA
Benjamin Sterling wrote:
NOTE; I'm not a fan of setting the body overlow to hidden. The
reason is
you (generally) never know the viewport resolution of your
visitors...
and having overflow set to hidden while displaying content
wider/taller
than their screens
Aaron Heimlich schrieb:
I should also add that I'm not trying to replace the current error
message functionality, just add to it.
Thanks alot Aaron! Very good examples.
Implementing multiple messages per rule via plugin settings should be
pretty straight forward, but not via the other
Michael Geary schrieb:
As of version 4.0, Komodo Edit (no debugger, but all the editor features) is
free - and it runs on Mac, Windows, and Linux.
By far my favorite editor for JavaScript, Ruby, Python, and PHP.
http://www.activestate.com/products/komodo_edit/
Thanks Mike, thats great, I
Mike Alsup schrieb:
What about this?
$(':checkbox:checked', checkboxes);
Sweet!
If you don't need to filter radios, I guess $(':checked') would work,
doesn't it?
-- Klaus
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I'm using the autocomplete mod from
http://www.pengoworks.com/workshop/jquery/autocomplete.htm
The page above uses an older version of jQuery; with the latest, a bug
occurs: when hitting enter without having selected any item in the
drop-down, the whole dropdown innerHTML gets written to the
It's a bug in the (internal) pushStack() function. Look at the
following for a fix:
http://www.nabble.com/Bug-in-$()-in-jQuery-v1.1.1--t3144910.html#nabble.i8718421
Karl Rudd
On 2/13/07, petersom3000 [EMAIL PROTECTED] wrote:
I'm using the autocomplete mod from
It's live finally.
http://www.intuit.com
Very jQuery.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
Hi All.
I want to accordion an existing content format, and I think that I need
to insert a wrapper element. First I would love a sanity check on my
general approach then maybe someone can critique the manipulation I'm
trying.
Here's my content:
div class=accordion
h3heading/h3
arbitrary
Hi,
Is there any good reference to how to use JQuery, AJAX and PHP together
--
Cheers,
Kush
Sensory Networks
Web Applications Developer
Direct: + 61 2 8302 2745
Phone: + 61 2 8302 2700
Fax: + 61 2 9475 0316
___
jQuery mailing list
Not sure of any resources, but as a crash course:
If you're using the latest version of PHP (5.0.2), you can use the
function json_encode to send information from your PHP application to
jQuery, for mos tasks this is what I do:
Client Side:
$('#button').click(function(){
var input = {foo:'bar'};
Very sweet. Which sections are using jQuery Glenn?
Rey
Glen Lipka wrote:
It's live finally.
http://www.intuit.com
Very jQuery.
___
jQuery mailing list
Right on the home page, looks like they've got some nice jQuery tabs
going (TurboTax, QuickBooks, Quicken) and there's a Quick Links
slideDown() at the top. Very cool, Glen! Glad to see it up there.
Cheers,
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On 2/12/07, Jake McGraw [EMAIL PROTECTED] wrote:
If you're using the latest version of PHP (5.0.2)
I think you mean 5.2.0.
--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
___
jQuery mailing list
discuss@jquery.com
thanks for the reply guys.
Actually I meant to like cleaner structure like SAJAX [
http://www.modernmethod.com/sajax/ ], where your php function just
returns result, rather than echo'ing as it happens right now.
K
Aaron Heimlich wrote:
On 2/12/07, *Jake McGraw* [EMAIL PROTECTED]
k,
Keep in mind that Sajax is a php/ajax framework gear only toward that
communication. I used sajax for a while and, although it was great, it was
a little restrictive, IMO.
Jake mentions a good approach, but can be alittle advanced if you don't
understand the full concept of jquery, json and
By far my favorite editor for JavaScript, Ruby, Python, and PHP.
http://www.activestate.com/products/komodo_edit/
Thanks for the link, Mike! That's a great editor!
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
I wrote a jquery plugin to support comet with IE, Firefox, Opera.
http://empireenterprises.com/_comet.html
The server side aspect implements a loop that quits when the socket
connection is closed (keepalives disabled).
-g
On Feb 11, 2007, at 8:54 PM, falcon wrote:
Is anyone working on
Hi Glen,
Actually I did come across your message but forgot to reference it. Also,
by the link, I wasn't sure if it was still maintained. Since you've gone
through the trouble of writing the plugin, how about a paragraph or so of
how to use it. What I've seen so far looks pretty good!
Thanks
Hey guys, does Jquery not get along with complex HTML table wrapping or
handling?
I have been playing with Jquery for about a week now and have had a lot of
success with it, however I'm trying to put a border around a photo.
This is my HTML
img class=Photo src=photodrop/woman.jpg/
Here is my
You could try something like this (untested):
var photo = $('.Photo');
photo.before('tabletrtd/tdtd
class=content/tdtd/td/tr/table')
.prev().find('td.content').append( photo );
Karl Rudd
On 2/13/07, Ryan Doom [EMAIL PROTECTED] wrote:
Hey guys, does Jquery not get along with complex HTML table
I know I can loop over all the options in a select object, checking to see if
they are selected and add their values to an array if so. I would love to
see how JQuery could tackle this though. In other words, I want to end up
with an array of all of the selected object's values in one line of
Wow - not a single post? $(#tbodyID).empty(); handles the clearing quite
nicely. Is $(#tbodyID).append('tr class=datatd
align=left'
the best way to reload it?
--
View this message in context:
I've been working with JS since it was created, and I've written a lot of my
own libs and utilities. I'm now taking a serious look at existing frameworks
simply because the effort of writing, debugging, and documenting my own code
is too time consuming.
Of the more mature and robust frameworks
Does jQuery support File Size Check before uploading? Lets say only
max 2MB upload size allowed.
Thank you
john
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
If you just want an array of selected options:
$('#theSelect option:selected')
You could use the form plugin if you wanted to do something more:
http://www.malsup.com/jquery/form/
Karl Rudd
On 2/13/07, Daemach [EMAIL PROTECTED] wrote:
I know I can loop over all the options in a
Unfortunately web browsers don't expose that sort of information to
JavaScript, at least not in a cross-browser manner. So no, jQuery
doesn't.
Karl Rudd
On 2/13/07, Ram Peters [EMAIL PROTECTED] wrote:
Does jQuery support File Size Check before uploading? Lets say only
max 2MB upload size
I'm actually after an array of the values of those selected options. Like a
coalesce over the values. I can do it with a loop, but I'm hoping there is
a more elegant solution.
Karl Rudd wrote:
If you just want an array of selected options:
$('#theSelect option:selected')
You
Technically two lines.
var list = [];
$('#theSelect option:selected').each( function() { list.push(
this.value ) } );
Note that each option should have a value attribute for this to work.
Karl Rudd
On 2/13/07, Daemach [EMAIL PROTECTED] wrote:
I'm actually after an array of the values
1 - 100 of 111 matches
Mail list logo