definitely yes, using the livequery plugin :
http://brandonaaron.net/docs/livequery/
.. and much much more !
On Mon, Mar 31, 2008 at 8:54 PM, cmt [EMAIL PROTECTED] wrote:
Hi,
I have a div tag on my page that I am using as a dynamic content
holder. I have a javascript that loads HTML
I also want to unsubscribe. I'm here before it was Google Groups and
in my preferences at Google I always have no e-mails setting checked.
I want to read the list online, but do not want to fetch e-mails, what can I do?
thanks,
Yoyo
Hello folks,
I'm having difficulty getting a successful file upload working with
the form plugin for which I'd appreciate assistance.
My backend is ASP - I can catch the posted elements using
request.form(..), but not via the objUpload object created by my
upload program (Persits.Upload) as
Hi all,
This is a simple quistion (easy to answer ;)) but I have not managed
to find the answer.
Abstracted code:
script
$(document).ready(function() {
for (i = 1;maxPixels = i; i++) {
$(#pixel- + i).pixelIntro();
}
});
// What should this function look like?
Any of these should do the trick:
$('#inp').parent().parent().find('td').size();
$('#inp').parents('tr').find('td').size();
$('#inp').parents('tr').children().size();
$('#inp').parent().siblings().size() + 1;
- jason
On Apr 1, 6:13 am, Emil Zegers [EMAIL PROTECTED] wrote:
Hello,
I have
What dose $.queue and $.dequeue for?I have no idea?
Hello,
I have HTML code like this:
table
tr
td
/td
td
input id=inp
/td
td
/td
/tr
/table
I want to know have many table cells are in the row and have to start querying
from the input element.
When I query $(#inp).parent(td).parent(tr).$(td).length it fails with
the message:
I know this is a really dumb question, but I don't know much about
javascripting. I usually just copy/paste/modify pre-existing scripts.
How can I inject an 's' only when my div that holds search results is
past a certain height?
This is what I had:
var divHeight = $('.resultswrap').height();
Newbie question. I'm trying to right a selector that matches content
in a definition list. At the moment I have
$(dt:contains(' + a + ')).next(dd:contains(' + b + '))
which kind of works, but I really want equals rather than contains.
Somehow I have managed to right 80% of a feature based
Hi,
I'm playing with the superfish menu. Looks fine!
I want to have my sub-submenu's shifted a little bit to the left, so
that it is a bit over its parent menu. I altered this part:
.nav li li:hover ul,
ul.nav li li.sfHover ul {
left:9.45em;
top:-1px;
}
to
.nav li li:hover ul,
ul.nav
Is there anything here that I'm overlooking?
Must be, but I don't see it either. Can you post a link?
I think I found a problem with the plugin. When you use more than 3
fields with remote, you must click 2 times the button to submit it. We
tried everything and it does not work with only 1 click.
Here's an example: http://www.animeschool.com.br/validate/
All fields in a way that does not cause
I have code that looks something like this:
var myTable = $(table/table);
//... code to populate the table ...
for (var x=0; x someArray; x++) {
var curItem = someArray[x];
//PROBLEM LINE
var targetRow = $(#prefix + curItem.id, myTable);
//. . . further code . . .
}
Now my array
You document ready event is perfect for firing off javascript on
existing elements. But thats it. If you create elements on the fly,
you'll have to call the applicable functions you require when you load
the new DOM objects. For instance, if you create a new draggable
element, you are going to
[Copy cat. Well, at least you gave the link.]
Hi, all
I've used jQuery to have the display CSS property of a block that
was initially visible modified to display:none based on user
interaction, which works fine. However, if the user then navigates to
a subsequent page, and then uses the back button on their browser,
the starting page no
http://groups.google.com/group/jquery-en/feeds
get it.
On Apr 1, 12:01 am, Peter Bengtsson [EMAIL PROTECTED] wrote:
I don't want to leave the group but I want to read it online instead.
I went to the Google Groups for jquery and changed my preference to No
email but I'm still getting them.
Hello Mike,
your callback handler seems malformed, see here:
http://docs.jquery.com/Ajax/jQuery.getJSON
the callback is expecting only one parameter.
Also, you might want to register a default ajax error callback handler
on your page if you rely on simpler ajax shortcuts like
jQuery.get
HA!
I'll post the code up here soon so people can have a look. It seems to
me like it would be a fairly common requirement though. Surely there's
a way of re-calling the jQuery stuff after it's been initially called?
Steve
On Mar 31, 6:53 pm, ajpiano [EMAIL PROTECTED] wrote:
STEVE
I
I have a site that I am building:
www.n-prize.com/test_platform/index.html
I use Facebox all over the place on it in a re-styled form.
In two places on the site ('Rules in Full' and 'Press') I have also
placed the jQuery plugin 'serialScroll' inside it. You will see it
scrolling through a list
Hi Mike,
I've finally seen my problem - 6 hours after starting - the forms
plugin that I was using was an old version. I downloaded the most
recent version, changed the options statement appropriately, and
voila - the form works as expected.
Sorry for the false report.
Cheers/Bruce
At
Thanks Jason for your input, it works now.
Hi Chris
yep there's a CMS entirely built from scratch by a friend of mine.
Since the beginning with this project (all my freelance work is done
in my spare time, because I have a full-time job with a banking
group), my intent has been to use as much plugins as possible, writing
the lightest
This is just my opinion, so take it for what it's worth, but I don't
really see why you need AJAX in this instance. Seems like you could
just use a full page refresh and let the menu stay where it is via
your layout. It just seems to me that you would be complicating a
rather simple process
Don't know...
why do you want to build a CMS with ajax calls?
Consider this: you have a page (no frames), you got your animated
accordion menu, you click an item and the whole page reloads with the
requested components and the menu on the left is kept open on the
desired position. Isn't easier?
Hi az,
The only way I know of to deal with binding events to that many
elements directly without incurring huge costs (unresponsive script
errors, etc.) is to do it inline, as you suggested.
Another approach is event delegation, but I haven't set up the plugin
to take advantage of that
LiveQuery is an awesome plugin, and it will certainly do the trick.
Ariel Flesler's Listen plugin is also a great one for this type of
situation.
If you'd like to learn more about why this sort of thing happens and
how you can remedy it on your own using Event Delegation, take a
look
Hi
I came across this smoothgallery site. The gallery is nice and
everything but what i really liked about the main page was the
'dropping and bouncing' of the top menu bar (what, whats new,
downloadetc).
here is a link
http://smoothgallery.jondesign.net/showcase/gallery/
if you miss it
Hi,
If you visit http://www.thejesusmachine.com/index.php, there is a
section in the middle of the page where quotes disappear and new
quotes appear in their place. You have to wait several seconds for
each to cycle out. I don't know the right term for this effect, but
how would I achieve
hi guys!
i would like to know if it is possible to detect or create an event
for when an element 's display property is set to visible?
That's for a small plugin i'm writing, that reveals elements in a list
one by one at a given interval. Of course, the list is hidden at
first. what i would
Marcos Aurélio schrieb:
Jörn Hello!
I think I found a problem with the plugin. When you use more than 3
fields with remote, you must click 2 times the button to submit it. We
tried everything and it does not work with only 1 click.
Here's an example: http://www.animeschool.com.br/validate/
pab schrieb:
$(document).ready(function(){
$(.accordion h2:first).addClass(active);
$(.accordion p:not(:first)).hide();
$(.accordion h2).click(function(){
$(this).next(p).slideToggle(slow)
.siblings(p:visible).slideUp(slow);
Paul Collins schrieb:
Hi all,
I am trying to use an anchor link to submit my form using the
Validator plugin, (so I can change the button to a graphic). I would
like to know what to put into the HREF to submit to the Validator
code.
Currently I have:
href=javascript:$(this).validate();
This
[EMAIL PROTECTED] schrieb:
Has anyone seen or worked with treeView where with using a right click
menu you could add branches to expand the tree?
I have been working on getting a custom tree app built but keep
running in roadblocks up down the branches.
I know that the treeView demo has an
David schrieb:
Please help me.
On Mar 31, 11:29 am, David [EMAIL PROTECTED] wrote:
http://www.contaflux.ro/gestiune/module/intrari.php
I have two problems:
1. This script works good in FF, but it doesn't work in IE6.
I have been trying to solve it for 2 day, but i didn't succeed.
Please
ClaudeFr schrieb:
Hello!
First, thanks for the wonderful validation plugin :-)
Then, what about a java porting of the plugin?
I'm thinking of a java validation library which understands the same
(json) rules written for the jquery validation plugin...or am I
talking nonsense?
What you'd need
[EMAIL PROTECTED] schrieb:
code:
$(#body).animate({height: 'hide'}, 'fast'); //hide the body,
untill get returns...
$.get(thehtml, {sid: Math.random()}, function(thepage){
$(#body)
.html(thepage) //apply
waynes schrieb:
Hi, I am using a variation of the multipage form in the demo and run into a
small problem with the pageRquired function. Seems it does not validate
correctly if you add any custom selectors after the pageRequired. I am
trying to make one field required depending on whether
No dice -- I get an ajaxError and the ready state shows loaded.
When I don't hardcode the absolute path, the ajax call just never comes
back, success, error or otherwise, and the whole script breaks.
Any other ideas appreciated.
-- Josh
- Original Message -
From: Jeffrey Kretz
is it appropriate to use $(this).addClass instead of $(e.target).addClass
inside the handler? it seems to work using $(this) but i'm not sure if
that's the intended implementation.
In most cases, the this and e.target are the same element. They are
only different if you set the indexer to be
Hi Andrew,
You could do something like this (though there must be a cleaner way?):
$('dt').filter(function() {
return $(this).text() == a;
}).next('dd').filter(function() {
return $(this).text() == b;
})
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
this can be done quite easily by using the cycle plugin:
http://malsup.com/jquery/cycle/
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 1, 2008, at 11:59 AM, [EMAIL PROTECTED] wrote:
Hi,
If you visit http://www.thejesusmachine.com/index.php,
Thanks!
On Apr 1, 3:26 am, Alexandre Plennevaux [EMAIL PROTECTED]
wrote:
definitely yes, using the livequery plugin
:http://brandonaaron.net/docs/livequery/
.. and much much more !
On Mon, Mar 31, 2008 at 8:54 PM, cmt [EMAIL PROTECTED] wrote:
Hi,
I have a div tag on my page
I have a page that loads dynamically via innerHTML...I would like to
replace the loading script with something from the jQuery library.
But I cannot find any jQuery function in the documentation that will
do what I need it to do.
I suppose I should explain what I want it to do.
I want another
@Ravisankaran: in which browser did you see the demo?
In my case, in IE6 is not working. In FF I've no problem.
César.
On Mar 31, 7:29 pm, Ravisankaran Ganesan
[EMAIL PROTECTED] wrote:
Hi
Your demo works great with some javascript error
Thanks
Rav
On Mon, Mar 31, 2008 at 6:36 AM, cesar
Hi guys,
I am using greybox. However, I need to append some parameter to the link
before opening the frame by greybox. For instance, I got a link like this :
sendPage.html Send Email
script type=text/javascript
/* ![CDATA[ */
var GB_ROOT_DIR = http://localhost:8080/todo/scripts/greybox/;;
For instance, if you create a new draggable
element, you are going to have to use $(obj).draggable()
the issue we're experiencing is that in some cases $(obj).draggable()
is fine, and then in other cases (like inside of the callback
of .load()), $(obj).draggable() errors out, throwing not a
I have my clueTip sticky and have mouseOutClose: true, This seems to
work great in all browsers except for IE6. Seems like when you
interact and stop moving the mouse for a moment, when the mouse is
moved again it closes, no matter the mouse location. Is there a fix
for this? It is so close
I am trying to disable / enable a select drop down list. Works fine
in IE but not in FF. I have a check box that when checked the select
becomes enabled when unchecked then it become disabeled. Here is my
code:
$('input[type=checkbox]').bind(click,function(){
var
Hi everyone,
I've come across a little annoying issue that I hope is just a mistake
on my part. When trying to animate a table cell from display: none to
display: table-cell, I get nothing. I created a callback function that
confirms the property was not set correctly. However, I am able to set
Hello there.
I'm trying to create a function for a website that is similar to a
hidden from view notification from Gmail. In Gmail when you are
reading a long email conversation, it pops up a small tab with a name
and an arrow to indicate there is more to read but it's hidden from
view.
I would
I am using the blockUI plugin to display a caveat message as soon as a
page loads. The user has to check the i agree checkbox then click
the ok button to access the page. When the ok button is clicked I
set a cookie and run $.unblockUI().
The site is running in secure mode and in IE6 I get the
I have 2 javascript calls in an a href tag. Originally I had just
used standard javascript and put the 2 functions together like this:
a id =functionClick href=javascript:function1(value);
function2(value);click me to execute the 2 javascript functions/a
But it only worked part of the time.
Hello,
I'm using the datepicker with jQuery. It works quite nicely.
I'm going a traditional form post (or a get) using a submit button and
it seems that the content of the text box is left out of the form
post.
What to do?
Thanks in advance.
Darcy
Here's a demo. It's HEAVILY work-in-progress, so you'll find broken
stuff all over the place. Please also excuse the speed of my extremely
shoddy server.
www.rymix.co.uk/jquery/d13
You can see the effect if you click 'customise this page' and then add
a portlet. It will push the portlet into
Thanks guys.
I've decided not to use a custom attribute and am instead using
$.data. The only downside being that the plugin will now require
jQuery 1.2+
On Mar 31, 3:36 pm, Wizzud [EMAIL PROTECTED] wrote:
I, too, would have to be counted on the 'not in favour' side.
Can you not use a class,
I have a feeling I'm just missing something in the documentation, but
is there anyway to get a standard DOM object to return from a jquery
selector?
div id=context
div class=target/div
/div
Essentially I want a way for $('.target', '#context') to give me the
equivalent of
hi there i have a question i make an ajax call with ui.tabs to an php
page in this page loaded through ajax i make a document ready funktion
adwise for the dom is that possible, in ie7 ff opera safari... it
works but not in ie6.
even if i let the document ready function clean no adwise in it i
The JSON example on the autocomplete
site doesn't work as it sends the entire
remote data to the browser instead of
returning just a limited number of items.
Probably becuase it requires a backend page to provide dynamic results
based on the search query.
Note:
When the user starts
Append stopped working for me today suddenly. I want to add a post
for others who may have had the same problem I had. If append
suddenly stops working, or you can't get it to work in the first
place, make sure that the HTML is perfectly formatted. I added an
extra div tag to the html that FF
I have a feeling I'm just missing something in the documentation, but
is there anyway to get a standard DOM object to return from a jquery
selector?
div id=context
div class=target/div
/div
Essentially I want a way for $('.target', '#context') to give me the
equivalent of
Hi Shelane,
I contacted telerik and they sent me this code but I don't know how to
convert it to jQuery. Any ideas?
script type=text/javascript
var cmbBusi = %= cmbBusinessState.ClientID %;
var cmbMail = %= cmbMailingState.ClientID %;
var cmbRes = %=
hello... I cant seem to solve this on my own.
I've built a little tooltip hover widget that remains open even on
mouseout so as to allow the mouse to click inline links etc. but it
does not disappear when the mouse just moves off the span id=tools
I think the code below is totally wrong
i made it, here is the code if someone is interested:
function display(s) {
$('#display').html(s);
};
function mycarousel_itemFirstInCallback(carousel, item, idx, state) {
display( idx +i of /i+ mycarousel_itemList.length);
};
jQuery(document).ready(function() {
$('.target', '#context')[0]
Karl Rudd
On Wed, Apr 2, 2008 at 6:53 AM, Jesse [EMAIL PROTECTED] wrote:
I have a feeling I'm just missing something in the documentation, but
is there anyway to get a standard DOM object to return from a jquery
selector?
div id=context
div
Thanks Hamish but as far as I can tell this is a known problem ie.
retrieving remote JSON-format data using the autocomplete plugin.
Be great to hear from folks who know if this has been fixed in the
latest autocomplete plugin code and if example code exists to show how
it is done. Cheers!
When you say remote, do you mean another domain?? If so, then yes there
are some problems there, but your server side page for getting your
results can handle that.
If you mean remote as in not on the same web page, but from a
file/database accessible in the same domain, then I suspect a
Those are alternate methods to get a jQuery reference to the same
element. But it's still not a DOM reference. For that you'd need the
[0] that Karl indicated. The .get(0) method might be suitable here as
well, but I'm not clear right now if that returns a DOM object or a
jQuery object -
Doh... That's what I get for not fully reading the question.
-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Shawn
Sent: Tuesday, April 01, 2008 4:11 PM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: Standard DOM returned from jQuery
He means:
$('#context .target')[0];
And can also be done as:
$('#context .target').get(0);
Cheers
--
Ariel Flesler
http://flesler.blogspot.com/
On 1 abr, 20:01, Smith, Allex [EMAIL PROTECTED] wrote:
What about
$('#context .target')
Or
$('#context div')
Allex
-Original
Hi, I thought I'd share with you, this small script I needed for
something else I'm making.
It's a simple JS class to parse strings into tokens. It only requires
one or more string/regexes to find the tokens, and optionally, a
function to parse them into something else (could be a hash, an array,
There isn't a fix that I'm aware of, because I wasn't aware of the
problem. thanks for bringing it to my attention. I'll try to look into
it tonight.
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 1, 2008, at 10:36 AM, ajobe wrote:
I have
Hi Sterling,
Sorry for taking so long to get back to you on this.
It's tough for me to know which selector expression you should use
without seeing the data that you're retrieving with the ajax call. I
doubt that it's filter, though, unless it's a top-level element. You
might want to try
Hi again,
Have you found a solution to this yet? It's really hard to know
without seeing an example, since I haven't run across the same
problem. If I had to guess, though, I'd say it's probably related to a
border that is going around the image, but then is being removed on
hover. If
You can initialise the tips in chunks.
Instead of doing something like this:
$('a.tip').cluetip();
Do something like this:
$('a.tip').each(function() {
var t = $(this);
setTimeout( function() { t.cluetip(); }, 10 );
})
You'll still have a bit of a CPU usage spike but it shouldn't
Hi,
You don't need to set an enabled attribute. And instead of setting
el.attr('disabled','disabled'), try el.attr('disabled', true)
Also, I'm a little surprised that your el selector is working:
var el=$(this).parent().next('td select')
This way is more reliable:
var
Ah, great idea! thanks, Karl
--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com
On Apr 1, 2008, at 7:59 PM, Karl Rudd wrote:
You can initialise the tips in chunks.
Instead of doing something like this:
$('a.tip').cluetip();
Do something like this:
I want to add a close icon to the UI tabs to allow the user to close
a tab (remove it from the interface)
I've found this page: http://stilbuero.de/jquery/tabs_3/close.html
which seems like it's supposed to do what I want, however it doesn't
seem to work for me in either FF, IE6 or Safari 3 - I
not sure if my problem actually can be solved - it might be to
inconsistent with the event logic of any programming language... bt
anyhow, here goes:
1. a mouse rolls over an element, firing the mouseover event.
2. the action bound to the mouseover executes
3. the mouse rolls off the element,
Hi,
I am writing a server program that updates a page according to the
current state on the server by sending down jquery commands to be
evaluated.
http://gitorious.org/projects/hunchncells
At the moment, the server is generating strings like this...
$(s).html(
input name='s' value='val'
i tried in ie7 it works great
Rav
On Tue, Apr 1, 2008 at 6:38 AM, cesar [EMAIL PROTECTED] wrote:
@Ravisankaran: in which browser did you see the demo?
In my case, in IE6 is not working. In FF I've no problem.
César.
On Mar 31, 7:29 pm, Ravisankaran Ganesan
[EMAIL PROTECTED] wrote:
Hi
Hey Brice! Long time no chat.
I was curious if jqModal is compatible with jQuery v1.2.3. I haven't
tried it out yet but before I rack my head, I wanted to ask.
Rey
Hey Rey, it is, I am using it in my WP plugin with no issue.
On Tue, Apr 1, 2008 at 10:34 PM, Rey Bango [EMAIL PROTECTED] wrote:
Hey Brice! Long time no chat.
I was curious if jqModal is compatible with jQuery v1.2.3. I haven't
tried it out yet but before I rack my head, I wanted to ask.
Sweet! Thanks for the feedback Ben! :)
Rey
Benjamin Sterling wrote:
Hey Rey, it is, I am using it in my WP plugin with no issue.
On Tue, Apr 1, 2008 at 10:34 PM, Rey Bango [EMAIL PROTECTED]
mailto:[EMAIL PROTECTED] wrote:
Hey Brice! Long time no chat.
I was curious if jqModal is
http://docs.jquery.com/Events/hover
--
Ariel Flesler
http://flesler.blogspot.com
On 1 abr, 21:26, jquertil [EMAIL PROTECTED] wrote:
not sure if my problem actually can be solved - it might be to
inconsistent with the event logic of any programming language... bt
anyhow, here goes:
1. a
Hi,
If I use ajax to get a remote page, is it possible to process its dom
just like the current HTML?
E.g.
$.get(data.url, function(data) {
// data is HTML, I want to process data, using JQuery , e.g. get a
particular class
}
Thanks.
86 matches
Mail list logo