Re: [jQuery] Re: Positioning of nested child elements when using sliders/carousels?

2009-12-13 Thread Andrei Eftimie
Well, If you're sliding horizontally, set only overflow-x: hidden; on the masking container. That way you should be able to get a suckerfish style menu working vertically. On Sun, Dec 13, 2009 at 9:28 AM, O.J. Tibi - @ojtibi ojt...@gmail.com wrote: Still nothing guys? I can't even think of a

[jQuery] Re: proper way

2009-12-13 Thread Jojje
Hahaha! You dont have to apologise for that, my mother should apologise to me hahahaha Ok thank you for your very good and easy explanations on this. This was actually part of another qustion i posted here, these rules doesnt apply in this example right? $.validator.addMethod('userCheck',

Re: [jQuery] Re: proper way

2009-12-13 Thread Michael Geary
Actually the scope rules I described always apply to all JavaScript code, whether it uses jQuery or otherwise. They also apply to your $.ajax example. Consider your second version. You have a result variable declared outside your validator code. The success function is able to access this

[jQuery] Re: proper way

2009-12-13 Thread Jojje
I´m not sure i follow you on this one: Fortunately, there is a much simpler solution. In your success callback, *call a function* and pass it your ajax result. In fact, that's the reason why there is a success callback in the first place. $.ajax calls your success callback when the ajax data

[jQuery] IE stops recurring ajax call

2009-12-13 Thread Henjo
Hi list, I have written a dynamic form that gets stuff from a db and puts it into select boxes. After selecting the first, the form reloads to the next. In total I have maximum 3 selectors to show up. It works flawlessly in FF, Safari, Chrome... But IE is being nasty on me! Any idea on how to

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-13 Thread Gian-ava
Oh c'mon, nobody who can helo me out with this? Nobody who can figure out how to code the right errorPlacement to place the error label where I need it? -- View this message in context: http://old.nabble.com/Validation-Plugin%3Aneed-help-with-errorPlacement-tp26719238s27240p26769256.html Sent

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-13 Thread Leonardo K
This should work: $(document).ready(function(){ $('#actionform').validate({ submitHandler: function(form) { $(form).ajaxSubmit({ success: function() { $('#actionform').hide(); $('#content').append(p

[jQuery] Need to pass object property through function and retrieve result

2009-12-13 Thread pthesis
I can't seem to figure out this problem, and would appreciate your help. I've got an object: options = {one : function(element) { }, two : function(element) { }, etc.}; And I've got var element = $(this); I need to pass these into a function like : eval(element,function (element) { }); and

[jQuery] jQuery Form plugin and IE

2009-12-13 Thread michaelF
I've been working on an upgrade to my site that includes a quick form for one or two image uploads and contact info. the form is included via php in some of the internal pages. I've tested in several Browsers, but have problems with IE. it seems to process the js but doesn't submit the form. i'm

Re: [jQuery] Validation Plugin:need help with errorPlacement

2009-12-13 Thread Gian-ava
Hi Leonardo, Thanks for answering. Unfortunately, the validation doesn't work at all with the code you provided: the form is sent even if the required fields are empty. Any hint? Leonardo K wrote: This should work: $(document).ready(function(){ $('#actionform').validate({

[jQuery] validation plugin. errorplacement and onblur

2009-12-13 Thread Droy
Greetings! I had a small problem: all errors received in plugin validation I take out in div the block with id = error. errorPlacement: function (error) { $ (' #error ').html (error); } All works well. But when the user has corrected the data on correct in case of an error errors from

[jQuery] Need help converting conventional code to jquery

2009-12-13 Thread Ibatex
Hi all, I'm new here and new to jquery in general. Question is how can I do the following in jquery, I'd like to have access to jqueries effects and animations. function togglePassFail(radioName) { var buttonGrp = document.getElementsByName(radioName); var radioValue; //

[jQuery] Help on :contains

2009-12-13 Thread kumar
Hi I am new jQuery Please help in this. I got table which contains different text values in first 3 columns of every row and 4th column contains a button. when the button is clicked which is in 4th column(example: td:eq(3)) of a row i am trying to find the 2nd column(example: td:eq(1)) of that

[jQuery] [autocomplete] How to stop the script after submit?

2009-12-13 Thread Wonderm00n
I'm using the autocomplete plugin (http://bassistance.de/jquery- plugins/jquery-plugin-autocomplete/) and sometimes I press enter / submit the form (which uses ajax, so the page does not change) and the autocomplete fires up AFTER this, so the user already entered the search term, is already

[jQuery] scrollable in tab panes

2009-12-13 Thread brainquidditch
I am new to jQuery. I successfully implemented a set of tabs under a banner on a web page. Now I would like to add a scrollable inside one of the tab panes (home_content below). The code is very simple. $(document).ready( function() { // Load Home loadBanner(); // this works

[jQuery] Define variable scope only to a instance of a plugin

2009-12-13 Thread Shabith Ishan
In my jquery plugin i want to save a variable which i get from ajax.load function inside the plugin instance. So I can access it later on. this is how I do it right now but it keep changing to the last instance variable when I trying to access it. http://paste-it.net/public/e7388e4/ Is there

[jQuery] sometimes lenght property does not work but size() does return correct value

2009-12-13 Thread manko
Sometimes $('p').lenght returns undefiend property but when i replace lenght with size() method i get the correct number of p elements in current dom ??

[jQuery] Re: detecting edge cases when swapping divs

2009-12-13 Thread robert...@gmail.com
I am trying to learn Jquery and tried to tackle this one. I figured you must identify id and class, then rename each after a movement. This seems to work ok - but I am sure there is a more elegent way to do it. !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://

[jQuery] Re: sometimes lenght property does not work but size() does return correct value

2009-12-13 Thread jpcozart
Did you misspell it in your code? $('p').length On Dec 13, 2:59 am, manko uha...@gmail.com wrote: Sometimes $('p').lenght returns undefiend property but when i replace lenght with size() method i get the  correct number of p elements in current dom ??

[jQuery] Re: sometimes lenght property does not work but size() does return correct value

2009-12-13 Thread Ariel Flesler
It's length, not lenght. -- Ariel Flesler On Dec 13, 5:59 am, manko uha...@gmail.com wrote: Sometimes $('p').lenght returns undefiend property but when i replace lenght with size() method i get the  correct number of p elements in current dom ??

[jQuery] Re: Positioning of nested child elements when using sliders/carousels?

2009-12-13 Thread O.J. Tibi - @ojtibi
Thanks Andrei, I really appreciate the help. Though overflow-x is CSS3, I'm thinking of something that can still look nice in older browsers (you know what I'm saying, no need to mention it here).

[jQuery] Re: load() function and IE8

2009-12-13 Thread Karl Swedberg
Hi Scott, Take a look at the documentation for the .live() method: Currently not supported: blur, focus, mouseenter, mouseleave, change, submit http://docs.jquery.com/Events/live#typefn The change event doesn't bubble in IE, so it doesn't work with .live (). jQuery 1.4 is going to provide a

Re: [jQuery] Re: Positioning of nested child elements when using sliders/carousels?

2009-12-13 Thread Andrei Eftimie
Haven't really tested this now, but from what I remember, overflow-x works in all browsers. Including IE6. On Mon, Dec 14, 2009 at 3:46 AM, O.J. Tibi - @ojtibi ojt...@gmail.com wrote: Thanks Andrei, I really appreciate the help. Though overflow-x is CSS3, I'm thinking of something that can