Hi I am trying to make form which contains a list of items.
I have a set of events which need to be bound to each item, at the
moment everytime I add a new item, I have to unbind all items and add
the event again to all items for the new item to work like the rest of
them.
This means my applicat
I have a complex form that uses ajaxSubmit (see code below). The form
takes awhile to process and I'd like to display a loading message or
loading gif while waiting for the response. How can I modify or add to
the code below to accomplish this. The message or gif should appear in
the #container di
Hey lihao
First, let me point out a few small things:
At the beggining you typed 'test' once instead of 'text'. I'm sure
it's just a typo of the post. You should remove the 'form' from the
selector, it will work faster.
Then.. you are scrolling the textarea itself ? that's nice, never
thought of
Hey Jörn!
ajaxQueue was indeed included when this did not work. It was loaded in
this order though, I don't know if it matters.
So it's loaded last.
Thanks,
Yuval
On Feb 5, 5:38 pm, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> Yuvalschrieb:> Hey Jorn,
> > I believe I have found a bug in jque
I'm loading an XML fiel to build a result matirx.
version 1 uses jQuery and DOM insertion with $.append() - 200 rows/9
columns take about 2500ms to render
version 2 uses plain old JS with document.write() - 200 rows/9 columns
take about 300ms to render
Is this expected due to the abstraction l
Hi all,
I'm trying to find the index of the first empty text field (class name
is item).
I am able to get the text field object by using:
$("[EMAIL PROTECTED]''"])
However I can't get the index, i.e., which text field is it?
The number of text fields are dynamic, but there will always be at
le
On Feb 5, 8:06 am, Ariel Flesler <[EMAIL PROTECTED]> wrote:
> Hi Lihao, I assume 550 is width and height so it's a squared textarea.
> IMO 550 fits on any screen ( fits on 800x600 ).
> You could simply scroll to the textarea and leave a gap below. You
> could add a margin to the textarea and set t
Why to the jQuery list? jquery-dev is typically where we discuss
issues of this matter.
--John
On Feb 6, 2008 8:47 PM, Eridius <[EMAIL PROTECTED]> wrote:
>
>
> i have this
>
> self.element.children('.cr_tab_content').append(self.element.children('#' +
> id).clone(true));
>
> and this does nothin
i have this
self.element.children('.cr_tab_content').append(self.element.children('#' +
id).clone(true));
and this does nothing but
self.element.children('.cr_tab_content').html(self.element.children('#' +
id).html());
still works just does not copy trigger, is there anything wrong with that
According to that test, array and join is almost 6 times as fast as
string concat in my browser (Firefox on Vista).
On Feb 6, 4:37 pm, J Moore <[EMAIL PROTECTED]> wrote:
> I've heard a few people mention the building an array and then
> using .join(''). I found that good-old-fashioned string conc
$(document).ready(function() {
alert('hi');
});
This uses jQuery's .ready function on the document object
On Feb 6, 2008 2:41 PM, MikeeBee <[EMAIL PROTECTED]> wrote:
>
> Is there a small piece of code you can put on a page to test if jquery
> has loaded?
>
> Thanks
>
I've heard a few people mention the building an array and then
using .join(''). I found that good-old-fashioned string concatenation
was faster - and the syntax a bit cleaner.
There's a neat test on this page. The joining arrays seems is a bit
slower for me. (Firefox on OS X)
http://www.quirk
Looks to me like you're missing a closing bracket, so your 2nd click
method ($('a#enviar_jqm_trigger') is encapsulated in the first ($
('a#corregir_jqm_trigger'). No?
-j
On Feb 5, 9:12 am, Sebastián Würtz <[EMAIL PROTECTED]> wrote:
> my script
>
> $('a#corregir_jqm_trigger').cli
does anybody know of a method that allows for two rows of three items
to show up with the jcarousel plugin?
On Feb 6, 2008, at 5:41 PM, MikeeBee wrote:
Is there a small piece of code you can put on a page to test if jquery
has loaded?
Thanks
Sure. You could do this:
if (typeof jQuery != 'undefined') {
// do something
}
--Karl
_
Karl Swedberg
www.englishrules.com
www.lear
Is there a small piece of code you can put on a page to test if jquery
has loaded?
Thanks
Does anybody have any idea how I could do this?
Is there a function I can override or something?
On Feb 3, 11:19 pm, Bitruder <[EMAIL PROTECTED]> wrote:
> I have several lists with elements ('s) that can be sorted among
> the different lists. However, a few elements CANNOT be sorted outside
> of
OK, I've been scratching my head on this, and yet suspect there's a
simple solution I'm overlooking.
I've created a test page at http://newkirk.us/sortlists.php
The goal: Two lists of strings side-by-side. One contains 'available
fields', the other contains 'selected fields'. (the actual cont
XML sample:
(iv)
1983
http://whc.unesco.org/en/list/275
275
http://whc.unesco.org/uploads/sites/site_275.jpg
ar,br
-28.543300
State of Rio
Andrea.. thanks!
Works fine.
I was fooling around with the contains filter.. it never came up to me
to combine 'has' and 'contains'
sparkpool wrote:
: This finds span.bar, as I expected, but not what I want:
: jQuery('#zzz :first')
$('#foo').contents().get(0)
.contents() is used to get childNodes.
http://docs.jquery.com/Traversing/contents
HTH,
Charles K. Clarkson
--
Mobile Homes Specialist
Free Market Advo
Anyone have any thoughts on this? Or am i being too thick to get a
reply (:-) ?
On Feb 6, 8:05 am, sparkpool <[EMAIL PROTECTED]> wrote:
> Hi folks, simple question I think.
>
> Given this html:
> THIS IS THE TEXT I WANT
Yes, great screencast. (I think i learned a little portuguese too.)
A question about literal objects - is it fundamentally different than
using prototype?
//
// example 1: literal obj
//
var Counter = {
container = $('#counter');
start: 1,
init: function() { container.val(start); }
}
$(d
In this case would it be possible to use offset?
(http://docs.jquery.com/CSS/offset)
On Feb 6, 2008 12:30 AM, Charles K. Clarkson <[EMAIL PROTECTED]> wrote:
>
> praxis wrote:
>
> : $("div#lt").css("left", eval(parseInt($
> : ("div#content").css("left"))-24));
> :
> : The problem is, I can't get i
THe problem is in the order in which things are happening in your script. If
you take a look at the livequery plugin this might help.
But, you should apply the click after the DOM has been manipulated. Since
DOM is parsed in the beginning of the page load, nothing happens when you
add / remove thi
The only thing I noticed was a mispositioning of the footer when JS is
disabled, but other than that, it's very nice and degrades gracefully.
Mike Francisco wrote:
> Very nice, GianCarlo.
>
>
>
> > -Original Message-
> > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> > Be
The liveQuery plugin takes care of this work for you.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Giant Jam Sandwich
Sent: Wednesday, February 06, 2008 3:55 PM
To: jQuery (English)
Subject: [jQuery] Re: on click event does not response
jQue
jQuery did not recognize the element ".test" because you had not
created it yet. You have to bind a click to a new element after you
create it. Something like the following:
$("#someID").append("My Link").find("a:last").click(function(){
// do something...
});
On Feb 6, 12:46 pm, Jquery lover <
Sebastián Würtz escribió:
my script
$('a#corregir_jqm_trigger').click(function(){
$('#jqm').jqm({ajax: this.href, trigger:
'#corregir_jqm_trigger', modal: 'true', target:'div.jqmAlertContent',
overlay: 50, overlayClass: 'whiteOverlay', cache: false, onLoad:
[EMAIL PROTECTED] schrieb:
I am trying to unittest a library I am writing so I grabbed
testrunner.js and setup a test area in my project. I use $j =
jQuery.noConflict(); throughout my library. How should I use the
testrunner with this in mind? I can only get the testrunner to assert
that my libr
Check out the bgiframe plugin (http://plugins.jquery.com/project/
bgiframe).
On Feb 6, 2:27 pm, Eridius <[EMAIL PROTECTED]> wrote:
> Is there a common way getting around the z-index IE6 issue? I am talking
> about how select boxes appear infront of element with higher z-index.
> --
> View this m
Is there a common way getting around the z-index IE6 issue? I am talking
about how select boxes appear infront of element with higher z-index.
--
View this message in context:
http://www.nabble.com/ie-6-z-index-workaround--tp15312083s27240p15312083.html
Sent from the jQuery General Discussion
You will have an easier time creating a single append by ,join() -ing
an array of elements and adding them as a block. Forcing jQuery to
evaluate each one individually creates a lot of repetition.
The .domManip() code in the source is pretty legible, if you're
curious.
Charles
On Feb 5, 3:00 am,
On Feb 6, 2008, at 12:32 PM, [EMAIL PROTECTED] wrote:
I am trying to figure out how to fade the font color from one color to
another. I dont think jQuery has this functionality built in. Has
anyone experimented with such an effect or plugin?
yes, the color plugin allows you to do this:
h
hi all,
I have problem with my code, when I used jquery to append HTML tags to
my list the click event of the new tag did not work, so i decide to
move to DOM and the same problem appered again. Here is a snapshot of
my code
//does not response !!!
$(".test").click(function(){
Charles wrote:
> You could change the quoted quotes to an html entity.
>
> $('form').append('');
Gotta love that second pair of eyes.
Didn't even think of that. Works great, thanks.
The form being submitted does have a file being uploaded.
I've removed the ContentType from the .net code and now that works
just fine.
Can anyone explain why this behaviour occurred? It worked fine in IE -
but not FF. Normally I'd expect things the other way around!
Thanks for the advice.
Joh
I am trying to figure out how to fade the font color from one color to
another. I dont think jQuery has this functionality built in. Has
anyone experimented with such an effect or plugin?
Hi,
I've a table some thing like this
Distance Name Neighborhood Rating
10 abc1 hollywood not yet rated
5 zxy new jersey5
2
I'm sorry to hear this. We've been having trouble with thickbox and
IE6 for a long time. And, to hear that thickbox reloaded doesn't work
well in IE6 is bad news. If anyone has any tips or tricks to get
thickbox or thickbox reloaded working well in IE6, please chime in.
Also, does anyone know o
Yes it has. I'm using it on plazes.com and haven't faced any problems
yet... What issues exactly? Mayb the CSS isn't up-to-date in the
repository.
--Klaus
On Feb 6, 5:17 pm, Eridius <[EMAIL PROTECTED]> wrote:
> I just tested the index.hmtl from the jquery svn repository for thickbox
> realoaded
On 6 Feb, 15:20, Monkeytail <[EMAIL PROTECTED]> wrote:
> When the page loads, all div's with class 'foo' that have an h4
> element that contains 'bar' must show up in red (the div, not h4). The
> div's that are not containing bar stay 'default'.
Hi and welcome :)
this wil do:
$("div.foo:has(h4:c
is there a way to prevent someone from closing the thickbox
Eridius wrote:
>
> This is the deal. I have a form and based on the information they enter
> in this form, when they click to submit it, it take the form data and
> turns it into the url query and they create a link with the url, add
I just tested the index.hmtl from the jquery svn repository for thickbox
realoaded in IE 6 and there are quite a few issues with it. has thickbox
reloaded been tested in IE 6 yet?
--
View this message in context:
http://www.nabble.com/thickbox-reloaded-and-IE6-not-good-tp15306762s27240p1530676
> That would translate to...
>
> $jq($jq("..."))
>
> Sounds like too much jq. I'd try:
>
> alert(pos.css('top'));
>
> Cheers
> Christpoh
> --
> [EMAIL PROTECTED] www.workaround.org JID: [EMAIL PROTECTED]
> gpg key: 79CC6586 fingerprint:
> 9B26F48E6F2B0A3F7E33E6B7095E77C579CC65
The workaround for such a problem is to remove the javascript code that is
going to return a html page to be rendered in the target div of the page
making the request.
It seems in ie jquery is not correctly able to parse the html text and
render the javascript correctly so it can be executed.
>
> Mike, does the form plugin ever use hidden iFrames, perhaps in upload
> forms?
>
Yes, good point, Diego. This probably would happen if there is a file being
uploaded. Removing the ContentType header would solve the problem.
This is the deal. I have a form and based on the information they enter in
this form, when they click to submit it, it take the form data and turns it
into the url query and they create a link with the url, adds thickbox to the
newly created link and then triggers the link to bring up the thickb
On Feb 6, 1:38 pm, [EMAIL PROTECTED] wrote:
> Hi,
>
> I'm trying to migrate from jQuery 1.1.3 to 1.2.2, and I'm having trouble
> converting my XPath expressions. In CSS, asterisks are "deep", i.e. they
> match all elements that are descendants of the context node. In XPath,
> they are not, i.e.
Sounds like wrong content-type or headers.
Mike, does the form plugin ever use hidden iFrames, perhaps in upload
forms?
On Feb 6, 3:32 pm, "Mike Alsup" <[EMAIL PROTECTED]> wrote:
> > Just to make sure, can you visit the target resource manually in
> > Firefox and not get the External dialog?
>
>
>
> Just to make sure, can you visit the target resource manually in
> Firefox and not get the External dialog?
>
That's what I *would* expect if you navigated directly to that page. FF
will want to download it, not display it. But that won't happen with ajax,
which is why I think there is a sc
Currently using the nightlies with no problem.
- jake
On Feb 6, 2008 10:14 AM, Rey Bango <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> A release candidate for UI should be VERY available soon that should
> resolve any issues.
>
> Rey
>
>
> [EMAIL PROTECTED] wrote:
> > So I downloaded jQuery 1.2.2 and U
Hello,
Here is a great screencast tutorial on how to better organize your js
code with Literal Objects and JQuery. The author is brazilian and he
talks portuguese, but you can follow and understand the tutorial
without any sound, just seeing what he do on screen.
http://www.tuliofaria.net/arquiv
I've also seen that IE6 error with the packed version of Validate. I
assume it was something to do with the packing process, since the
minified and unpacked versions worked just fine. However, the latest
version of Validate and jQuery do not appear to produce this problem
any longer. Great work
Just to make sure, can you visit the target resource manually in
Firefox and not get the External dialog? From the looks of it, it
seems like your server may be sending the wrong content-type, making
Firefox believe it's getting a file that should be downloaded instead
of parsed and rendered.
Crap! Kind of makes sense, should have thought of that myself.
I'm building a file manager, and noticed that while browsing the
browser's back/forward buttons are really needed.
I guess i'll just use real page requests, and just use Jquery in some
smaller functionalities on the pages...
Thanks ag
benjam wrote:
: i.e.- If I try something like the following:
:
: $('form').append('');
:
: The element that gets appended to the form has the following html:
You could use a single quote as a delimeter.
$('form').append('');
But that looks mighty ugly. You could change the quoted quot
Hi,
A release candidate for UI should be VERY available soon that should
resolve any issues.
Rey
[EMAIL PROTECTED] wrote:
So I downloaded jQuery 1.2.2 and UI from the site, and kept getting
errors (such as draggables throwing a "not a function" error.) I
borrowed a copy of ui from some ran
On Feb 6, 1:59 pm, frizzle <[EMAIL PROTECTED]> wrote:
> Hi Klaus,
>
> Thanks for your reply, the links are "re-indexed",
> too bad the back/forward of the browser is broken now...
> Could this be, because the links with the appropriate title that's
> requested in the URL
> isn't actually on the pa
[ jQuery/js newby ]
This must be the result:
When the page loads, all div's with class 'foo' that have an h4
element that contains 'bar' must show up in red (the div, not h4). The
div's that are not containing bar stay 'default'.
Problem:
I can't figure out how
On Wed, Feb 06, 2008 at 12:11:32AM -0800, casavecchio wrote:
> i am just trying to read css-properties from div-elements on my site,
> but i always get an undefined and cannot figure out what going wrong.
>
> function showTop(id){
> var pos = $jq("#mx-" + id);
>
I realize you found a solution, but you might want to look at this
plugin (I'll eventually get around to adding it to the jQuery plugin
repository):
http://scottsplayground.com/temp/jquery.ordinal.js
Also, something a lot of people aren't aware of is:
$(this).parent().children().index(this);
On
I saw your message, Pickledegg: thank you!
Using Google Pages was not the time-saver I'd hoped it'd be I
agree, it makes the "site" a pig to navigate. I will transfer the
content to some more convenient format soon; just need a long enough
break from jQuery mystification to do it ;)
an
>
>$("#frmTargets").submit(function(){
>var frmTargetsOptions = { 'dataType':'json', target:
> '#output', 'success':addTargetsResponse, 'error':
> addTargetsResponseFailed };
>$(this).ajaxSubmit(frmTargetsOptions);
>return false;
> });
>
Your Jav
Dear all JQuery User.. :D
Can you all help me, I wan to use thickbox plugin with load syntax..
but thick box wont start when I call content_form.php , oh ya here is
mycode :
/*-
INDEX.PHP-
praxis wrote:
: $("div#lt").css("left", eval(parseInt($
: ("div#content").css("left"))-24));
:
: The problem is, I can't get it to happen.
("div#content").css("left") may be returning "auto" instead of
a dimension. Can you provide an example page that illustrates the
problem?
HTH,
Charle
Hi Klaus,
Thanks for your reply, the links are "re-indexed",
too bad the back/forward of the browser is broken now...
Could this be, because the links with the appropriate title that's
requested in the URL
isn't actually on the page anymore... ?
Thanks,
Frizzle.
On Feb 6, 12:27 pm, Klaus Hartl
I like your Blog Cherry, the structure is a bit random and I struggled
to find a way of contacting you or leaving comments etc. Otherwise I
can totally relate to the content as I'm pretty much in the same boat
as you are.
Keep it up, but in my opinion I'd try to make the site a bit easier to
snoo
Hi folks, simple question I think.
Given this html:
THIS IS THE TEXT I WANT
Very nice, GianCarlo.
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of GianCarlo Mingati
> Sent: Wednesday, February 06, 2008 12:54 AM
> To: jQuery (English)
> Subject: [jQuery] sites made with jQuery
>
>
> Well, it is just my new portfo
Danny, thanks for taking the time to explain this, I'm really grateful
and 1 step closer to jQuery enlightenment.
:)
On Feb 5, 11:14 pm, Danny <[EMAIL PROTECTED]> wrote:
> This is a critical point to "get" to use Javascript effectively. The
> line
> $('.poem-stanza').addClass('emphasized');
>
Hi
This is my script:
$("#frmTargets").submit(function(){
var frmTargetsOptions = { 'dataType':'json', target:
'#output', 'success':addTargetsResponse, 'error':
addTargetsResponseFailed };
$(this).ajaxSubmit(frmTargetsOptions);
return false;
}
The example is fine... I edited it from the page by removing
"unrelevant" parts to save space. One "unrelevant" part was rules:
{contactRequest_Email:{required:false,email:true} ==> rules:
{contactRequest_Email:{email:true}. The required:false was the
problem.
On Feb 5, 9:34 pm, Jörn Zaefferer <[
Hi,
I'm trying to migrate from jQuery 1.1.3 to 1.2.2, and I'm having trouble
converting my XPath expressions. In CSS, asterisks are "deep", i.e. they
match all elements that are descendants of the context node. In XPath,
they are not, i.e. they match only the elements that are _direct_
descenda
Hello,
i am just trying to read css-properties from div-elements on my site,
but i always get an undefined and cannot figure out what going wrong.
function showTop(id){
var pos = $jq("#mx-" + id);
alert($jq(pos).css('top'));
}
casavecchio
Hi Micha,
Thanks a lot for the link!
I will try to figure out how they did it.
Though, they seem to use a different JS library
called "Ext JS", it`s not Jquery.
Thanks again,
Ben
p.s. Bist Du Deutscher?
Michael Stuhr wrote:
>
>
>
> http://extjswordpress.net/
>
> no more needed :-)
>
>
Hi Jorn,
Sorry for teh delay - was ill yesterday so took a day off.
Well it looks like you've made some amendments to the code, so I don't
think I can reproduce the steps now, but, this is what *did* happen:
1 - new page, no email or password
2 - click "Email my password"
- Email validati
I am trying to append an input box with quotes in the value, and no
matter how many escapes I put on the quote (thinking maybe the escapes
needed to be escaped), it fails to insert properly, like jQuery just
ignores all escapes and goes straight for the quote.
i.e.- If I try something like the fo
Are there any examples of full RIA applications built using the jQuery
platform? Please post URLs. TIA
On Feb 5, 9:55 pm, frizzle <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I'm using Klaus' History/Remote plugin for Jquery.
> I have the JS included, and the script looks like this:
>
>
> $(function() {
> $('a.remote').remote('#files', function() {
> if (window.console && window.co
Hi :)
I'm trying to use the great jquery UI datePicker, incredible piece of
software, nothing to say.
only problem is that if I put
numberOfMonths: 2
in the options, it doesn't seem to render it correctly.
the two months are not displayed on the same line, but the second is
under the first, and th
thanks Karl, works perfectly!
On Feb 6, 2:50 am, Karl Swedberg <[EMAIL PROTECTED]> wrote:
> Hi Stef,
>
> You can write a custom animation like this:
>
> jQuery.fn.fadeToggle = function(speed, easing, callback) {
>return this.animate({opacity: 'toggle'}, speed, easing, callback);
>
> };
>
> Th
> Anyway, I'm not sure if you've familiar with the thread yesterday.
Nay, I'm not, but thank you for bringing it up.
My apologies Cherry if I confused you; not my intention.
Yes, monologues do sometimes spark sudden understanding (those ah, ha!
moments).
By all means, write for yourself first,
Currently the best approach is a custom method that checks both fields,
but is added only to one of them. If you have two fields side-by-side
its good for message display to add the rule to the right one.
As that question now came up a few times I've added
(http://dev.jquery.com/changeset/46
Well, it is just my new portfolio but it's made with jQuery! ;-)
Plugins used:
jquery.reflect.js
jquery.safe_mail.js
shadowbox-jquery.js
http://summer.gcmingati.net
Cheers
GC
Hi Shogobunky,
The moreSelectors plugin adds a :Contains() selector which is case
insensitive (notice the upper case "C").
(http://plugins.jquery.com/project/moreSelectors)
It is probably overkill to include an entire plugin for that one
feature however, so you could just include the one select
86 matches
Mail list logo