[jQuery] Re: element creation using wrap behaves oddly

2008-09-25 Thread darren
yea! weird huh? yes the workarounds do work (and there's even a few more that i can think of) but i was simply scratching my head when i came up against the problem. ill see if i can make sense of the source, and perhaps submit a ticket so that someone with a better understanding can give it a l

[jQuery] Re: Callback to home page from 2nd page

2008-09-25 Thread ricardobeat
Sounds like something that should be done server-side with a database. Anyway, the only way to pass javascript data to another page is via the location.hash (http://page.com/ index.htm#data1=yuck,data2=yack,data3=yock). You turn the data into a string, attach it to an or directly change the loca

[jQuery] Re: get html of check box

2008-09-25 Thread Eric
Quick, but not dirty MorningZ! Good code :-) Annotation: $(document).ready(function() { // DOM is ready: // when we click on a checkbox $(":checkbox").click(function() { // find the next element and take the text of it. alert($(this).next().

[jQuery] Re: Safari Hide() - Everything I am running across fails.

2008-09-25 Thread Eric
You said that this is a "popular bug". Have you found it mentioned on other sites? If so, please let me know what solutions they suggested. My first guess is related to your mention of "The containers". Do you have more than one element with id 'cardsContainer'!? If so, that could be your pro

[jQuery] Re: FlexiGrid and JQuery Problems...

2008-09-25 Thread Eric
Hmmm... Well, it's valid JSON (http://www.jsonlint.com/), and valid Javascript. I removed "< %=Html.BuildUrlFromExpression(c => c.UserList(ViewData.Model.ID))%>" from the code (but left the surrounding 'quotes'), and ran it through JSlint (http:// www.jslint.com/) and it only complained about $

[jQuery] Coda Slider scrolls up and down in Safari

2008-09-25 Thread althanis
Hey all, I'm trying to get the Coda Slider over at http://jqueryfordesigners.com/coda-slider-effect/ to work, and it's working perfectly in IE6, IE7 and Firefox 3. However, in Safari when the site initially loads it scrolls left to right. If I hit Apple + R to reload it continues to scroll up and

[jQuery] Re: jquery + openx (via ajax) problem?

2008-09-25 Thread Ditikos
Yes, true, I wrote it wrong on the post. But the problem stays. Every time I call a $.get or $.ajax it loads the page. When the settimeout time reaches, the page reloads with only the banner, no other content. On Sep 25, 11:23 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > there is no $(document).

[jQuery] Re: element creation using wrap behaves oddly

2008-09-25 Thread darren
i don't see how creating the element, assigning the handler, and replacing or appending something works... yet, creating the element, assigning the handler, and wrapping it doesn't. can you help me understand what the difference is? On Sep 25, 5:39 pm, ricardobeat <[EMAIL PROTECTED]> wrote: >

[jQuery] Closing modal element when clicking outside its border ...

2008-09-25 Thread [EMAIL PROTECTED]
Alright, here's the deal. When a user clicks on a button, a form drops out that sits above the page's content. How would I close this form if the user decides to click else where?

[jQuery] Re: Unable to get the number of items in a combobox

2008-09-25 Thread equallyunequal
The length property in a jQuery object or $("#emplist").length refers to the number of elements that the jQuery selector matched. So, if your selector was "div", $("div").length would be the number of div elements in your document. $("#id") doesn't return a single DOM element, it returns a jQuery

[jQuery] Re: disable click on animated objects

2008-09-25 Thread Mauricio (Maujor) Samy Silva
Sorry didn't work! I solved the problem by myself. I figured out that a transparent div laying over and during the animation acts as a mask blocking the click. :-)) Thanks to CSS. M. -Mensagem Original- De: "ricardobeat" <[EMAIL PROTECTED]> Para: "jQuery (English)" Enviada em: quin

[jQuery] Re: Unable to get the number of items in a combobox

2008-09-25 Thread RobG
On Sep 26, 9:21 am, MorningZ <[EMAIL PROTECTED]> wrote: > Well, your W3C specifications none the less, Not mine, the W3C's. > when you get a > element by a jQuery selector, If you had quoted properly it would be clear that I was replying to your use of getElementById and the inference that t

[jQuery] Re: disable click on animated objects

2008-09-25 Thread ricardobeat
You could try to wrap the whole function (inside click) in another IF statement: if (!$(this).is(':animated') ) { blabla; } thus code will only execute if the element is not being animated at the moment. You might as well have to remove the hand cursor to be coherent. On Sep 25, 6:11 pm, "M

[jQuery] Re: Hierarchical .parents()

2008-09-25 Thread Richard D. Worth
Yes, it will always be in hierarchical order. There are at least two unit tests that cover this: http://dev.jquery.com/view/trunk/jquery/test/unit/core.js lines 1294,1295 - Richard On Thu, Sep 25, 2008 at 3:54 PM, jasonkarns <[EMAIL PROTECTED]> wrote: > > Will the .parents() method always retu

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-25 Thread ricardobeat
Oh, that's right. But I think the best way would be $(document).ready(function(){ //theother code blabla //now that the iframe element exists $(frames.testframe.document).ready(function(){ }); }); On Sep 25, 4:56 pm, Paul Mills <[EMAIL PROTECTED]> wrote: > The ready functio

[jQuery] Re: element creation using wrap behaves oddly

2008-09-25 Thread ricardobeat
It doesn't work for you because my code is not missing a ), actually I made a mistake on rewriting it. I'm assigning the click handler to the 'b' element which was wrapped, it's not inside the wrap function. It should read: $('b').wrap('').click(function(){ alert("foo"); }); The second snipp

[jQuery] Re: Get parent url and add to a textarea

2008-09-25 Thread ricardobeat
Now I'm completely lost. Could you post a test page? So where exactly is $("#message").get(0).value += window.opener.location.href; running? On Sep 25, 4:29 pm, stinhambo <[EMAIL PROTECTED]> wrote: > Not at the moment. If I put it inside this - > > $('a[rel="email_page"]').click(function(){ > >

[jQuery] Re: Callback to home page from 2nd page

2008-09-25 Thread Kavitha reddy
After submittinh home page I will be redirected to next page . So Upon clicking "Start " again I should be redirected to HomePage with only two questions to be displayed instead of all. On Fri, Sep 26, 2008 at 1:45 AM, ricardobeat <[EMAIL PROTECTED]> wrote: > > Hi! > > Could you rephrase your que

[jQuery] Re: Unable to get the number of items in a combobox

2008-09-25 Thread MorningZ
Well, your W3C specifications none the less, when you get a element by a jQuery selector, you have a wrapper around the (ie/ parent) element itself, and as you are finding out, "length" (http://docs.jquery.com/Core/length) or it's equivalent "size" will return 1 because that's all it has in the

[jQuery] can't change values in appended divs

2008-09-25 Thread kredd
hello all, i'm allowing users to append and remove divs at will. the divs are numbered. if there are 5 divs and user removes div #2 i need to subtract 1 from divs #3,4,5 so that they become divs #2,3,4. here is my appending code: $('#schematics_main').append("" + total_hotspots + "HS "+ (total

[jQuery] Re: Unable to get the number of items in a combobox

2008-09-25 Thread RobG
On Sep 26, 7:08 am, MorningZ <[EMAIL PROTECTED]> wrote: > "So I tried the "standard" way: > > document.getElementById("emplist").length" > > that *should* be > > document.getElementById("emplist").options.length; *Should*? The HTMLSelectElement has a length property that is the number of optio

[jQuery] Re: Safari Hide() - Everything I am running across fails.

2008-09-25 Thread MorningZ
have you ruled out jQuery as the problem? if document.getElementById("cardsContainer").style.display = "none"; doesn't work, then the problem is with Safari's dealings with your design/layout

[jQuery] Re: Safari Hide() - Everything I am running across fails.

2008-09-25 Thread MorningZ
Gave you ruled out jQuery as the problem? if document.getElementById("cardsContainer").style.display = "none"; doesn't work, then the problem is with Safari's dealings with your design/layout

[jQuery] Re: Safari Hide() - Everything I am running across fails.

2008-09-25 Thread urbolutions
Hi all, I am pretty desperate on this issue. Anyone encoutered this before? Thanks for anything you can offer! On Sep 25, 10:04 am, urbolutions <[EMAIL PROTECTED]> wrote: > This is the popular bug wherein Safari refuses to hide elements. > > Environment/code setup: > > - JQuery 1.2.6.min > - H

[jQuery] Re: disable click on animated objects

2008-09-25 Thread Mauricio (Maujor) Samy Silva
Hi Ricardo, Grato pela resposta. Você é bem ativo na lista heim! Sorry didn't work. :-( The method stop(), stops an animation. I need disable the click event while the animation is running. Abraço Mauricio -Mensagem Original- De: "ricardobeat" <[EMAIL PROTECTED]> Para: "jQuery (Eng

[jQuery] Re: Unable to get the number of items in a combobox

2008-09-25 Thread MorningZ
"So I tried the "standard" way: document.getElementById("emplist").length" that *should* be document.getElementById("emplist").options.length; in jQuery, it would be: $("#emplist option").size();

[jQuery] FlexiGrid and JQuery Problems...

2008-09-25 Thread Jack
I'm using FlexiGrid with JQuery 1.2.6 and ASP.NET MVC Preview 3. I seem to be able to get JSON data out of the controller properly, but the data won't render in the FelxiGrid. Here is the data from the controller action: [{"ID":{"Length": 36},"UserName":"joe_user_TRPP","FirstName":"","LastName":"

[jQuery] Unable to get the number of items in a combobox

2008-09-25 Thread Pete
I don't have a lot of experience with javascript and jquery so this question may have an obvious answer that I missed. I have a combo box in jquery that I need to get the number of list items from. I used the following syntax to get the number of items in the list (based on some searching I did)

[jQuery] [validate] Get form validation state without triggering errors

2008-09-25 Thread dl
I'm trying to check if a form has been filled out properly before enabling the "Next" button. Unfotunately, when I call the method jQuery("#myForm").valid() the error messages are all triggered. I want the error message in there because I want the user to be able click the disabled next button a

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-25 Thread Paul Mills
The ready function fires when the iframe is ready in the DOM, not when the contents of the iframe are ready. I think you need to use the load function - a bit like this: $(window).load(function () { $('#test', frames['testframe'].document).click(function()

[jQuery] Hierarchical .parents()

2008-09-25 Thread jasonkarns
Will the .parents() method always return in hierarchical order? Say I have: If I do $("#target").parents("ol").eq(0), will I *always* get #inner, or is the order of the resulting jQuery matched elements arbitrary? ~Jason

[jQuery] Bind resize of window doesn't run when in fullscreen(opening a sidebar for example)

2008-09-25 Thread ioor
here's my code: $(document).ready(function() { $(window).bind("resize", function(){ iframesize(); }); function iframesize(){ wheight = $(window).height(); // wwidth = $(window).width(); $('iframe').height(wheight - 30); // $('iframe').width(wwidth); }; iframesize(); }); W

[jQuery] Re: get html of check box

2008-09-25 Thread claudes
perfect. got it to integrate swimmingly. thanks c.s MorningZ wrote: > > > Here's some quick and dirty (and working) code > > http://paste.pocoo.org/show/86213/ > > -- View this message in context: http://www.nabble.com/get-html-of-check-box-tp19675962s27240p19677870.html Sent from the

[jQuery] Re: multiple event handlers and sequence

2008-09-25 Thread ricardobeat
Events are executed in the order which they are bound. $('').click(function(){ a }; $('').click(function(){ b }; will always occur in order a,b for the same event. You could write some code to change it but it's not a simple task. - ricardo On Sep 25, 2:52 pm, chadmichael <[EMAIL PROTECTED]> w

[jQuery] Re: jquery + openx (via ajax) problem?

2008-09-25 Thread ricardobeat
there is no $(document).write() function, I think you mean $ (document).ready() right? On Sep 25, 12:43 pm, Ditikos <[EMAIL PROTECTED]> wrote: > Hello, > > I am trying to implement a code that will load a banner zone from > openx (openx.org), AFTER the rest of the site loads. I have the > invoca

[jQuery] Re: disable click on animated objects

2008-09-25 Thread ricardobeat
e aí cara, já vi teu site por aí :) change the line that reads $(this).attr({width: 100, height: 75}); to $(this).stop().attr({width: 100, height: 75}); When you click on a thumbnail, it resizes the image and starts the animation, but the 'click' event is still bound to it. It does everything

[jQuery] Re: element creation using wrap behaves oddly

2008-09-25 Thread darren
sorry for the double post, not sure how that happened. ricardo, your code is missing a closing ) at the end. it should be... $('b').wrap($('').click(function(){ alert("foo"); })); your element creation: $('') is equivalent to the shorthand i used: $("") in either case, the click handler doe

[jQuery] Re: [validate] write a metadata within group

2008-09-25 Thread Jörn Zaefferer
A draft of what I was referring to: var groups = {}; $("#myform input").each(function() { var metadata = $(this).metadata(); if (metadata.group) { groups[this.name] = metadata.group; } }); $("#myform").validate({ groups: groups }); Untested. Jörn On Thu, Sep 25, 2008 at 9:36 PM, Ale

[jQuery] Re: get html of check box

2008-09-25 Thread MorningZ
Here's some quick and dirty (and working) code http://paste.pocoo.org/show/86213/

[jQuery] Re: [validate] write a metadata within group

2008-09-25 Thread Alexsandro_xpt
Uhmmm I ask that becouse I had a PHP framework where in your View layer I wrote something like that: Date:{input type="text" name="dtnasc" value="$dtnasc" mask="99/99/" validate="[(required:true, dateITA:true, messages:[(required:'Favor preencher este campo!', dateITA:'Favor preencher com dat

[jQuery] Re: get html of check box

2008-09-25 Thread claudes
actually what i'm after is the label "hello" so if the checkbox is checked, i'd like to alert the label, which is hello tlphipps wrote: > > > I'm guessing what you're after is just getting the value of the > checkbox. What MorningZ said is absolutely correct. I would suggest > you try: >

[jQuery] Re: Get parent url and add to a textarea

2008-09-25 Thread stinhambo
Not at the moment. If I put it inside this - $('a[rel="email_page"]').click(function(){ window.open(this.href,'mywindow','height=580,width=400,scrollTo,resizable=0,scrollbars=0,location=0','false'); return false; }); the popup comes up but the parent also loads the form and no URL gets

[jQuery] Re: Jorn's form plugin and accordion - ajax validation how to....

2008-09-25 Thread Jörn Zaefferer
There are examples for ajax validation here http://jquery.bassistance.de/validate/demo/milk/ (username, email) and here: http://jquery.bassistance.de/validate/demo/marketo/ (email) Jörn On Thu, Sep 25, 2008 at 7:32 PM, Web Specialist <[EMAIL PROTECTED]> wrote: > Jorn makes a very good job with fo

[jQuery] Re: [validate] write a metadata within group

2008-09-25 Thread Jörn Zaefferer
This isn't, yet, supported. You'd have to read the metadata manually and initlize the plugin based on that. Jörn On Thu, Sep 25, 2008 at 5:34 PM, Alexsandro_xpt <[EMAIL PROTECTED]> wrote: > > I wish use groups option to display a single message for multiple > elements, but with metadata behavior.

[jQuery] Re: Sort of like tabs... need to start with a random div and swap it out when clicking a link

2008-09-25 Thread illtron
I've been playing around with this, but I can't come up with a good solution. It seems like I can only break another thing when I fix one. On Sep 24, 4:24 pm, illtron <[EMAIL PROTECTED]> wrote: > I think I'm pretty close to getting this to work, but it's not quite. > This is essentially tab funct

[jQuery] Re: get html of check box

2008-09-25 Thread tlphipps
I'm guessing what you're after is just getting the value of the checkbox. What MorningZ said is absolutely correct. I would suggest you try: Then in jQuery: $(":checkbox").click(function(){ alert(this.value); }); On Sep 25, 1:53 pm, MorningZ <[EMAIL PROTECTED]> wrote: > To start with,

[jQuery] Re: get html of check box

2008-09-25 Thread claudes
my error: hello it is just a basic example of what i have marked up MorningZ wrote: > > > To start with, that html isn't valid, as you have > > hello > > with the checkbox ending in "/>", which closes the tag, hence > the "hello" is not inside the input tag. even if you take that >

[jQuery] Re: get html of check box

2008-09-25 Thread MorningZ
To start with, that html isn't valid, as you have hello with the checkbox ending in "/>", which closes the tag, hence the "hello" is not inside the input tag. even if you take that out, pretty sure that's not valid html anyways

[jQuery] get html of check box

2008-09-25 Thread c.s
i'm up against deadline and i cannot figure this out for life of me. i know it is simple but just starting jquery/dom exploration hello if user clicks checkbox...i need to alert the value of the label how do i do this..i was using .html() but it also alerted and all i want to alert is hello

[jQuery] Re: Validation Plugin - How to Validate input="file"

2008-09-25 Thread Jörn Zaefferer
Could you post a testpage? Usually file inputs work just fine, see this demo: http://jquery.bassistance.de/validate/demo/errorcontainer-demo.html Jörn On Thu, Sep 25, 2008 at 4:03 PM, Adam <[EMAIL PROTECTED]> wrote: > > I'm trying to validate that someone has selected a file for upload > before s

[jQuery] Re: frames['results'].location.href > jQuery

2008-09-25 Thread ricardobeat
oops. I was going to say something to Michael but I think I quit :D On Sep 25, 1:42 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Michael, > > In case you need it: > > $('#frameid').attr('src','http://'); > or > $('iframe').attr('src','http://'); > > You have to access the parent's element, not t

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread ricardobeat
When you copy the content with jQuery('#content').html(content); you're still duplicating the #item1_content_info ID, that's the source of your problems. I took the liberty to duplicate your page and alter the script (working in IE): http://ff6600.org/j/toggle.htm or for a more semantic solution

[jQuery] Re: no callback for css/addClass?

2008-09-25 Thread Alex Weber
hey thanks for bringing that to my attention about the image, fixed now. although i'd say you jumped the gun a little on screaming "poor design" and "misused jQuery"... like i said i did this website for close to nothing for a family member (while having full-time job, uni and freelance on the sid

[jQuery] Re: Getting Superfish menus to overlap in IE

2008-09-25 Thread Aaron
Ok, I was wrong, it is working. I happened to be on a page where there was another error having to do with the Superfish declaration that was causing problems. Still working on that other issue with jQuery conflicting with LightWindow (Joel has already responded to that post). As a side note, I d

[jQuery] Re: - Object Oriented / PHP5 - Possible BUG with Jquery

2008-09-25 Thread Mario Moura
Hi Ricardo Thanks. Works fine now! You saved my day! Regards Mario NOT A BUG!! MY FAULT! SOLVED 2008/9/25 ricardobeat <[EMAIL PROTECTED]> > > I have no clue on the PHP side of this, but try this script instead: > > > $(document).ready(function() { > > $("#out").click(function(){ >

[jQuery] multiple event handlers and sequence

2008-09-25 Thread chadmichael
Is there any way to control the order of multiple event handlers registered? If not, does anyone have an idea of how to make a form that uses onchange to submit the form ( i.e. i don't want a submit button i just want the form to submit when someone leaves a field, provided everything has been fi

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-25 Thread ricardobeat
You need to put the code inside the $(document).ready function, it's not finding the iframe because the DOM is not loaded. - ricardo On Sep 25, 12:36 pm, hubbs <[EMAIL PROTECTED]> wrote: > Well, I tried this, but again it is not working, I really must be > missing something. > > All I want to do

[jQuery] disable click on animated objects

2008-09-25 Thread Maujor
I am experiencing an undesirable behavior when click on an object while it is sliding down. I hosted a test case and you can see the problem at: http://www.maujor.com/temp/jquery/ Thanks for any help

[jQuery] Jorn's form plugin and accordion - ajax validation how to....

2008-09-25 Thread Web Specialist
Jorn makes a very good job with form and accordion plugins integration: http://jquery.bassistance.de/validate/demo/multipart/ How can I make that example works with ajax validation? Cheers Marco Antonio

[jQuery] Re: Form submitted twice in IE ?

2008-09-25 Thread CoyoteRunner
I ran into something like this myself but I can't remember if it was with IE or Firefox . . . it ended up being the page was having an issue with the favico not being set -- for some reason the code combo I had was causing that page to be submitted twice. Look into that possibility if you don't

[jQuery] jquery + openx (via ajax) problem?

2008-09-25 Thread Ditikos
Hello, I am trying to implement a code that will load a banner zone from openx (openx.org), AFTER the rest of the site loads. I have the invocation code (either javascript or php) but when I am calling the code from a local file, for example testban.php (the php version), The page loads but when

[jQuery] Re: Superfish v1.4.8 using two menus one under another

2008-09-25 Thread Xiqum
You can try this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/26925831a8b2b09e On 24 sep, 21:44, Ilya <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to use Superfish v1.4.8 with two menus located one under > another. Everything looks almost great except for IE6 -- the

[jQuery] Backward compatibility & Roadmap

2008-09-25 Thread alecs
Are the new releases of jquery backward compatible with the old code? Are there any roadmap for jquery? I haven't found any ... For instance will jquery 1.3 support old 1.2 or 1.1 code ? Have you ever faced with the problem of a new browser and your written code not working in it? Thanks in advanc

[jQuery] Re: - Object Oriented / PHP5 - Possible BUG with Jquery

2008-09-25 Thread ricardobeat
I have no clue on the PHP side of this, but try this script instead: $(document).ready(function() { $("#out").click(function(){ $('form').submit(); return false; }); }); On Sep 25, 11:40 am, "Mario Moura" <[EMAIL PROTECTED]> wrote: > Object Oriented / PHP5 - Possibl

[jQuery] Re: no callback for css/addClass?

2008-09-25 Thread ricardobeat
Sorry for being rude and I know you didn't ask for design tips, but why on earth is that banner image inside the first list item? This is a clear example of misused jQuery aiding poor design, you should be very happy it works the way it is! :D But seriously, there is no need for the fade effects

[jQuery] Re: Get parent url and add to a textarea

2008-09-25 Thread ricardobeat
Is this line $("#message").get(0).value += window.opener.location.href; running from inside the popup? On Sep 25, 8:48 am, Stinhambo <[EMAIL PROTECTED]> wrote: > I am having some problems with that bit of code. > > Basically I am launching a popup window and this is my js file - > > $('a[rel="e

[jQuery] Re: Getting Superfish menus to overlap in IE

2008-09-25 Thread Aaron
I tried this and it did not give any of the li's a z-index. I even placed the function inside the document.ready function. Here is what I changed the function to read as: jQuery('ul.sf-menu li').each(function(i){ jQuery(this).css('z-index',30-i); }); I did also try using '#sf-menu li' (ye

[jQuery] Re: frames['results'].location.href > jQuery

2008-09-25 Thread ricardobeat
Michael, In case you need it: $('#frameid').attr('src','http://'); or $('iframe').attr('src','http://'); You have to access the parent's element, not the iframe document to do this. You could use $(frames['frame'])[0].location.href but that's an absolutely unnecessary waste of resources. - ri

[jQuery] tabs and form plugin integration

2008-09-25 Thread Web Specialist
Hi all. I'm building a form which contains 4 sub-forms available like tabs. I'm looking for examples about how to integrate jquery tabs with form validation plugin. Cheers Marco Antonio

[jQuery] Re: Superfish jQuery competing with other js files

2008-09-25 Thread Aaron
Unfortunately I need to continue to include the LightWindow and the like because they are being used by other applications on the site (and it is a work project that I don't have final say on). As for that link, good stuff! It solved almost all my problems, but I think I am running into another i

[jQuery] Re: no callback for css/addClass?

2008-09-25 Thread Alex Weber
absolutely! www.weberseguros.com/productos.php its the div with the border on the bottom with contact details... when you click on any product link it expands and when you click on the "Volver al Menu de Productos" link its supposed to shrink back to its original size... im considering just refr

[jQuery] Re: frames['results'].location.href > jQuery

2008-09-25 Thread Michael Geary
Were you thinking that there might be a better way to do that with jQuery? Your code looks just about perfect the way it is. The only change I would make would be to simplify it a bit: frames.results.location = It would be hard for any JavaScript library to improve on that. :-) -Mike > I have

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread RLR
Thanks for the hint Thomas. I revised the code so that it validates correctly now. And I stripped it down to a minimalist version to show my point. Click item 1 -> toggle link appears click on toggle link (IE6/IE7 do not toggle the content whereas Safari & FF do on the first time) Click item 1 -

[jQuery] [validate] write a metadata within group

2008-09-25 Thread Alexsandro_xpt
I wish use groups option to display a single message for multiple elements, but with metadata behavior. Something like that: How to do right mode with metadata? Thz!!

[jQuery] Re: Special characters with ajax.

2008-09-25 Thread uncleroxk
i know that .serialize will encode it to a "url safe" character, but what if i decided not to use serialize, as serialize would not allow multiple selection for Option..

[jQuery] Plugin that offers smart tag-like functionality?

2008-09-25 Thread Rey Bango
Anyone know of a plugin that offers functionality like this? http://en.wikipedia.org/wiki/Image:Smarttags.PNG Rey...

[jQuery] Safari Hide() - Everything I am running across fails.

2008-09-25 Thread urbolutions
This is the popular bug wherein Safari refuses to hide elements. Environment/code setup: - JQuery 1.2.6.min - Hidden elements exist in root html file as: - Hidden elements initial style is declared as: #pageContentContainer #bodyContainer #cardsContainer { position: absolute; top: 17

[jQuery] Re: no callback for css/addClass?

2008-09-25 Thread Eric
Hmmm... If it's working in FF/Safari but not in IE, I'm still guessing that a browser rendering difference is to blame (rather than jQuery). Do you have any sample pages live on the web that I could check out? On Sep 25, 9:18 am, Alex Weber <[EMAIL PROTECTED]> wrote: > Thanks Eric about the fad

[jQuery] Re: this.style is null or not an object

2008-09-25 Thread Aaron
Per my own post having to do with jQuery competing with other js files, yes it would seem to be a known issue. Here is the link that was provided to me for trying to solve the conflict and be able to keep all js files on the same page: http://docs.jquery.com/Using_jQuery_with_Other_Libraries Aaro

[jQuery] Re: Jquery/Tabbed interface only working in FF, broken in IE, Chrome, Opera

2008-09-25 Thread ricardobeat
Incorrect markup may be the cause of your issues: 1. IDs should be unique, you have many repeated IDs. CSS works alright, but JS will certainly be confused 2. you can't have a (block element) inside an (inline element) 3. you have to close your tags Or let her hire a developer! ;) - ricardo

[jQuery] Re: Callback to home page from 2nd page

2008-09-25 Thread ricardobeat
Hi! Could you rephrase your question? On Sep 25, 4:14 am, Reddy <[EMAIL PROTECTED]> wrote: > Could somebody help me in this issue. > >  when I am on landing page I have two questions to be answered . When > I click on 2nd ques which is radio button i will be shown with other > remaining question

[jQuery] Re: Bind events on DOM elements inserted from other frame

2008-09-25 Thread hubbs
Well, I tried this, but again it is not working, I really must be missing something. All I want to do it be able to click the link inside the iframe, and have it append some HTML into the parent, and apply a click event as well, that is all, seems simple! :) My test page: http://web2.puc.edu/PU

[jQuery] Re: Case Insentitive Selectorys

2008-09-25 Thread blockedmind
So whan can I use to find attribute instead of a.textContent|| a.innerText||jQuery(a).text() ? On Sep 23, 6:49 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > I recently posted about a custom jQuery selector to do a case- > insensitive exact > search:http://www.ericmmartin.com/creating-a-custom-jqu

[jQuery] Tabs with multiple CSS classes

2008-09-25 Thread Dan B.
Hi Folks, I'm interested in having multiple instances of tabs on a page/pages throughout a site and on the same page without using an iFrame. The tabs function is cool. I'd like to pass it a different base class, so that basically I have tab controls of different styles on the same page. Speci

[jQuery] Special characters with ajax.

2008-09-25 Thread uncleroxk
Hi, i am new to Jquery.. i have a query here. let say that i want to pass the variable parameter "parameter" var $.post.. if i have any special character in the parameter, all the character after the special character are not been pass.. var parameter = "abcdefg??abcdefg"; $.post('process.php',

[jQuery] Validation Plugin - How to Validate input="file"

2008-09-25 Thread Adam
I'm trying to validate that someone has selected a file for upload before submitting a form. I set the required class on the input element, but it's not being validated. The regular text input is validated, however. Title:

[jQuery] Re: Superfish v1.4.8 using two menus one under another

2008-09-25 Thread Rick Faircloth
I'm just throwing out suggestions that'd I'd try, but don't have a definitive answer. What about applying the z-index to a specific UL and perhaps even each LI within and see what happens. Changing the z-index for various elements is the only thing I can think of at this point. Got a URL I can

[jQuery] Re: Click function only invoked after second click in IE6 & IE7

2008-09-25 Thread thomas peklak
Your document contains multiple same ids (info, info_link). This is not valid (http://validator.w3.org/check?verbose=1&uri=http:// dev.dreimorgen.com/test.html). Please correct this first (use classes instead) and try again. For me this is working. Thomas

[jQuery] Re: Validation plug-in - how to set russian messages for all

2008-09-25 Thread Jörn Zaefferer
The localization files can be used by just including the script after the main file. That should be enough. Jörn On Thu, Sep 25, 2008 at 4:39 PM, matma <[EMAIL PROTECTED]> wrote: > > On 25 Wrz, 15:38, Justin Kozuch <[EMAIL PROTECTED]> wrote: > Hey Justin, > > http://193.201.136.69/ecod_test_r

[jQuery] - Object Oriented / PHP5 - Possible BUG with Jquery

2008-09-25 Thread Mario Moura
Object Oriented / PHP5 - Possible BUG with Jquery Hi Folks I was creating a simple singleton class (but I tested with others Desing Patterns) with php like this: class header { static private $instance = false; private function js() { $(document).ready(function() { $("#ou

[jQuery] Re: Validation plug-in - how to set russian messages for all

2008-09-25 Thread matma
On 25 Wrz, 15:38, Justin Kozuch <[EMAIL PROTECTED]> wrote: Hey Justin, http://193.201.136.69/ecod_test_ru/InfoSeller.aspx It's a very simple test page, with very simple validation, but it definitely shows what i'm asking about. I guess when You'll look at this site, and hit "Send", You'll see: "T

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-25 Thread MorningZ
Straight from the Docs (http://docs.jquery.com/Selectors) Note: if you wish to use any of the meta-characters described above as a literal part of a name, you must escape the character with two backslashes (\). For example: #foo\\:bar #foo\\[b

[jQuery] Re: Problem jQuery Selecting Input field

2008-09-25 Thread Stinhambo
Try an underscore in the ID instead. Looks like jQuery is getting confused with the colon being a selector. $(#test_name).mask() should be good enough On Sep 25, 11:28 pm, Faisal Basra <[EMAIL PROTECTED]> wrote: > Hi, I am unable to select the input filed based on ID, i am using JSF > and that

[jQuery] Re: Toggle Only the below the on click

2008-09-25 Thread Stinhambo
I didn't realise .nextAll existed! I was using this - $("dt.solution").click(function() { // This is for toggling multiple dd elements var obj = $(this).next(); // when you click dt.solution while (obj.is("dd")) { // it

[jQuery] Re: ajax post to ruby script

2008-09-25 Thread BB
I can't see any problems with that script. What do you think is wrong with it? On 25 Sep., 06:02, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello! > > Sorry for the n00b post, but i've come to a dead end. I'm trying to > write an ajax callback to a Ruby script that does a simple database

[jQuery] Re: Tablesorter - How to detect which header cell was clicked? (in sortStart/sortEnd callbacks)

2008-09-25 Thread MorningZ
In the "sortStart" and "sortEnd" events, "this" is a reference right to the table cell itself, so you know "which" was clicked

[jQuery] Problem jQuery Selecting Input field

2008-09-25 Thread Faisal Basra
Hi, I am unable to select the input filed based on ID, i am using JSF and that append form id with the input id automatically. like this and & how to select input id(test:name) in jQuery the input field whose id is test:name The, complete code is given below. Please anyone can help

[jQuery] Toggle Issue - Firefox/Safari Mac

2008-09-25 Thread Justin Kozuch
Hi All, I have a maddening issue that I cannot seem to get my head around. I have written a form in which, if you select a certain radio button, it will toggle additional fields. The code I've written is: //form40 coapp yes/no toggle function $(document).ready(function() { // hide on DOM

[jQuery] Re: Validation plug-in - how to set russian messages for all

2008-09-25 Thread Justin Kozuch
Hey Mateusz, I've worked with the validation plugin a bit (I'm implementing it for a bank), so I may be able to assist you. Do you have a URL I can look at? - Justin On Sep 25, 5:12 am, matma <[EMAIL PROTECTED]> wrote: > Hi, > I'm using validation plug-in in our application for customers from

[jQuery] Tablesorter - How to detect which header cell was clicked? (in sortStart/sortEnd callbacks)

2008-09-25 Thread George Adamson
Hi there, When using the excellent tablesorter plugin, I need to intercept the click event to remove irrelevent rows from the table before the columns are sorted (and put some back after sorting). The sortStart/sortEnd callbacks are called at the right time but how do I find out which cell (colu

  1   2   >