[jQuery] Re: My code which use keydown(fn) don't work on IE?? help

2009-03-30 Thread liec
Thanks, Hector :) On Mar 31, 9:55 am, Hector Virgen wrote: > Try observing window.document instead of window. > -Hector > > On Mon, Mar 30, 2009 at 5:30 PM, liec wrote: > > > $(window).keydown(function(e){ > >       if (e.keyCode == 13) > >               sendmsg(); > > }); > > > $(window).keyd

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-30 Thread Steven Yang
do you have a special reason to find an element by id in a specific node?isn't id suppose to be unique in the whole document?

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-30 Thread xPheRe
To locate a node with id "myId" that is a descendant of another one, in a var called "myNode", use: $('#myId', myNode) Hope it helps :) On 30 mar, 17:20, tij_dev wrote: > Hi guys ! > > I assume this is a really basic question but I'm a JQuery rookie :) so > please be indulgent :) > > I would lik

[jQuery] Re: Selecting dynamic elements

2009-03-30 Thread schickb
Thanks On Mar 27, 3:02 pm, James wrote: > Try it out: > $inner = $elems.find("#inner"); > alert( $inner.text() );

[jQuery] [validate] Using remote w/ data and ASMX doesn't seem to process the response

2009-03-30 Thread pbarnes
I'm trying to integrate the Validation plug-in with an ASP.NET site using ASMX services. The service is very simple: it takes in two strings and returns a boolean. I can see valid XML response in Firebug, but the plugin doesn't seem to process it properly. Both true and false return values result

[jQuery] Re: AJAX - ignore mime type

2009-03-30 Thread Klaus Hartl
I am wondering why the server would not serve html in the first place. --Klaus On 30 Mrz., 15:37, the_woodsman wrote: > Hi, > > My ajax requests return xml, with the corresponding mime type. > > I'm using $.get, as so: > >         $.get( >                                                 $(th

[jQuery] Re: Get element's html and the element

2009-03-30 Thread Steven Yang
ha thanks mkmanningthats sure something never came across in my mind good idea

[jQuery] Re: JQuery Cycle

2009-03-30 Thread posh beck
On Tue, Mar 31, 2009at 10:23 AM, Mike Alsup wrote: > > > Well even this doesnt work in IE...http://www.malsup.com/jquery/cycle/ > > > > Which isn't my code obviously... only the > > first pic loads, it says in the status bar th

[jQuery] Re: How to access variable outside function

2009-03-30 Thread posh beck
On Tue, Mar 31, 2009at 11:03 AM, iceangel89 wrote: > > hmm i dun really get what do u all mean. any examples for callbacks or > purged array? > > On Mar 30, 11:06 pm, Joseph Le Brech wrote: > > because you are updating i asyncrono

[jQuery] Re: Form no longer works with upgrade to 1.3.2

2009-03-30 Thread John Resig
Well, without being able to see the form in question - does your page validate? If everything is going into a single input that sounds like a problem with malformed HTML markup. --John 2009/3/30 Kathryn : > > I'm working on a web form and had to upgrade to 1.3.2 tonight to solve > some problem

[jQuery] Re: How to access variable outside function

2009-03-30 Thread iceangel89
hmm i dun really get what do u all mean. any examples for callbacks or purged array? On Mar 30, 11:06 pm, Joseph Le Brech wrote: > because you are updating i asyncronously it will be overwritten asynconously. > > what you could do is add your "purged" data to an array, and read that array > els

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-30 Thread Eric Martin
Doug, In your first example, the data is not in the DOM yet. Try something like: $("#button-sales").click(function(e) { e.preventDefault(); $.get("includes/institutional-sales.html", function(data){ // create a modal dialog with the data $('' + dat

[jQuery] Form no longer works with upgrade to 1.3.2

2009-03-30 Thread Kathryn
I'm working on a web form and had to upgrade to 1.3.2 tonight to solve some problems. Unfortunately, I now have a much worse problem. Not by my choice, I have to use ASP. With the lower version of jQuery, the form was working fine and I could process it as usual...e.g., HTML: etc. (There are ar

[jQuery] Re: AJAX - ignore mime type

2009-03-30 Thread James
If you don't specify the type, jQuery will intelligently guess between HTML and XML. Internet Explorer seems to have an issue with not noticing XML when you don't send an XML response type by your server. If possible, have your server explicitly set an XML type on the data you're receiving. Else,

[jQuery] Re: Work on one specific node and not on the window.document

2009-03-30 Thread James
What is "myNode" suppose to be? Without showing us more code and your structure, it's difficult to help. On Mar 30, 5:20 am, tij_dev wrote: > Hi guys ! > > I assume this is a really basic question but I'm a JQuery rookie :) so > please be indulgent :) > > I would like to get an element by its i

[jQuery] Re: Validation Success Callback

2009-03-30 Thread James
Can you show us how the "//redirect" part of the code looks like? It should be on the lines of something like: setTimeOut(function() { location.href = '/somepage'; }, 2000); On Mar 30, 4:05 pm, MonkeyBall2010 wrote: > Yeah, that was just a typo on my behalf... The actual code does list > t

[jQuery] Re: JQuery Cycle

2009-03-30 Thread Mike Alsup
> Well even this doesnt work in IE...http://www.malsup.com/jquery/cycle/ > > Which isn't my code obviously... only the > first pic loads, it says in the status bar the other images are > loading in IE > so its not just my code. I haven't tried it on another machine yet > either but > what would ca

[jQuery] Re: Validation Success Callback

2009-03-30 Thread MonkeyBall2010
Yeah, that was just a typo on my behalf... The actual code does list the correct code... Any idea what I am doing wrong? On Mar 27, 1:17 pm, James wrote: > Javascript is case-sensitive: > 'setTimeOut' should be 'setTimeout' > > On Mar 26, 5:08 pm, MonkeyBall2010 wrote: > > > > > I am using the

[jQuery] Re: can someone take a look please...

2009-03-30 Thread Jack Killpatrick
try adding id="partnum" to the form field that has name="partnum". - Jack webguy262 wrote: webguy262 wrote: I have two forms on a page (www.eastexhaust.com/inventory.php). One uses ajax to generate a part number by selecting values from a series of selection boxes. The other form email

[jQuery] Re: JQuery Cycle

2009-03-30 Thread gmca...@gmail.com
Mike Well even this doesnt work in IE... http://www.malsup.com/jquery/cycle/ Which isn't my code obviously... only the first pic loads, it says in the status bar the other images are loading in IE so its not just my code. I haven't tried it on another machine yet either but what would cause that

[jQuery] Re: My code which use keydown(fn) don't work on IE?? help

2009-03-30 Thread Hector Virgen
Try observing window.document instead of window. -Hector On Mon, Mar 30, 2009 at 5:30 PM, liec wrote: > > $(window).keydown(function(e){ > if (e.keyCode == 13) > sendmsg(); > }); > > > $(window).keydown(function(ke){ >switch (ke.keyCode) >{ >

[jQuery] My code which use keydown(fn) don't work on IE?? help

2009-03-30 Thread liec
$(window).keydown(function(e){ if (e.keyCode == 13) sendmsg(); }); $(window).keydown(function(ke){ switch (ke.keyCode) { case 13: alert('enter'); sendmsg(); break

[jQuery] Re: bind to front of event stack

2009-03-30 Thread sliver
K... made some updates and seems to work perfectly. (Also added a reverseStack function)... any feedback on this approach? http://snipplr.com/view/13556/jquery-event-stack-binder/ On Mar 30, 12:23 am, sliver wrote: > Actually, I need to make some changes... I wasn't correctly setting > the even

[jQuery] Re: ie6 and ie7 don't load image well when using Cycle plugin

2009-03-30 Thread johan . borestad
Yes! jQuery support this aswell. It adds every onload/domready event in a queue. $(window).load(function(){ // do stuff onload }) $(window).load(function(){ // do other stuff onload }) But you should really look into some pattern instead. A relly simple and good pattern is the "Module Pattern"

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-30 Thread Tin
Ryan, Frozen columns is one of the TODOs in the slick.grid.js :) It is definitely something that I think needs to be added in. For the past week, I have mostly concentrated on improving performance and the ability to adjust to the browser's performance and not jump into async rendering mode prem

[jQuery] can someone take a look please...

2009-03-30 Thread webguy262
webguy262 wrote: > > I have two forms on a page (www.eastexhaust.com/inventory.php). > > One uses ajax to generate a part number by selecting values from a series > of selection boxes. > > The other form emails the part number so we can reply with a quote. > > Everything works fine in FFox,

[jQuery] Re: wmode not being written

2009-03-30 Thread Mike Alsup
> Looking at the source code (line 410, v 0.88) , it looks like this is > intentional: > >  for (var key in opts.params) >    if (key != 'wmode') // FF3/Quicktime borks on wmode >      a.push(key + '="'+opts.params[key]+'" '); > --- Thanks for catching that, socratesone. I just push

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-30 Thread ryan.shaw
Sorry for the double post. my browser crashed after the first post and when I reloaded the page it did not show up so I thought it didnt work. On Mar 30, 2:01 pm, "ryan.shaw" wrote: > Michael, > this really looks great.  I pulled it down and looked at the source > and you are right. it is very

[jQuery] Re: wmode not being written

2009-03-30 Thread socratesone
Looking at the source code (line 410, v 0.88) , it looks like this is intentional: for (var key in opts.params) if (key != 'wmode') // FF3/Quicktime borks on wmode a.push(key + '="'+opts.params[key]+'" '); --- I just commented it out and it's working, but you might run into i

[jQuery] Re: JQuery Cycle

2009-03-30 Thread Mike Alsup
> Heres my simple example just to make sure ididnt foul something up... > but the i dont think i did since the actual website does the same > thing. You're missing a closing angle bracket on your link tag and you're missing a doctype element. I have no expectations that Cycle will work correctly

[jQuery] Re: Cycle plugin adds white background in ie6 and ie7

2009-03-30 Thread Mike Alsup
> I just added cleartypeNoBg: true and that removed the background on > the newest version if cycle Try false, not true.

[jQuery] Re: Cannot call a function within the callback in IE7 [2]

2009-03-30 Thread Jacob
I'm having this exact same issue. Did you ever get it resolved? Jacob On Mar 23, 2:13 pm, zephyr wrote: > Hi, > > I make Ajax ($.get) calls and in the calback part I call a function > defined elsewhere. In FireFox this is no problem. When I checked in IE > however I kept getting an error 'obje

[jQuery] Are you going to implement a fixed left column like you have a fixed header?

2009-03-30 Thread ryan.shaw
Michael, I pulled down the code, and looked over it, I would have to say that it is very well done! I remember you saying (either here or on your google code project somewhere) that you were planning on implementing the ability to have a fixed left column as well as a fixed header (so that when

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-03-30 Thread ryan.shaw
Michael, this really looks great. I pulled it down and looked at the source and you are right. it is very clean and well implemented! I've got a question: I saw (somewhere here or on your google code project) that you said that you want to sometime allow for a fixed header and left column (so th

[jQuery] [validate] Select box help

2009-03-30 Thread Matt
I have a form that has a few select boxes and have been unsuccessful at getting them to validate on change, or tabbing away from the field. The first field is a month field, and the first option is blank the select is designed like so Month January February March

[jQuery] Jquery - Weird Issue with "Node cannot be inserted at the specified point..."

2009-03-30 Thread ckoeber
Hello, I am trying to create a JSON service and everything seems to work well until I am pulling the actual data from gthe service to be inserted into a DIV element on a page. Here is the code for the JSON service (client side):  if (Drupal.jsEnabled) {

[jQuery] [validate] Duplicate error msgs (and no re-validation) in FF/Opera. Works in IE6/7

2009-03-30 Thread MKDRF
I'm using the Validation plugin - http://bassistance.de/jquery-plugins/jquery-plugin-validation/ In IE6/7, it works fine. In FF/Opera, there are two (possibly related) problems: 1) If I submit the blank form, the validation seems to work. All of the required fields have the error message appen

[jQuery] [validate] Test Suite Link Not Working

2009-03-30 Thread Erich93063
I went to the Demos page http://jquery.bassistance.de/validate/demo/ For the jquery Validation plugin and was trying to go to the "Terst Suite" which I assume is a page with all the different validation methods in one page. When I go to it though I get an error and the page does not load. Does t

[jQuery] JQuery Cycle pluggin

2009-03-30 Thread Laegnur
Hello I have the following code on my site, using the jQuery Cycle plugin. Everything works fine, until you see the effect Shuffle, then the animation stops. [code] $(function() { $('#animation').cycle({ fx: 'all', shuffle: { top:

[jQuery] Removing and Adding DOM Elements which hold flash movies. Rut Roh

2009-03-30 Thread Braxo
Hello All, I've run into a problem on a particular project, and it seems to be browser specific. The HTML: ... Basically, two span which will hold the flash stuff, and two little arrow images that will get used to toggle betwe

[jQuery] [validate] Test Suite Link Not Working

2009-03-30 Thread Erich93063
I went to the demos page for the jquery Validation plugin and tried to follow the link to the "Test Suite" which I'm assuming is a page with a bunch of different validation methods being used as samples but I get an error everytime I go there and the page doesnt load in either FireFox or IE. Does

[jQuery] Superfish - Bug with fix

2009-03-30 Thread Mark
There is an issue in the comparison of the computed string lengths and the min and max values because they are being compared as string instead of floats. The following code needs to be change from... if (emWidth > o.maxWidth) { emWidth = o.maxWidth; } else if (emWidth < o.minWidth)

[jQuery] Stop on mouseover, restart on mouseout

2009-03-30 Thread flcarneiro
I'm coming in on the tail end of the development of a site, and I'm having to replace another developer. I'm experiencing an issue with a snippet of code that causes a div to periodically move in order to show other content (similar to the main flash panel of hulu.com). There is one div named "med

[jQuery] Stop on mouseover, restart on mouseout

2009-03-30 Thread flcarneiro
I'm replacing another developer on the tail-end of a development project, and I've run into a snag. The page I'm working on has a div named "media-scrollcontainer" which has a property of overflow: hidden and holds another div named "media-scroll". Within "media-scroll" are four divs which hold di

[jQuery] [validate] Duplicate error msgs (and no re-validation) in FF/Opera. Works in IE6/7

2009-03-30 Thread MKDRF
I'm using the Validation plugin - http://bassistance.de/jquery-plugins/jquery-plugin-validation/ In IE6/7, it works fine. In FF/Opera, there are two (possibly related) problems: 1) If I submit the blank form, the validation seems to work. All of the required fields have the error message appen

[jQuery] Re: fastest way to create a million div's?

2009-03-30 Thread Hector Virgen
IMHO Canvas is still the best choice for pixel editing. Take a look at some of Google's achievements with the canvas tag: http://www.chromeexperiments.com/detail/javascript-canvas-raytracer/ -Hector On Sun, Mar 29, 2009 at 10:50 PM, Shedokan wrote: > > thanks for all of your comments, I will t

[jQuery] Triggering a pop up when javascript function call originates from Flash

2009-03-30 Thread RR_QQ
Ok...so I found this cool site http://dev.iceburg.net/jquery/jqModal/ I'm trying to follow an example with the javascript that looks like this: alert("called successfully"); $('#ex3a').jqm({ trigger: '#ex3aTrigger', overlay: 30, /* 0-100 (int) : 0 is off/t

[jQuery] Re: Basic - chaining multiple selectors?

2009-03-30 Thread Ricardo
Marco, you don't need the end() in that statement you posted, that's meant to return the object to it's previous state after you do traversing/filtering on it. A condensed version: $("form a.option").click(function() { var $input = $("form input.fileimage"), visible = $input.is('visib

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-30 Thread dbonneville
I have this example too. I have the data loaded, and onShow will trigger an alert if I put one in, but the close button still does not work: $("#button-sales").click(function(event) { $("#modalContentInstSales").load("includes/institutional- sales.html");

[jQuery] Re: Sync response in ajax forms

2009-03-30 Thread Josip Lazic
I don't think that is solution. I need realtime response, from php script. Finding solution... Computing infi was just for example :) Real output is a bit more informational Resizing image 001.jpg... Adding do db... Resizing image 002.jpg... And so on... On Mar 30, 9:38 pm, James wrote: >

[jQuery] Re: Fire up on field focus

2009-03-30 Thread Ed J
Also, I used jquery-1.3.2.js when I tested the patch. On Mar 30, 12:55 pm, Ed J wrote: > I've posted the 'single click' jquery autocomplete plugin here. Both > full and minified versions are updated: > > http://www.edwardotis.com/public_files/js/jquery-autocompleteplugin/a... > > enjoy, > > Ed >

[jQuery] Re: Fire up on field focus

2009-03-30 Thread Ed J
I've posted the 'single click' jquery autocomplete plugin here. Both full and minified versions are updated: http://www.edwardotis.com/public_files/js/jquery-autocompleteplugin/autocomplete-single-click-dropdown-option.zip enjoy, Ed On Mar 30, 12:41 pm, Ed J wrote: > Hi Andrea, > >  I have up

[jQuery] Re: Basic - chaining multiple selectors?

2009-03-30 Thread James
Maybe something along the lines of: $("form a.option").click(function() { var $input = $("form input.fileimage"); if ( $("form input.fileimage").is(":visible") ) { $input.slideUp"slow"); $(this).text("I want to..."); } else { $input.slideDown("slo

[jQuery] Re: [tooltip]

2009-03-30 Thread Jörn Zaefferer
Check out http://docs.jquery.com/FAQ#Why_do_my_events_stop_working_after_an_AJAX_request.3F Jörn On Mon, Mar 30, 2009 at 4:13 PM, jmmccoy...@googlemail.com wrote: > > Hi, im using your jquery tooltip although I have a question about > doing something bespoke > > I call the code to my page via

[jQuery] Re: onselect handler

2009-03-30 Thread James
Use the autocomplete's 'result' function: http://docs.jquery.com/Plugins/Autocomplete/result#handler On Mar 30, 6:47 am, Diego Plentz wrote: > Hey guys, here I'm again. > > Is there a way to associate a callback function with the select event of an > autocomplete? I want to do something like th

[jQuery] Basic - chaining multiple selectors?

2009-03-30 Thread M4rc0
Hi there! Please bare with me if this question is too basic :) I have the following code: $(function(){ $("form a.option").click(function(){ $("form input.fileimage:visible").slideUp("slow"); $("form input

[jQuery] .draggableDisable vs .draggable('disable') ?

2009-03-30 Thread nmiddleweek
Hello, I've got the jQuery in Action book and it talks about .draggableDisable() but it doesn't disable the dragging in my code... I can only get it to work with .draggable('disable') Am I missing something? Thanks...

[jQuery] Re: Fire up on field focus

2009-03-30 Thread Ed J
Hi Andrea, I have updated my local version of the plugin to support the behavior that we both want. In the unminified version 1.02 of the autocomplete plugin, change line 165 from: if ( hasFocus++ > 1 && !select.visible() ) { to: if ( hasFocus++ > 0 && !select.vis

[jQuery] Re: Sync response in ajax forms

2009-03-30 Thread James
Do a search on how to use the setTimeout() function. You can set a timeout on when each of the text will be displayed. On Mar 28, 9:41 am, Josip Lazic wrote: > Is it possible to display response from ajax script err something > like this: > I call ajax.php and usually i takes few seconds to

[jQuery] Re: $.post problem

2009-03-30 Thread James
Where are you defining the 'click'? Before the $.post, in the success callback function of $.post, or after the $.post? On Mar 28, 5:10 am, paljo wrote: > Hi, > > I' m using $.post in this form: $.post("rpc.php",{data:data},function > (result){$('.aDiv').html(result);}); > Basically i' m searchi

[jQuery] Re: Modifying CSS classes with jQuery (or '.live()' for '.css')

2009-03-30 Thread James
Documentation: http://docs.jquery.com/CSS $("#myElem").css('color', '#ff'); It would probably be better if 'cat_[id]' is the element's ID rather than a CLASS, provided that it's unique in the whole document: ... Using that, you can easily update a whole set of 'cat_[id]' in one call (if tha

[jQuery] Re: Catching document.forms['formid'].submit() with jquery validator

2009-03-30 Thread Jörn Zaefferer
The only approach I see is to find all those inline event handlers and replace them with something that goes through the jQuery event chain, including validation. Something like this: $("a[onclick]").each(function() { this.onclick = function() {}; $("#form").submit(); }); Jörn On Mon, Mar

[jQuery] Re: Dynamic Form - Best practice

2009-03-30 Thread Kreeves
Exactly what I wanted to know. I'm a bit new to the jQuery scene and I was not certain if there might be a cleaner way of accomplishing this behavior. Thanks! On Mar 30, 2:20 pm, Jörn Zaefferer wrote: > There probably isn't a best practice. The example you link to is just > that, an example. B

[jQuery] Re: Catch "generic" events

2009-03-30 Thread James
I don't think there's a simple way for that, but you can combine them though: $(document).bind('click mouseover mouseout', function(event) {...} On Mar 30, 2:42 am, Eric Garside wrote: > Nope. You have to specify the type of event you want to bind. > > On Mar 30, 8:04 am, julio wrote: > > > Hi,

[jQuery] Re: Dynamic Form - Best practice

2009-03-30 Thread Jörn Zaefferer
There probably isn't a best practice. The example you link to is just that, an example. But I see no reason why you shouldn't use that to get started and build whatever you need above it. The validation plugin itself is a good choice anyway. Jörn On Mon, Mar 30, 2009 at 2:01 PM, Kreeves wrote: >

[jQuery] Re: Which attributes of a file input pass to a .php or .aspx using $.getJSON() ?

2009-03-30 Thread James
You cannot upload a file using XMLHttpRequest (aka. AJAX), which means you cannot pass a file using $.getJSON(). Doing what you want to do requires a workaround for uploading files in a AJAX-style manner through using iframes. On your page you have an iframe somewhere, maybe 1x1px in size so it's

[jQuery] Re: simplemodal help - dynamic load of modal content breaks close button

2009-03-30 Thread dbonneville
This does not work quite yet. Anything look wrong? - #button-sales is a button on the page - in firebug, I can see all the loaded data (a small chunk of HTML) in the http-request pane, but it's only in memory - doesn't show up anywhere. How do I get the data into the #modalContentInstSales div?

[jQuery] Using Ajax with Redirects

2009-03-30 Thread Adam
I have some content that loads in a dialog popup via ajax. For some reason when the URL redirects (i.e. 301, 302, etc.), the content never loads in the dialog. Is this normal behavior for ajax, or should the redirected content load? Thanks. do something $(".myDialog").click(function() { $

[jQuery] Animate children of element?

2009-03-30 Thread Patrick Jarrett
What I have is a simple series of divs, and in the divs I have a few items of content, here's an example: Corporate Responsibility Lorem ipsum dolor sit amet. Sit amo mortus amorte. Now I have CSS tied to the container CSS. So the h3, p, and img

[jQuery] JQuery Cycle

2009-03-30 Thread gmca...@gmail.com
I am trying to use the JQuery Slider from http://www.malsup.com/jquery/cycle/ When i run this page in IE, the images dont load so It only has the first picture in the slide show for each example. When i tried to make a simple example it did the same thing in IE7 Everything works in Firefox,

[jQuery] Which attributes of a file input pass to a .php or .aspx using $.getJSON() ?

2009-03-30 Thread StErMi
Hi all, i'm using jQuery to pass a file to a .php or .aspx page using $.getJSON() function. My problem is: how can i pass all the input file data to that page? Which attributes of the input file have i to pass? I think that i have to pass the name of the file ( and here ok, i can get it with .at

[jQuery] Re: Cycle plugin adds white background in ie6 and ie7

2009-03-30 Thread Smoggy
I just added cleartypeNoBg: true and that removed the background on the newest version if cycle On Mar 30, 11:47 am, Smoggy wrote: > It also seems to only be an issue with the latest release I am using > an older version ofcycleand it works fine I will try the issues > mentioned above also. > >

[jQuery] Re: Get element's html and the element

2009-03-30 Thread will
Thanks. I did resort to wrappers. I actually wound up going the other direction. I won't bore you with my app but I inserted an inner wrapper and then grabbed the html. $('#content').wrapInner('') var stuffToSave = $('#content').html(); then after some back and forth with the server the conten

[jQuery] Re: Cycle plugin adds white background in ie6 and ie7

2009-03-30 Thread Smoggy
It also seems to only be an issue with the latest release I am using an older version of cycle and it works fine I will try the issues mentioned above also. On Mar 29, 6:07 pm, Christian Cibelli wrote: > Hey Mike, > > I have the same problem on my site. I added the cleartypeNoBg but > nothing ha

[jQuery] Re: Enable a disabled button by id

2009-03-30 Thread Gilles
HTML way ==> XHTML way ==> if you set attribute to false Button is still disabled So like said before, remove the attribute completly :) On Mar 30, 3:47 pm, "Jonathan Vanherpe (T & T NV)" wrote: > Thierry wrote: > > I can disable button with specific id with the following code: > > > jQu

[jQuery] jCarousel Flickr API /.I VANT THE FULL LIST BUT HOW??(All items not in the visible range are removed from the list to keep the list small.)

2009-03-30 Thread ::rg::
jCarousel Flickr API /.I VANT THE FULL LIST BUT HOW??(All items not in the visible range are removed from the list to keep the list small.) SOMEBODIE CAN HELP ME OUT PLESE NWITH A WERSION OF THIS SCRIPT WITHOUT REMOVING THE NOT VISISBLE PARTS... I NEED THE FULL LIST... "All items not in the v

[jQuery] [tooltip]

2009-03-30 Thread jmmccoy...@googlemail.com
Hi, im using your jquery tooltip although I have a question about doing something bespoke I call the code to my page via $(function() { $('a,div,span,img,td,input').tooltip({ etc. Which works fine, however, if using ajax I populate a div with external content, any title tags from th

[jQuery] Work on one specific node and not on the window.document

2009-03-30 Thread tij_dev
Hi guys ! I assume this is a really basic question but I'm a JQuery rookie :) so please be indulgent :) I would like to get an element by its id but just on a specific node. I only see on the web things like that : $("#myId"). That is the equivalent of window.document.getElementById("myId"). But

[jQuery] [tooltip]

2009-03-30 Thread jmmccoy...@googlemail.com
Hi, im using your jquery tooltip although I have a question about doing something bespoke I call the code to my page via $(function() { $('a,div,span,img,td,input').tooltip({ etc. Which works fine, however, if using ajax I populate a div with external content, any title tags from th

[jQuery] [autocomplete] onselect handler

2009-03-30 Thread Diego Plentz
Hey guys, here I'm again. Is there a way to associate a callback function with the select event of an autocomplete? I want to do something like this: on select item from autocomplete, set the value of field x and hide div xpto. I looked at the format* callbacks, but it won't work in my case. Any t

[jQuery] Anyone have jQuery emulation of box-sizing: border-box for IE?

2009-03-30 Thread Eric
I've searched around a bit. I can't find any jQuery script/plugin to emulate box-sizing: border-box on IE. Border-box is fantastic for form fields: .input { width: 100%; -moz-box-sizing: border-box; /* plus other vend-specific ones */ padding: 5px; } The inputs still take up 100% width but

[jQuery] Re: Get element's html and the element

2009-03-30 Thread mkmanning
Resort to wrappers :). They don't actually have to be in the DOM: var outerhtml = $('').append($('#container').clone()).html(); outerhtml --> all the content On Mar 30, 12:40 am, Steven Yang wrote: > well html() just gets the innerHTMLso your out of luck there > there is actually a plugin for

[jQuery] Passing parameters to XSLT's

2009-03-30 Thread moocher
Hi, I'm writing some JQuery that uses the google plugin (http:// www.jongma.org/webtools/jquery/xslt/#demo) to call an xslt. This works great except that I need to somehow pass parameters to the xslt. I've read through the documentation and there is no mention that this can be done. Does anyone kn

[jQuery] Re: ie6 and ie7 don't load image well when using Cycle plugin

2009-03-30 Thread joy
Hi Johan, Thanks a lot for your reply. It's true that i should move the code for cycle plugin to onload instead of Dom ready. I did test with window.onload = functionA; However the problem is the png transparency that use my other jquery script won't load if i use window.onload =functionA; Are t

[jQuery] Re: HELP: a = $('foobar'); a.after('xyz') not adding element

2009-03-30 Thread Joseph Le Brech
do not underestimate the power of $() > Date: Mon, 30 Mar 2009 08:36:48 -0700 > Subject: [jQuery] Re: HELP: a = $('foobar'); > a.after('xyz') not adding element > From: stephen.cant...@gmail.com > To: jquery-en@googlegroups.com > > > Thanks (late) to everybody for answering.Saw your posts jus

[jQuery] Re: HELP: a = $('foobar'); a.after('xyz') not adding element

2009-03-30 Thread stephen
Thanks (late) to everybody for answering.Saw your posts just now. I overlooked that line in the documentation...RTFM to me! Sorry about that. However, do you know if there is another way to achieve the same result, without inserting the nodes in the DOM first? By chance, i've found the "add()" m

[jQuery] Re: tooltip container flowing off page in Safari 4, not resizing as should

2009-03-30 Thread roryreiff
Does anyone know if this can be easily addressed? It is Safari 4 Mac, to be precise. Thanks, On Mar 10, 8:52 am, roryreiff wrote: > Hi there, > > In my implementation of the tooltip plugin, I have notice that in > Safari 4 the tooltip does not resize when the cursor moves against the > window

[jQuery] Re: How to load redirected content in dialog?

2009-03-30 Thread Adam
Anyone? On Mar 27, 4:39 pm, Adam wrote: > I have some content that loads in a dialog popup via ajax.  For some > reason when the URL redirects (i.e. 301, 302, etc.), the content never > loads in the dialog.  Is this normal behavior for ajax, or should the > redirected content load? > > Thanks. >

[jQuery] Re: tooltip container flowing off page in Safari 4, not resizing as should

2009-03-30 Thread roryreiff
Does anyone know if this can be easily addressed? It is Safari 4 Mac, to be precise. Thanks, On Mar 10, 8:52 am, roryreiff wrote: > Hi there, > > In my implementation of the tooltip plugin, I have notice that in > Safari 4 the tooltip does not resize when the cursor moves against the > window

[jQuery] Re: How to access variable outside function

2009-03-30 Thread Joseph Le Brech
because you are updating i asyncronously it will be overwritten asynconously. what you could do is add your "purged" data to an array, and read that array elsewhere in a loop. > Date: Mon, 30 Mar 2009 07:20:21 -0700 > Subject: [jQuery] Re: How to access variable outside function > From: ice

[jQuery] Catching document.forms['formid'].submit() with jquery validator

2009-03-30 Thread Yeuker
For those of you who frequent the jqueryhelp.com pages, forgive my question here as well. I am using the excellent jquery validation plugin found here: http://docs.jquery.com/Plugins/Validation It works incredibly well and am very happy with it (thanks). My problem is that sometimes my forms a

[jQuery] Re: Enable a disabled button by id

2009-03-30 Thread Jonathan Vanherpe (T & T NV)
Thierry wrote: > I can disable button with specific id with the following code: > > jQuery("#click_me:button").attr("disabled", "true"); > > If I want to re-enable the button, the following doesn't work: > > jQuery("#click_me:button").attr("disabled", "false"); > > Does anyone know what I'm mi

[jQuery] Dynamic Form - Best practice

2009-03-30 Thread Kreeves
There is plenty of discussion on "Dynamic form validation" in this group, but my question is of a slightly different nature. I'm attempting to create a page that will build the form based on user input. IE: User is prompted with one search box with several options. They can then hit an "Add sea

[jQuery] Error in IE8

2009-03-30 Thread Schockwelle
Hi, I use blockui on my website www.rbl-check.com and i have an error in the internet explorer 8. Row: 227 Sign: 17 Code: 0 URI: http://www.rbl-check.com/ajax/jquery.blockui.js In e.g. Firefox blockui works fine... Can anybody help me? Best regards from Germany

[jQuery] [beginner] passing variables to a Jquery function

2009-03-30 Thread Peter Van Dijck
Hi all,I couldn't find a good answer to this, although it has probably been answered before, apologies! I have a link do it And some jQuery code $("#doit").click(function(){ // upon click $.get(this.href); // call the URL $('#doit').replaceWith("I've been there (undo)"); return false; }); My p

[jQuery] Re: jQuery and !important

2009-03-30 Thread Martijn Houtman
Hey Sebastian, On Mar 30, 2009, at 4:49 PM, segarva wrote: in my CSS file I have: *{ background-color:#ff!important; } .destacado{ background-color:green!important; } and, in my jQuery code: $("a").click(function(){ $("p:last").addClass("destacado"); } and it's working fine! the last p

[jQuery] Re: Enable a disabled button by id

2009-03-30 Thread Leonardo K
Shoud be: jQuery("#click_me:button").attr("disabled", "disabled"); and to re-enable jQuery("#click_me:button").removeAttr("disabled"); On Mon, Mar 30, 2009 at 11:44, Thierry wrote: > > I can disable button with specific id with the following code: > > jQuery("#click_me:button").attr("disabled

[jQuery] Re: Enable a disabled button by id

2009-03-30 Thread Martijn Houtman
On Mar 30, 2009, at 4:44 PM, Thierry wrote: jQuery("#click_me:button").attr("disabled", "false"); jQuery("#click_me:button").removeAttr("disabled"); Regards, -- Martijn.

[jQuery] Re: jQuery and !important

2009-03-30 Thread segarva
Hi Martinjn, in my CSS file I have: *{ background-color:#ff!important; } .destacado{ background-color:green!important; } and, in my jQuery code: $("a").click(function(){ $("p:last").addClass("destacado"); } and it's working fine! the last paragraph is converted to green using ! important

[jQuery] Enable a disabled button by id

2009-03-30 Thread Thierry
I can disable button with specific id with the following code: jQuery("#click_me:button").attr("disabled", "true"); If I want to re-enable the button, the following doesn't work: jQuery("#click_me:button").attr("disabled", "false"); Does anyone know what I'm missing?

  1   2   >