Thanks Karl, I really appreciate the help!
On Jul 24, 7:17 pm, "Karl Rudd" <[EMAIL PROTECTED]> wrote:
> The "i" in the click function (closure) is just a reference to the "i"
> outside. That "i" changes with each iteration of the for loop.
>
> If you want to save a copy of the value of "i" then c
Thanks Jörn,
but having already altered the code which produces the category list
to deliver what is needed for one list I don't really want to have to
start again - I'd rather get what I have working if possible.
On Jul 24, 11:48 pm, "Jörn Zaefferer" <[EMAIL PROTECTED]>
wrote:
> Give this fork a
may be the following will work.
jQuery(function($) {
$("a.help").bind('click',
function(){$('.help-popup').hide();$
(this.hash).show();});
});
On Jul 24, 3:28 pm, IschaGast <[EMAIL PROTECTED]> wrote:
> I am busy making something like
> this:http://juicystudio.com/exp
On Jul 25, 7:22 am, Henry <[EMAIL PROTECTED]> wrote:
> for (var i = 1; i < totalPages + 1; i++) {
> $("#pages_panel").append($(" " + i + "")
> .click(
> (function(x){
> return (function(){
> pageClicked(x);
> console.log("i:" + x);
>
> I got one question mark over my head and I please someone for little
> help.
>
> I have this
>
> $j.ajax({
> type: "POST",
> url: domain+"pages/groups/add/about",
> data: "action=start",
> error: function(msg){
> $j("#progre
I got one question mark over my head and I please someone for little
help.
I have this
$j.ajax({
type: "POST",
url: domain+"pages/groups/add/about",
data: "action=start",
error: function(msg){
$j("#progress").addClass("progr
I just tried this and Henry's right... assigning it within the closure
doesn't make any difference.
Does anyone know of an efficient approach to accomplishing what I'm
trying to do, assigning a different click handler per page number?
Perhaps I could access the text inside the local span (1, 2,
> Hi
>
> I have adapted a script found in the cycle demo website, to add
> multiple slideshows to a page, however, I am experiencing a problem.
>
I don't see anything wrong with the code you posted. Here's a demo
using mostly your code:
http://www.malsup.com/jquery/cycle/test/natural.html
Mi
The array does have the ids, but an alert doesn't show the inner
content of arrays.
Ca Phun Ung's solution seems 100% correct.
--
Ariel Flesler
http://flesler.blogspot.com/
On 25 jul, 14:57, hubbs <[EMAIL PROTECTED]> wrote:
> Still trying to get this to work, but it does not seem to. Will this
Does anyone know if there's a way to validate a set of elements (ie
within a div) without having to pre-validate the actual form to start
with?
Problem I have is that I have a page long form and for one part of it
(one of the blocks as a div), I am presenting as a dialog (using
blockui however al
Still trying to get this to work, but it does not seem to. Will this
work getting the id attribute? This was my goal.
On Jul 23, 10:53 pm, Ca Phun Ung <[EMAIL PROTECTED]> wrote:
> hubbs wrote:
> > Ariel,
>
> > I tried this but the alert just says object Object, I was expecting it
> > to alert m
Yes that is working fine !
thanks a lot
2008/7/25 Karl Swedberg <[EMAIL PROTECTED]>:
> Hi there,
>
> I'm pretty sure you could do it this way:
>
> $('div:not(:has(h3))').css('display','block');
>
>
> --Karl
>
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>
>
>
>
> O
Hi everyone,
I'm having the hardest time getting this to work. On a button click,
I want to animate every div, one after the other, that is a child of
a div with the id "mainpage".
This is the code I'm using, but I can't seem to make it function
correctly:
$("#button").click(function(){
Oh sweet, thanks you two, that clears it up for me. I knew I was
missing something.
Cheers,
Dana
On Jul 24, 2:52 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> And just so it makes sense on why Karl's answers are what they are is
> that in
>
> $('img.thumb').each(function() {
> var alt = thi
Not in IE. There are certain hacks, that have a table scrollbar
overlap the side of the tbody, simulating a tbody scrollbar, and stuff
like that.
You'll need to google that.
--
Ariel Flesler
http://flesler.blogspot.com/
On 25 jul, 01:20, jack <[EMAIL PROTECTED]> wrote:
> HI, all
>
> Is that poss
Im new with jQuery and I have quite quickly turned a 54 line script
into a 5 line jQuery script :)
However all I want to do now is run an ajax request on the form submit
but the problem I am finding is that it seems the form gets submitted
before the ajax query returns its data - thoughts?
$(do
Try this. this should work!
$("a.help").click(function() {
var showing = $(this.hash).css('display');
$('.help-popup').hide();
if(showing == 'none')
$(this.hash).show();
return false;
});
Thanks,
-Syam
IschaGast wrote:
>
>
>> may be the following will work.
>>
>> jQuery(function($)
I have two jQuery books and scant coverage of $(this) between them. I
need to know if $(this) has parents, children and siblings, and if so
how to access them. Here's why...
I have a page with six one-line forms on it. I put the forms in divs
and hide the divs on page load based on the class of t
I guess your checkbox is inside your table row. Something like this:
If that's the case, the following should work. You can adapt this example to
your specific needs too.
$("#input:checkbox").click(function(){
if($(this).attr('checked') == 'checked'){
$(this).parents("
Yes! I was testing next() just as you replied. Thanks, it works. I can
now grab a group of ID elements (hid1, hid2, ...) and fire the toggle
on just the one that is clicked. Sweet.
$('[EMAIL PROTECTED]').click(function()
{
$(this).next().toggle();
r
Hi,
i'm looking for a selector which made the inverse of the ':has' selector
like ':hasnot'
I've x div wich have or not, and i 'will be aible to catch the div
which has not ...
Actually i use 2 line to show the div i want (by default, all the div are
hide):
$('div').css('display','bloc
On Jul 25, 3:17 am, Karl Rudd wrote:
> The "i" in the click function (closure) is just a reference
> to the "i" outside. That "i" changes with each iteration of
> the for loop.
>
> If you want to save a copy of the value of "i" then create
> a _local_ var _inside_ the closure and assign it the
> v
hello,
I'm trying to parse some info from an XML file with a filter to get
only one part of a the infos.
it doesn't seem to work.
can someone help.
here is my code:
function getImageName(marque) {
$.get("xml/listeProduits.xml",{},function(xml){
// Build an
Maybe an example helps to explain, as I'm not sure I understand your question.
$("#myform").validate();
Request being sent to server for remote validaiton: GET
/unique-username?firstname=Pete
The response-text must be "true" or "false" (without the quotes) and
will be interpreted as JSON.
>I have two jQuery books and scant coverage of $(this) between them. I
>need to know if $(this) has parents, children and siblings, and if so
>how to access them. Here's why...
>
>I have a page with six one-line forms on it. I put the forms in divs
>and hide the divs on page load based on the clas
Really nice. The demo page is a huge help. A quick test revealed an issue:
If you start selection on a LI and end on a non-adjacent LI (that is, 1-3,
1-4, 2-4) the first and last will be selected, but the middle one(s) will
not.
- Richard
On Fri, Jul 25, 2008 at 9:49 AM, Finding_Zion
<[EMAIL PRO
Hi All,
I just have few questions about the use of jQuery Validation remote
rule.
How remote rule treat data being passed through querystring? What is
the form of data being passed through querystring? Is it case
sensitive?
I hope you can give me answers to those questions.
Thanks,
Nimrod
Thanks,
It works great.
On 24 juil, 21:13, Mike Alsup <[EMAIL PROTECTED]> wrote:
> On Jul 24, 10:41 am, Anatalsceo <[EMAIL PROTECTED]> wrote:
>
>
>
> > Hello,
> > I've posted an unresponded post few days ago concerning cycle function
> > in jquery.
>
> > I've change completly the function I was
I added a demo page to the plugin.
http://extra.gnpcb.org/demo/wrapSelection/test.html.
I've verified that it works on jquery 1 and higher. Also that it
works with Internet Explorer 7 and Firefox 2.
Any feedback on problems or things that can be made better would be
appreciated.
Jeremy
On J
Hi everyone,
I'm pretty new to Javascript and Jquery. Despite my ignorance about
Javascript basics, Jquery lets me do useful stuff.
I've created a join statement and get a "missing ] after element list"
error in Firefox for PC. I also have a setTimeout statement to
prevent unresponsive script
Same as css. Where
$(".highlight-with-red") // selects all elements with class, lis and ps
$("li.highlight-with-red") // selects only lis with class
- Richard
On Fri, Jul 25, 2008 at 1:20 AM, Thalia <[EMAIL PROTECTED]> wrote:
>
>
> I just want to select all LI with class="highlight-with-red",
$("#myTable").tablesorter({ headers: { 1: {sorter: false }} });
$("#myTable").bind("sortEnd",function() {
$("#myTable tbody tr").each(function(index, item){
$("td:first", $(item)).html(index+1);
$("li.highlight-with-red") wouldn't wors?
This is a carousel. It was originally developed just for this site, but Paul
(the author) has mentioned plans to release it in the future as a jQuery UI
plugin, as there's been some interest in it. See:
http://groups.google.com/group/jquery-ui/browse_thread/thread/b57bf99f2abf6079
Until then you
You bind them to a callback function that actually moves your element
around. Like so:
function docmove(ev) {
// use ev (event object) to get current mouse position, compare to
original
// move element based on difference
}
$("#someTargetElement").mousedown(function(ev) {
// use ev to get s
you can use $.ajax(options) function for this. In that function
specify the dataType as "json".
On Jul 24, 7:19 pm, S P Arif Sahari Wibowo <[EMAIL PROTECTED]> wrote:
> Hi!
>
> I am working with getJSON to get JSON data via HTTP GET request.
> It works well, but sometime the server itself fail to
css is needed.
On Jul 25, 12:11 pm, Bhaarat Sharma <[EMAIL PROTECTED]> wrote:
> Hi
>
> I just saw the new homepage for jquery UI. I must say it looks
> fantastic.
>
> Long time ago I saw a jquery plugin that does something similar to
> what they have done for their demo section.
>
> Does someone
I tried turning off "Friendly Errors". still it is giving the same
error. I am using XMLHttpRequest.status and XMLHttpRequest.statusText
in the error function to determine the error. is there any other
property that i can use?
On Jul 24, 11:59 pm, MorningZ <[EMAIL PROTECTED]> wrote:
> Turn off "F
hi
i'm using a combination of jqDnR and jqModal to load some content in a
draggable modal style window. this content is requested through ajax.
everything works fine, using this method:
$('#myPopUp').jqm({ajax: 'some-url', trigger: 'a.trigger'});
$('#myPopUp').jqDrag();
the problem is, my cont
Syam,
Thanks for that! works perfectly!
Regards,
Robin
2008/7/25 Syamsundar <[EMAIL PROTECTED]>:
>
>
> Robin,
>
> Once you clone with 'true', then just unbind the event from this row.
>
> Try this:
>
> $(document).ready(function() {
>// When last input-text is click/selected, add new r
Hi,
I'm using the tablesorter plugin. The first column of the table is
"Position" (i.e. 1,2,3 etc). When I sort, I'd like this column to stay
the same (e.g. if the table is resorted by a criteria, they are still
placed with 1 at the top). Is this possibel or will I have to abandon
tablesorter and
Hi, I've been trying to do this same thing (move a draggable around by
clicking on something else) but I can't figure out Richard's
suggestion. He says to "bind document.mousemove and document.mouseup"
but I can't figure out what to bind it to...what exactly do I need to
put in the callback? Not
i'd like to know is there any available format to re-form the data
from the php executing result?
HI, all
Is that possible, within a table, I can have a tbody with vertical
scrolling feature and keep thead fixed with no scrolling? Thank you in
advance!
Jack
Take a look at the source code on this example:
http://jquery.bassistance.de/autocomplete/demo/json.html
Jörn
On Tue, Jul 22, 2008 at 10:29 AM, Magnus <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> I use the autocomplete plugin, but don't have a JSON that consists of
> an simple array with the results.
45 matches
Mail list logo