[jQuery] Re: Find: Looks simple, but isn't working as expected...

2007-09-21 Thread Richard D. Worth
On 9/19/07, Jeffrey Herr <[EMAIL PROTECTED]> wrote: > > > Narrative: > I'm trying to scrape a Wiki page within my company, extract the header > text only, then include that into the home page on our Intranet. > I thought: easy! I load the Wiki page into separate DOM starting at > the Div containin

[jQuery] Re: giving element focus through jQuery

2007-09-21 Thread Karl Rudd
As long as you've actually selected an element that can gain focus the "focus()" method _should_ work. Make sure that $('[EMAIL PROTECTED]:last') is actually selecting an element. If it is then try: $('[EMAIL PROTECTED]:last')[0].focus(); Note the "[0]" on the end. That will retrieve the fi

[jQuery] Re: BlockUI question

2007-09-21 Thread Jack Killpatrick
Thanks, Mike! BTW, love this plugin, and have found cycle, form and rounded corners plugins to be awesome, too! (just thought I'd toss that in since I have your attentiongreat stuff ;-) - Jack Mike Alsup wrote: Set all your cache vars to null. $(window).unload(function() { myCacheV

[jQuery] jquery 1.2.1 bug (copy iframe data to parent bug)

2007-09-21 Thread linuja
copy the data in iframe to its parent. It works fine in firefox and opera, bug it can't in ie(both ie6 and ie7). here is the test case. the main html file code : http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://www.w3.org/1999/xhtml";>

[jQuery] fadeIn to ajax submit succes callback

2007-09-21 Thread [EMAIL PROTECTED]
Hi this is my code: $(document).ready(function() { var options = { target:'.cfjq_form_target4', beforeSubmit: function(){ $('.cfjq_form_target4

[jQuery] Re: Still trying to understand index function

2007-09-21 Thread Dave Methvin
> var firstPara = $("p#first").get(); > alert($("p").index(firstPara)); The .index() takes a DOM element as an argument, and you are passing it the array of DOM elements from .get(). Try using .get(0) instead and see if that helps.

[jQuery] Re: Help on clue tip

2007-09-21 Thread Karl Swedberg
On Sep 21, 2007, at 6:19 AM, mohsin wrote: can we call clue tip in click, change etc events or in other function ...if so then please tell me the way to do it Hi, currently you can activate the clueTip on hover (default) or on click. I guess it makes sense to allow for other event binding

[jQuery] OT: Google autofill(or any others) and form events

2007-09-21 Thread Eridius
I am doing some validation on a form using live validation. One issue that someone brought up is what about autofillers? is thier a way to trigger the event with an autofiller or disable the use of auto filler on that form element? it is a short form so i don't care are disabling that. -- View

[jQuery] Re: Metadata plugin performance issues

2007-09-21 Thread Erik Beeson
Thanks for this info. I eventually gave up on the metadata plugin in favor of a global variable for holding my metadata. So instead of $('#someID')[0].data, I now just do mynamespace.mydata['someID']. You mention breaking up the if statement to keep a function call from happening. Thanks to logica

[jQuery] Metadata plugin performance issues

2007-09-21 Thread Diego A.
I've written a short article about Metadata plugin performance issues in my blog: http://fyneworks.blogspot.com/2007/09/jquery-metadata-plugin-performance.html I was wondering what you guys think about it... ...also might help people with the same problem.

[jQuery] Re: hide() question

2007-09-21 Thread Glen Lipka
I whipped up a demo. http://www.commadot.com/jquery/fadeIn.php FadeIn is not exactly the same thing as show() and hide(). If you have display:none, you need to show() the img first and then fade it on. Glen On 9/21/07, HubGoblin <[EMAIL PROTECTED]> wrote: > > > Please can you tell me how to achi

[jQuery] Re: post data and get data in one request?

2007-09-21 Thread Jake McGraw
Ah, I think you can do something like: and then in "myapp.php": The trick is manually inserting the GET variables as URL parameters in the form action field. - jake On 9/20/07, Codex <[EMAIL PROTECTED]> wrote: > > Hello, > > this is probably something very simple, but I don't get

[jQuery] Re: post data and get data in one request?

2007-09-21 Thread Josh Nathanson
Yup, you'll have to use ajax if you don't want to refresh the current page. You'll probably want to use the Forms plugin to submit the form, then in your php somewhere, output the last inserted ID as the server response. Then you can use that new ID however you like as part of the callback fu

[jQuery] hide() question

2007-09-21 Thread HubGoblin
Please can you tell me how to achieve that: I want to have element that is hidden initially and I want to display it with fade effect when the page loads. If I create a div with display: none, or visibility: hidden i don't get any results. Please help.

[jQuery] Form Variables

2007-09-21 Thread Beau
Hi Everyone, I have a pretty weird issue that I am unable to solve myself. I am using jQuery and ColdFusion. The issue is that for some unknown reason, that when I submit a form, the form variable that has been jquerified is not submitted - it is not part of the form scope. I have created a s

[jQuery] post data and get data in one request?

2007-09-21 Thread Codex
Hello, this is probably something very simple, but I don't get it. I want to post data to a php file that send the posted data to the DB. Then I would like to return the last inserted ID and use that on the same page the request was made from. How is this done? I know how to post and how to get,

[jQuery] Getting jquery/impromptu to wait for a response?

2007-09-21 Thread dougXN
So am attempting to do a: $(window).bind( 'beforeunload', function () { $.prompt( 'You have unsaved data', { buttons: { Cancel: 'cancel', Save: 'save', Ok: 'ok' }, function (response, object) { . } } ); The funny thing is when you do the prompt it doesn't wait for the response it just keeps

[jQuery] Still trying to understand index function

2007-09-21 Thread [EMAIL PROTECTED]
My understanding of the index function was that it takes an OBJECT to match in a list of same type objects so as a trivial example $(document).ready(function(){ var firstPara = $("p#first").get(); alert($("p").index(firstPara)); }); with the followi

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread hobbit
I wonder if the problem in my application would be the fact that my is actually an ASP.Net DropDownList control that get converted to a at run time? On Sep 21, 12:00 pm, hobbit <[EMAIL PROTECTED]> wrote: > That is interesting. I tried your test page and it also works for me. > I wonder why it i

[jQuery] Superfish - pathclass question

2007-09-21 Thread steve35mm
Hi, I'm currently using the pathclass version of the JQuery Superfish plug- in to breadcrumb trail throughout a new site I'm building. Here's a direct link to the beta version: http://www.aceconcrete.com/revised/ The client has requested that once the user selects a link from the menu, the hov

[jQuery] Re: jQuery 1.2.1 is auto evaling scripts from AJAX before DOM is ready

2007-09-21 Thread Andy
Benjam, Did you have any luck resolving this issue other than using the setTimeout method? thanks. On Sep 17, 11:20 pm, benjam <[EMAIL PROTECTED]> wrote: > I have a script that runs a clickable calendar date field, and this > script is being called in a form that is passed through AJAX. > > Wh

[jQuery] Re: Closing a thickbox from within a Flash movie

2007-09-21 Thread Alexandre Plennevaux
there is an old skool way: create a javascript function to close the thickbox. then in your flash file: getURL("javascript:closeThickbox()"); _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling Sent: vendredi 21 septembre 2007 14:08 To: jquery-

[jQuery] Re: Get time of ajax post?

2007-09-21 Thread Josh Nathanson
Perfect Mike, thank you very much. -- Josh - Original Message - From: "Michael Geary" <[EMAIL PROTECTED]> To: Sent: Friday, September 21, 2007 10:09 AM Subject: [jQuery] Re: Get time of ajax post? function now() { return (new Date).getTime(); } // before the ajax call var

[jQuery] Re: Get time of ajax post?

2007-09-21 Thread Michael Geary
function now() { return (new Date).getTime(); } // before the ajax call var before = now(); // and in your ajax success callback: var elapsed = now() - before; Time is in milliseconds, but actual resolution is usually less, e.g. 15 millisecond resolution on a typical PC.

[jQuery] Re: Superfish - pathclass question

2007-09-21 Thread Joel Birch
Not sure what happened because I answered your other identical thread earlier. To save confusion, here is my response again: Hi Steve, This is by no means a newbie question, and even if it was you would still be more than welcome to ask it. I had a bit of an experiment and what you are attempti

[jQuery] Re: ids of elements in a string

2007-09-21 Thread spinnach
no, but it's easy to build a simple plugin that does that: jQuery.fn.allIDs = function(){ var IDs = []; this.each(function(){ if (this.id) IDs.push(this.id); }); return IDs; } and use like: var IDs = $(".list li").allIDs() the plugin returns an array, if you want a string you can d

[jQuery] Re: .load() problem

2007-09-21 Thread [EMAIL PROTECTED]
Really no one got this issue before??? Thanks Andrea On Sep 21, 10:04 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Thanks fo rthe answer but no th epage that I load is not loading any > JS. > And I also have the problem that css do not apply to the code inserted > in the page... > >

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread Richard D. Worth
On 9/21/07, hobbit <[EMAIL PROTECTED]> wrote: > > > This does not seem to work for me. Could it be the version of jquery > we are using? We are using an older version, version 1.0.3. Do you > know if this is supported in that version? In my code I changed jquery-latest.js to jquery-1.0.3.js an

[jQuery] Fwd: Getting jquery/impromptu to wait for a response?

2007-09-21 Thread Douglas Nichols
So am attempting to do a: $(window).bind( 'beforeunload', function () { $.prompt( 'You have unsaved data', { buttons: { Cancel: 'cancel', Save: 'save', Ok: 'ok' }, function (response, object) { . } } ); The funny thing is when you do the prompt it doesn't wait for the response it just keeps

[jQuery] Handling timeouts with jsonp ajax requests

2007-09-21 Thread Matt
Hi, How jQuery handles timeouts on jsonp requests ? Does it call the error callback ? something else ? Basically a request like this one... [] $.ajax({'url' : url, 'data' : params, dataType : 'jsonp', timeout: 2500, success : callback, error : callback}); [] ... does not seem to call th

[jQuery] Help needed with Interface elements Autocomplete

2007-09-21 Thread miCRoSCoPiC^eaRthLinG
Hi guys, I'm playing around with the Autocomplete function of jQuery Interface elements (http://interface.eyecon.ro/). Now I've managed to put all the pieces together except one... i.e. when you start typing in the autocomplete field, the data is being sent to the ajax backend - but I can't f

[jQuery] Superfish - pathclass question

2007-09-21 Thread steve35mm
Hi, I'm currently using the pathclass version of the JQuery Superfish plug- in to breadcrumb trail throughout a new site I'm building. Here's a direct link to the beta version: http://www.aceconcrete.com/revised/ The client has requested that once the user selects a link from the menu, the hov

[jQuery] Get time of ajax post?

2007-09-21 Thread Josh Nathanson
Hey all, This is more of a JS queston in general than a jQuery question: how do I get the time it took for an ajax post to complete? I am trying to show a progress bar for an ajax post which may take anywhere from 1 to 20 seconds. It's a multi-row database table update. To do this I'm usi

[jQuery] ids of elements in a string

2007-09-21 Thread [EMAIL PROTECTED]
hi, i think im blind :/ is there any jquery function or a short way to get a string with all ids of elements? for example $(".list li").allids() output something like that: element1,element2,element3

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread hobbit
This does not seem to work for me. Could it be the version of jquery we are using? We are using an older version, version 1.0.3. Do you know if this is supported in that version? I tried replacing the "// do some stuff here" line with simply "alert("hello!");", but this alert is not executed w

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Christian Bach
Unfortunately :after renders as unknown in ie6 :( So no luck there... 2007/9/21, Christian Bach <[EMAIL PROTECTED]>: > > That would be way cool, and not to hard to implement! > > /christian > > 2007/9/21, Brandon Aaron <[EMAIL PROTECTED]>: > > > > Well why not fix :after and :before too :) > > >

[jQuery] Klaus Tabs plugin & fcckeditor

2007-09-21 Thread Giovanni Battista Lenoci
Hi, I'm using klaus tabs plugin, but I have a problem with fckeditor. I use the tab plugin for a multilingual site, then every language is in a tab, and in every tab there is an fckeditor instance. If I comment the line that initialize tabs I can write in every textarea, if I initialize the plug

[jQuery] Re: jQueryHelp Forum Launched

2007-09-21 Thread Alexander Bilbie
http://www.jqueryhelp.com/ On 21/09/2007, Scott Sauyet <[EMAIL PROTECTED]> wrote: > > > [EMAIL PROTECTED] wrote: > > Just an FYI for everyone, I've launched a jQuery Forum to offer an > > alternative method of discussion. > > [ ... ] > > > > Hope to see some of you there! > > Where's there? :) >

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread hobbit
That is interesting. I tried your test page and it also works for me. I wonder why it is not working in my application. On Sep 21, 11:14 am, "Richard D. Worth" <[EMAIL PROTECTED]> wrote: > Your code worked for me in IE and FF: > > http://pastie.caboo.se/99419 > > - Richard > > On 9/21/07, hobbit

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Matt Penner
Thanks Christian! I had this same frustration on a recent product and simply added a manual class for IE6. It was a quick fix but you had to remember to update both if the look and feel was ever changed. I like your method much better because it uses the actual original :hover class definition.

[jQuery] Re: jQuery 1.2 - Serialize a form as JSON

2007-09-21 Thread Wizzud
Name a browser that will take the submission of... ... and transmit it as : prog.php?foo[]=bar1&foo[]=bar2 (and I suggest you test it first) Christoph Roeder-2 wrote: > > > Ok, Problem #1 is solved, but #2 isn't. > > Now I've seen this in the jQuery Ajax-Docs [1]: > >> If v

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Christian Bach
That would be way cool, and not to hard to implement! /christian 2007/9/21, Brandon Aaron <[EMAIL PROTECTED]>: > > Well why not fix :after and :before too :) > > -- > Brandon Aaron > > On 9/21/07, Christian Bach <[EMAIL PROTECTED] > wrote: > > > > Yeah that would make sense! > > > > A other thing

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Brandon Aaron
Well why not fix :after and :before too :) -- Brandon Aaron On 9/21/07, Christian Bach <[EMAIL PROTECTED]> wrote: > > Yeah that would make sense! > > A other thing that could be use full is to have a fix for the :focus > selector in IE6. > All though it will be returned as "unknown" in ie6. > > >

[jQuery] Sorting a jQuery object?

2007-09-21 Thread Gordon
I need to be able to reorder elements based on criteriaso I tried coming up with a sorting function. I ended up with something along these lines: var myElems = $(mySelector); var temp = myElems.get ().sort (function (a, b) {// sort code goes here}); myElems = $(temp); This seems to work but i

[jQuery] Suggestion for corner plugin to get lighter DOM

2007-09-21 Thread Erlend Schei
I'm a great fan of the corner plugin, but I came across a possible weakness using the top/bottom setting. If I specify that I want to use corners for only the top or bottom halv of my container, the plugin will still add DOM elements for the other half. This is in most cases invisible, but in IE6

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Christian Bach
Yeah that would make sense! A other thing that could be use full is to have a fix for the :focus selector in IE6. All though it will be returned as "unknown" in ie6. If you want to make a plugin and release it it's fine by me. /christian 2007/9/21, Fabien Meghazi <[EMAIL PROTECTED]>: > > > > >

[jQuery] Re: $(document) bug?

2007-09-21 Thread Hackfrag
I have the same Problem :/ On 13 Sep., 17:20, hans <[EMAIL PROTECTED]> wrote: > Hi, > > I just downloaded the latest version(1.2) and the $(document) object > doesn't seem to be functioning. I tried the new $(document).height() > which always returns 0 (zero) for me and binding the resize event >

[jQuery] Validation plugin - alphanumeric password with min length

2007-09-21 Thread voltron
Hi, has anyone written a validator to check for alphanumeric values and a min length for the validator plug in? thanks

[jQuery] Re: jQuery 1.2 - Serialize a form as JSON

2007-09-21 Thread Christoph Roeder
Ok, Problem #1 is solved, but #2 isn't. Now I've seen this in the jQuery Ajax-Docs [1]: > If value is an Array, jQuery serializes multiple values with same key i.e. > {foo:["bar1", "bar2"]} becomes '&foo=bar1&foo=bar2'. WTF? Why not like every browser does it? '&foo[]=bar1&foo[]=bar2' [1] h

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Fabien Meghazi
> > 1. The script only looks for declarations in the stylesheets, that's the > > beauty of it. > yes, but I mean that if you look at the content of the cssRules > variable you will see that there are a lot of css declaration which > could be avoided (or they can't ?) Christian, Ok, here's what I

[jQuery] giving element focus through jQuery

2007-09-21 Thread Eridius
I have created a link to add and input box. is there a way to give that element focus like: $('[EMAIL PROTECTED]:last').focus(); or something or do i have to use plain javascript? -- View this message in context: http://www.nabble.com/giving-element-focus-through-jQuery-tf4497022s15494.html#

[jQuery] Re: jQueryHelp Forum Launched

2007-09-21 Thread Scott Sauyet
[EMAIL PROTECTED] wrote: Just an FYI for everyone, I've launched a jQuery Forum to offer an alternative method of discussion. [ ... ] Hope to see some of you there! Where's there? :) -- Scott

[jQuery] Re: IE 6 issues with ajax call

2007-09-21 Thread meddling
I'm very interested in this as well. I'm running into the same problem with my mockup project. Runs fine in Mozilla (like most things :)), but IE fails silently. I really wish I had some sort of Firebug for IE, so I could at least see if the HTTP requests were being sent (and if they were givin

[jQuery] jQueryHelp Forum Launched

2007-09-21 Thread [EMAIL PROTECTED]
Just an FYI for everyone, I've launched a jQuery Forum to offer an alternative method of discussion. "The purpose of this forum is to offer the quickest form of topic based conversation for jQuery users. Currently, there is only a mailing list which offers latent responses, but does have the lar

[jQuery] Re: element.css("background") returns undefined

2007-09-21 Thread Richard D. Worth
Here's some more info: http://www.w3.org/TR/CSS21/box.html#propdef-margin > The 'margin' property is a shorthand property for setting 'margin-top', > 'margin-right', 'margin-bottom', and 'margin-left' at the same place in the > style sheet. (emphasis mine) on the same page, the inital value is

[jQuery] OT: Missing Images in IE7

2007-09-21 Thread weepy
Hi I am building dynamic in Chess boards in jQuery over at 64squar.es. However - in IE7 - sometimes the piece images (and in fact the rest of the images) only partially load. I can't find any www documentation on this 'feature' - does anyone have any ideas why this might happen or how to preven

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Fabien Meghazi
> 1. The script only looks for declarations in the stylesheets, that's the > beauty of it. yes, but I mean that if you look at the content of the cssRules variable you will see that there are a lot of css declaration which could be avoided (or they can't ?) > 3. Yeah i know but I'm lazy. Here's

[jQuery] Re: Validate plugin and attribute selector values with [square brackets]

2007-09-21 Thread Jörn Zaefferer
Rob Desbois schrieb: Hi all, I thought I'd give you all (and Joern also) a heads-up on a problem I've been having. I use the validate() plugin on forms whose tags have names like 'user[email]'. The 'rules' option to validate() has no problem with this, but I've now started passing an array

[jQuery] Re: Does JQuery 1.2 solve the thickbox positioning problem when scrolling?

2007-09-21 Thread WebolizeR
Same problem in here, I have been playing with CSS of thickbox but nothing for now... :( On 11 Eylül, 17:02, Angelo Zanetti <[EMAIL PROTECTED]> wrote: > Will do but dont have the time now. > > If I do will post the response and let you guys know. > > Thanks > > > > Alexandre Plennevaux wrote: > >

[jQuery] Re: element.css("background") returns undefined

2007-09-21 Thread Richard D. Worth
I don't have an answer, but I see the same is true for margin. // tested in FF w/ firebug $("#someElement").css("margin-left") // "0px" $("#someElement").css("margin") // "undefined" $("#someElement").css("margin", 0).css("margin") // "0pt 0pt 0pt 0pt" Is jQuery simply returning what the browser

[jQuery] Re: New Plugin: Picklists

2007-09-21 Thread Benjamin Sterling
George, that is really nice, great work. On 9/21/07, george.gsgd <[EMAIL PROTECTED]> wrote: > > > http://gsgd.co.uk/sandbox/jquery/picklists/ > > A jQuery plugin to turn multiple select boxes into a dual select > picklist style thing. > > Comments suggestion please. > > -- Benjamin Sterling htt

[jQuery] New Plugin: Picklists

2007-09-21 Thread george.gsgd
http://gsgd.co.uk/sandbox/jquery/picklists/ A jQuery plugin to turn multiple select boxes into a dual select picklist style thing. Comments suggestion please.

[jQuery] Re: element.css("background") returns undefined

2007-09-21 Thread Giuliano Marcangelo
Piotr, backgroundis a general term, within which we can have -color -image -position -position-x -position-y -repeat untested, but I would suggest that color, image, repeat will all work...as would position-x and position-y.just need to be more specific On 21/09/2007, Piotr Sarnacki <[EM

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread Richard D. Worth
Your code worked for me in IE and FF: http://pastie.caboo.se/99419 - Richard On 9/21/07, hobbit <[EMAIL PROTECTED]> wrote: > > > I tried all the following and get no alerts: > > $("select").keyup(function() { > alert("here1"); > }); > $("select").keydown(function() { > al

[jQuery] Re: .load() problem

2007-09-21 Thread [EMAIL PROTECTED]
Thanks fo rthe answer but no th epage that I load is not loading any JS. And I also have the problem that css do not apply to the code inserted in the page... Anyone had this problem?? Thanks Andrea On Sep 21, 5:33 am, barnezz <[EMAIL PROTECTED]> wrote: > Hello, > > If there is 20 requests

[jQuery] element.css("background") returns undefined

2007-09-21 Thread Piotr Sarnacki
Hi, I'm playing around with css manipulation and I encountered strange problem. jQuery("#someElement").css("background") (or background- position) returns undefined, no matter if background-position is set or not :] background-image, background-color work fine :) Peter

[jQuery] Re: OT: Combining JS files for production releases

2007-09-21 Thread Alexsandro_xpt
I belive ob_start() and ob_end_flush() PHP code don't work with Smarty PHP Templates... right? On 20 set, 21:06, Stephan Beal <[EMAIL PROTECTED]> wrote: > On Sep 20, 5:23 pm, "Brook Davies" <[EMAIL PROTECTED]> wrote: > > > How do you keep your source files organized and the process of combining a

[jQuery] Adding extra functions to newsticker plugin

2007-09-21 Thread e2e
Hi, I'm trying to learn jQuery. Plugins are definitely very helpful. But I can't add an extra function to http://www.texotela.co.uk/code/ jquery/newsticker/">newsticker plugin. I want to add "next", "prev" links to make slides more flexifle for users. When a user clicked next button the slide mu

[jQuery] Re: Star rating plugin for 1.2?

2007-09-21 Thread Derek Gathright
Awesome! I'll be plugging this into my latest project right away. On 9/20/07, Karl Swedberg <[EMAIL PROTECTED]> wrote: > > I don't know when Ritesh is planning to update is plugin, but my > modification of it that allows for half-star ratings is working with 1.2.1 > : > > http://www.learningjquer

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread hobbit
I tried all the following and get no alerts: $("select").keyup(function() { alert("here1"); }); $("select").keydown(function() { alert("here2"); }); $("select").keypress(function() { alert("here3"); }); $("select").mousedown(function() { alert("

[jQuery] is there any way to create common object for all checkboxes?

2007-09-21 Thread Potluri
I've multiple checkboxes of different type on my html like a1 a2 a3 a4 b1 b2 b3 b4 . c1 c2 c3 c4 . I'm creating common object for all of this checkbox object like var $checkBoxObject = $("[EMAIL PROTECTED] ^= 'category_'] [EMAIL PROTECTED]'checkbox']"); checkBoxO

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Christian Bach
Joel: nope i didn't plan on adding it, but if you want you can add it. Brandon: thanks man! Fabien: 1. The script only looks for declarations in the stylesheets, that's the beauty of it. 2. If it was rewritten to use Brandons exellent livequery plugin it would work with load append etc. 3. Yeah i

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Fabien Meghazi
> Here is a simple script that solves the problem: > http://lovepeacenukes.com/jquery/ie6hoverfix/ Cool !! Got some questions: 1) would it be possible to detect :hover declarations in css in order to do stuff only on css rules that actually have a :hover declared 2) what if a $(#foo").load("i

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Brandon Aaron
Nice. Thanks for sharing! -- Brandon Aaron On 9/21/07, Christian Bach <[EMAIL PROTECTED]> wrote: > > Hi list, > > The other day i got feed up with ie6 not having :hover css support so i > decided to fix it. > > Here is a simple script that solves the problem: > http://lovepeacenukes.com/jquery/ie

[jQuery] Re: Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Joel Birch
Thanks Christian! Very handy indeed. Will you add this to the plugin repository? Either way, I'm stealling it (along with a credit to you of course) for regular use :) Cheers Joel Birch.

[jQuery] Re: Help needed with close button removing DOM elements.

2007-09-21 Thread Richard D. Worth
This FAQ entry may help: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F - Richard On 9/20/07, Matt81 <[EMAIL PROTECTED]> wrote: > > > Hi there. > > > > > On this site http://lexus-test.lateral.net/blogfeeds/ , when one of > the main navig

[jQuery] Adding :hover css support to IE6 - ie6HoverFix

2007-09-21 Thread Christian Bach
Hi list, The other day i got feed up with ie6 not having :hover css support so i decided to fix it. Here is a simple script that solves the problem: http://lovepeacenukes.com/jquery/ie6hoverfix/ /christian

[jQuery] Re: Superfish pathclass question

2007-09-21 Thread Joel Birch
Hi Steve, This is by no means a newbie question, and even if it was you would still be more than welcome to ask it. I had a bit of an experiment and what you are attempting can be achieved fairly simply. Just add a class 'useSF' to the body element for pages that you want to use Superfish hovers

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread Richard D. Worth
The change event doesn't fire until the input is blurred (focus moves away from the dropdown via tab-key or mouse click elsewhere). If you want to handle the "changes" to the selected option while they're being changed, try keydown, keyup, or keypress. - Richard On 9/21/07, Brook Davies <[EMAIL P

[jQuery] Re: $(document) bug?

2007-09-21 Thread Brandon Aaron
The $(document).height() issue is resolved in SVN. Try using $(window).resize() instead of $(document).resize(). -- Brandon Aaron On 9/21/07, Hackfrag <[EMAIL PROTECTED]> wrote: > > > I have the same Problem :( > > On 13 Sep., 17:20, hans <[EMAIL PROTECTED]> wrote: > > Hi, > > > > I just download

[jQuery] Re: Is there any better way to do that?

2007-09-21 Thread David Duymelinck
Iwould do something like this $(document).ready(function(){ // hide price divs $(".singleOffer").hide(); // toggle $("a.togglePrice").toggle(function(){ $(this).next().slideDown('slow'); },function(){ $(this).next().slideUp('slow'); }); }); with following html show/hide pr

[jQuery] Re: Closing a thickbox from within a Flash movie

2007-09-21 Thread spinnach
or even more simple (without the additional overhead of including the ExternalInterface class): getURL("javascript:closeFunction()"); dennis. Benjamin Sterling wrote: Gordon, In your flash file you need to put: import flash.external.*; Then at the last frame put something like: ExternalI

[jQuery] Is there any better way to do that?

2007-09-21 Thread Owca
It's my first script using jQuery. $(document).ready(function(){ $("a").filter('.showPrices').toggle(function(){ $("."+this.id).slideDown('slow'); $("."+this.id).addClass("singleOffer"); },function(){ $("."+this.id).slideUp('slow'); }); }); show/hide prices show/h

[jQuery] Server Side Grid?

2007-09-21 Thread Phunky
Hello there, Is there any known supported Server Side Grid plugin's for JQuery i managed to stumble apon JGrid but it does not seem to be that well documented. http://jquery.com/plugins/project/jqGrid Any help would be a great help

[jQuery] IMage div is not updating acc to the image urls in textfile

2007-09-21 Thread [EMAIL PROTECTED]
I m using jquery with loading dynamic content from text file, when i change the text file the images dont get changed till I open new browser window. The image urls are coming from database and im writing them to text file and everytime the page refereshes the image urls data gets changed , so i w

[jQuery] Help on clue tip

2007-09-21 Thread mohsin
can we call clue tip in click, change etc events or in other function ...if so then please tell me the way to do it

[jQuery] problem whith $post();

2007-09-21 Thread [EMAIL PROTECTED]
hello First sorry for my english writting, i dont speak english very well. i have a problem to send my POST variables from a form to my php page. this is my code: in contact.htm: Contact Nom: Prénom: Adresse mail: Votre message: in contact.php: the function verif_champ(): function verif

[jQuery] Re: .load() problem

2007-09-21 Thread barnezz
Hello, If there is 20 requests, it means you've bind 20 time the event click ;-) So I don't think the problem is in this piece of code, but maybe come from it's location??? Is there any js in the page you load? Don't you load again jquery.js in the target div? Is there so much request when you c

[jQuery] Re: NEWBIE QUESTION: Catch Select event

2007-09-21 Thread Brook Davies
I've tried this, but it does not catch change events trigged by the keyboard. Why? Brook -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Andy Matthews Sent: September 20, 2007 1:21 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: NEWBIE

[jQuery] Suggestion for corner plugin to get lighter DOM

2007-09-21 Thread Erlend Schei
I'm a great fan of the corner plugin, but I came across a possible weakness using the top/bottom setting. If I specify that I want to use corners for only the top or bottom halv of my container, the plugin will still add DOM elements for the other half. This is in most cases invisible, but in IE6

[jQuery] Re: $(document) bug?

2007-09-21 Thread Hackfrag
I have the same Problem :( On 13 Sep., 17:20, hans <[EMAIL PROTECTED]> wrote: > Hi, > > I just downloaded the latest version(1.2) and the $(document) object > doesn't seem to be functioning. I tried the new $(document).height() > which always returns 0 (zero) for me and binding the resize event >

[jQuery] IE and .ajax(). No Exception, No Results

2007-09-21 Thread m2web
In IE 6 and IE 7 do not provide any exceptions and/or results when running the following. Any ideas or advice is appreciated. Parse XML with JQuery $(function() { $.ajax({ type: "POST", url: "books.xml", dataType: "xml", suc

[jQuery] Re: Star rating plugin for 1.2?

2007-09-21 Thread Derek Gathright
Wish I knew, I've been anticipating it as well. On 9/20/07, NccWarp9 <[EMAIL PROTECTED]> wrote: > > > is there any information when Ritesh Agrawal star rating plugin will > be fixed for 1.2.1 ?> > > On Sep 13, 12:32 am, "Derek Gathright" <[EMAIL PROTECTED]> wrote: > > Karl, thanks for the help. >

[jQuery] Re: Form Variables

2007-09-21 Thread Gavin Baumanis
Hi Everyone, As an update I have also noticed that my normally working form validation no longer works either. So I am pretty sure there is some sort of JS weirdness going on between Coldfusion and jQuery. Beau. On 9/21/07, Beau <[EMAIL PROTECTED]> wrote: > > Hi Everyone, > > I have a pretty wei

[jQuery] Re: How to bind a function to all elements?

2007-09-21 Thread barnezz
Thank you a lot for your answers ;-) barney

[jQuery] Superfish pathclass question

2007-09-21 Thread steve35mm
Hello, I'm currently using the pathclass version of the JQuery Superfish plugin on a new website I'm building. BETA VERSION: http://www.aceconcrete.com/revised/ The client has requested that the hover effect only happens on the homepage. For the rest of the pages, he wants the dropdown tier n

[jQuery] IE 6 issues with ajax call

2007-09-21 Thread m2web
When loading the following into IE 6. I get no error. Nothing. Any help is appreciated. Parse XML with JQuery $(function() { $.ajax({ type: "POST", url: "books.xml", dataType: "xml", success: function(xmlData) {

[jQuery] Re: Closing a thickbox from within a Flash movie

2007-09-21 Thread Benjamin Sterling
Gordon, In your flash file you need to put: import flash.external.*; Then at the last frame put something like: ExternalInterface.call("function(){\\code to close thickbox}"); If that does not work, try creating a new function on the javascript side and call it like: ExternalInterface.call('cl

[jQuery] Validate plugin and attribute selector values with [square brackets]

2007-09-21 Thread Rob Desbois
Hi all, I thought I'd give you all (and Joern also) a heads-up on a problem I've been having. I use the validate() plugin on forms whose tags have names like 'user[email]'. The 'rules' option to validate() has no problem with this, but I've now started passing an array of server-side errors to sh

[jQuery] Re: Image + map area + mouseout event

2007-09-21 Thread Fabien Meghazi
Ok, here's a test case of my problem. If anyone has an idea about how to fix it ? http://amigrave.com/upload/posts/jquery/mouseover_and_map_area.htm I considered hoverIntent but it won't be an option for me. An ugly fix would be to detect if mouse position is not over the image before firing do

  1   2   >