Hello.
On 3/9/07, Abel Tamayo [EMAIL PROTECTED] wrote:
Hi all. I'd like to know if there's a standard, easy way to determine with
element triggered an event. I'm pretty sure there is, but can't find it in
google. Maybe an atribute in the e parameter received by the function like:
$(p).bind(
Hi Alexandre.
On 3/8/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
Hi Sean,
I indeed did it via regular expressions:)
Good, but you shouldn't rely on stripping a list of invalid characters.
It's safer to strip any character that doesn't belong to a whitelist. This code
On 3/7/07, bmsterling [EMAIL PROTECTED] wrote:
Hey guys and gals,
I am trying to do something like below:
buildDialogBox({u:'oba_1_2',f:loadJson('userlist.txt',
buildUserManageTable),d:'formDialog600'});
and have loadJson('userlist.txt', buildUserManageTable) run after the dialog
box
On 3/5/07, Kevin Fricovsky [EMAIL PROTECTED] wrote:
Morning,
Evening ;)
I have a question for the jquery group.
My question is - what's the best way to get a single parent element of
the current object.
Right now I have an html table with multiple rows. In the first TD of
each row I
On 2/23/07, Nicolas Hoizey [EMAIL PROTECTED] wrote:
In a page that gets modified by ajax calls, I would like to run my
own function after each change.
My function does ajax calls, so if I use the ajaxSuccess binding, it
goes recursively and crash...
Any idea?
Untested, but reading the code
On 2/22/07, triggsley [EMAIL PROTECTED] wrote:
Hi All
Great forum, very helpfull.
I've a simple problem whereby I have a form which highlights all form tags
on focus() - no problem here, the problem occurs when a user clicks on the
add new link to clone the first row and append it to the
On 1/8/07, Stefan Petre [EMAIL PROTECTED] wrote:
Another change in the API .
jQuery.className.has(); will not expect an element as first argument,
will expect a string.
This makes $(something).toggleClass(uh) fail miserably.
Bug report at http://jquery.com/dev/bugs/bug/762/
--
Choan
On 12/27/06, Michael Geary [EMAIL PROTECTED] wrote:
Not only not related to jQuery, but not related to closures either. :-)
The problem is that setTimeout doesn't accept the additional arguments you
are passing it.
Is there any reason you can't do this:
setTimeout( function() { doStuff(
Hi.
On 12/14/06, AKB [EMAIL PROTECTED] wrote:
I have found a little bug while trying to use it (last version from
http://www.softwareunity.com/sandbox/jqueryspinbtn/)
It seems to fail when you set the min value to 0, like this:
var myOptionsHour = { min: 0, max: 23, step: 1 }
To correct myself:
Search for this line:
min: cfg cfg.min ? Number(cfg.min) : null,
And replace with this:
min: cfg cfg.min !== null ? Number(cfg.min) : null,
Should be:
min: cfg cfg.min !== undefined ? Number(cfg.min) : null,
--
Choan
http://choangalvez.nom.es/
On 12/12/06, Aaron Heimlich [EMAIL PROTECTED] wrote:
On 12/12/06, Klaus Hartl [EMAIL PROTECTED] wrote:
I think it's even worse. It has to go through all the divs and check the
id...
document.getElementById cannot be used for such a list returned by
document.getElementsByTagName(div).
On 12/11/06, Anaurag Gupta [EMAIL PROTECTED] wrote:
Greetings.
How is it I can traverse to the first previous element from a given specific
element? So if I click on image, I can find from the position within the DOM
of that image, the first paragraph that precedes it?
This should work:
On 12/4/06, Kelvin Luck [EMAIL PROTECTED] wrote:
Hi,
I'm just working on a project which is making ajax calls to a .NET
backend using the AjaxPro extension. However, since I'm already using
jQuery on the front end I thought I'd avoid using their extra frontend
code and just use jQuery.
The
On 12/4/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Ⓙⓐⓚⓔ schrieb:
Exactly my point... IE is not part of my solution. I want to support
setmimetype.. not JQ! I understand JQ is trying to be a base for all
the stated browsers... I just want to extend it.
I see, good point. How about
On 11/24/06, Mathias Bank [EMAIL PROTECTED] wrote:
Hi,
$(expr, context) is a really nice function, but it could be optimized.
Until now, it can only be used, if context is a dom tree. But see this
scenario:
var html='';
html += ul;
for (var i=0; i10;i++) {
html += lilisting +i+/li;
}
On 11/16/06, Dave Methvin [EMAIL PROTECTED] wrote:
If you found any other small issues, feel free to use this thread to
discuss them.
I have a few changes to these methods that I have tested on IE/FF/Opera, but
haven't committed them because I have no way to test on Safari:
I can help in
On 11/14/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
If you have a jquery array of elements and need to call the show(slow)
method on each one in turn, how should you do it?
For instance how might would you reveal each LI element in a list one
after
the other?
Just applying the
Hi all.
The server people I work with insists in the necessity of sending
custom headers in AJAX requests, so I've modified my copy of jQuery
and opened a bug report (feature request, obviously) which includes a
patch proposal.
http://jquery.com/dev/bugs/bug/384/
--
Choan
Hi all.
I'm working on a project which will load content dynamically from
files developed by an external team.
These files can include scripting.
* If the script is included in the loaded content, the `evalScripts`
will suffice.
* If the script is referenced from the loaded content (script
On 11/10/06, Dave Methvin [EMAIL PROTECTED] wrote:
As the loading of both scripts is asynchronous, the second one
could be started before the neccessary functions are available.
Any idea or workaround?
If you can attach a readyState handler to the first script, that can be your
cue to
On 11/10/06, Dave Methvin [EMAIL PROTECTED] wrote:
As the loading of both scripts is asynchronous, the second one
could be started before the neccessary functions are available.
Any idea or workaround?
If you can attach a readyState handler to the first script, that can
be your cue
On 11/3/06, Brent Pedersen [EMAIL PROTECTED] wrote:
$().jquery
gives the version.
That's right, but it used to return the revision number. While having
access to the version number is useful for everybody, I think having
access to the revision number would be useful for some of us. At
least,
On 10/30/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
has anyone made this as (part of) a plugin?
It would seem to be commonly requested - to help visulisation of a large
table.
Try this:
(function($) {
var current;
function findColumn(element) {
}
Replying myself:
On 10/30/06, Choan C. Gálvez [EMAIL PROTECTED] wrote:
On 10/30/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
has anyone made this as (part of) a plugin?
It would seem to be commonly requested - to help visulisation of a large
table.
Try this:
[...]
Haven't
On 10/26/06, Dave Methvin [EMAIL PROTECTED] wrote:
Is there any supported jQuery platform or situation where
context.getElementsByTagName('*') does not get all the elements in the
context? Right now the jQuery selector code avoids using it and instead does
a recursive crawl of the tree, which
On 10/18/06, John Resig [EMAIL PROTECTED] wrote:
Well, I don't doubt that people use the lang attribute as intended
(considering that I've never made a non-english site) - however,
there's certainly never been a need for the ~= selector - which is
only remotely useful with lang-related
Hi all.
I've been browsing the API and discovered the docs for `jQuery.merge`. Great!
One question about it: the docs say:
Merge two arrays together, removing all duplicates. The final order
or the new array is: All the results from the first array, followed by
the unique results from the
On 10/18/06, John Resig [EMAIL PROTECTED] wrote:
Hi Choan -
Hi John, thanks for answering.
* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element with a class name)
* Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any
element
with a hreflang
Hi all.
While playing with CSS selectors, I've found some strange things (I'm
using the SVN version, rev 445):
* Attribute selector [EMAIL PROTECTED] doesn't work (returns any
element with a class name)
* Attribute selector [EMAIL PROTECTED]|=en] doesn't work (returns any element
with a hreflang
On 10/8/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
Mike Alsup schrieb:
Test #38 fails in Opera 8.54.
Any idea where to download that version? I can't find any download prior
to Opera 9.
From http://www.opera.com/download/, follow the show other versions link.
--
Choan
:
http://brandonaaron.net/jquery/hoverbug/hover.patched.html
I'll update the ticket now.
Thanks, Brandon. I hope this goes soon into SVN (meanwhile I've
modified my copy).
--
Choan C. Gálvez, desarrollo web
http://choangalvez.nom.es/
On 10/3/06, Brandon Aaron [EMAIL PROTECTED] wrote:
Sure
Hi all.
There has been some recent posts on this mailing list about a bug in
Firefox related to jQuery`s `hover` functionality. (Subjects Uncaught
exception (Autocomplete / jQuery 1.0.1), bug: hover over table cells
containing form elements and Input text hover error.)
Theoretically, this bug
On 10/2/06, Jörn Zaefferer [EMAIL PROTECTED] wrote:
It would be great if you could give it a try and report if anything
breaks (it shouldn't): http://joern.jquery.com/dist/jquery.js
The updated test suite is here: http://joern.jquery.com/test/
According to my tests, FF1.5 and IE6 should fail
Hi,
On 9/30/06, Mungbeans [EMAIL PROTECTED] wrote:
But, it works.
$( #myradiobutton ).attr( onchange, ).change( function() { ... } );
But it doesn't work :(
Whenever I try to use the .attr() function (eg: .attr( onchange, ) )
firebug tells me:
.attr is not a function
In
) {
// ...
}
}
// ...
}
I really really need this issue to be fixed (maybe with a better solution).
(By the way, all of this is under Rev. 289).
On 9/11/06, Choan C. Gálvez [EMAIL PROTECTED] wrote:
Hi all.
I'm developing a validation
35 matches
Mail list logo