Re: [jQuery] Problem with chronological order : jQuery code runs too late

2010-02-11 Thread Leonardo K
Ajax is asynchronous. The alert in the ajax post will only be executed when the ajax request is completed. This can happen after the other part of your code run. You can use the async option and set to false; http://api.jquery.com/jQuery.ajax/ On Thu, Feb 11, 2010 at 10:35, Julien wrote: > Hi,

Re: [jQuery] Re: Extracting content from a div?

2010-01-09 Thread Leonardo Balter
Email der Rezension > kann nicht den Wert 'undefined' >speichern. > > > > some junk here > > > > > So how exactly would I extract that from a string? > &

Re: [jQuery] Re: Error in IE6 and 7, but not 8 (or FF, and Chrome) ...

2010-01-09 Thread Leonardo Balter
Sometimes we really need other people to look our codes or test our products. Or we need to first "empty our cup" to have it full again. 2010/1/9 youradds > OMG you lifesaver!!! HOW DID I MISS THAT! > > Just made the change, and works perfectly in IE 6 and 7 now - thanks > so much! > > > On

Re: [jQuery] Extracting content from a div?

2010-01-09 Thread Leonardo Balter
And you can simply use .text() method. This will return you only the text inside your selected element. Do you also need tips on getting the child elements on that div? -- At, Leo Balter http://leobalter.net Blog técnico: http://blog.leobalter.net

Re: [jQuery] Re: Element Exact Width

2010-01-01 Thread Leonardo Balter
Vidas, I got stuck on what you did in the 'obj.html(obj.children().html());' Isn't it a redundancy or I'm missing something? 2010/1/1 Šime Vidas > > Better yet, make a function that you can reuse: > > function contentWidth(obj) { >var width = obj.wrapInner("").children().width(); >obj

Re: [jQuery] problem in installing jquery in debian (lenny)

2009-12-27 Thread Leonardo Balter
already tried to reclone your git rep paste? Maybe you can get better answers in jQuery Dev group. 2009/12/26 alenoosh > Hi > > I'm trying to install jquery in lenny , I have sun-java6-jre , sun- > java6-bin and sun-java6-plugin and sun-java6-jdk installed , but when > I run 'make' in shell to

Re: [jQuery] Rebinding not working

2009-12-26 Thread Leonardo K
Use the callback of load function $('#transactions').hide().load(url, function(){ $('#transactions ul li a').bind('click tap', exp_iphone_get_trans); }).fadeIn(); On Sat, Dec 26, 2009 at 19:29, mrtoner wrote: > Okay, the answer is probably obvious to you that are old hands at > jQuery, but

Re: [jQuery] click(function{ problem with Firefox

2009-12-24 Thread Leonardo K
The firefox doesn`t allow you to have a div inside a label. Checkout the firebug and see how the firefox close de label tag before your div. So your label will be empty. On Thu, Dec 24, 2009 at 14:12, turnavies wrote: > Hi, > > I'm working on a login system in CodeIgniter, where you select your >

Re: [jQuery] Re: js function to jQuery

2009-12-23 Thread Leonardo Balter
Maybe the asp.Net ajax is still working and changing elements when the DOM is ready in the page. I would encourage you to get rid of your asp.net ajax too. It's a nightmare of issues. 2009/12/23 Šime Vidas > Well, it actually gets even shorter... you can combine the two > selectors into one

Re: [jQuery] Problem with a search form in a loaded php file??

2009-12-23 Thread Leonardo Balter
First of all: an Id is meant to be unique, so you can start with $('#search_button') selector and test it all again. 2009/12/23 123gotoandplay > hi, > > have simple search form which works in list.php > > Now i am 'loading' list.php in #content and now the search function > doesn't work. > > w

Re: [jQuery] Problem with window focus event in Firefox 3.5/Win Vista?

2009-12-23 Thread Leonardo Balter
Try the .one( event type, callback fn ) method 2009/12/23 paul s > Hi folks, > > I'm having a problem using: > > jQuery(window).bind("focus", function(event) { alert("test"); }); > > in Firefox. > > I'd expect a single alert box when I focus on the window. However in > Firefox I get 4 alert boxe

Re: [jQuery] Re: js function to jQuery

2009-12-23 Thread Leonardo Balter
Nah, make it sexier, use parenteses (tip from the new John Resig's ebook): ( var $ = window.jQuery; $("#CollapseExpandTd").click( function() { $("#TreeviewTd").toggle(); $("#MenuBarTd").toggle(); }); ); $ will be a local variable and unicorns will come to see the magic runni

Re: [jQuery] Meta question about this newsgroup

2009-12-23 Thread Leonardo Balter
Pastebin (http://pastebin.com) as the best reedit option and http://jsbin.com as the best "as working" example option. 2009/12/22 aquaone > Providing a link to a live site or using a pastebin type site (e.g. > http://jsbin.com/) is likely your best bet. > > aquaone > > > On Tue, Dec 22, 2009 at

Re: [jQuery] How to get these two slide show to alternate?????

2009-12-23 Thread Leonardo Balter
first you forgot a "{" in the first cycle, maybe you already noticed this. Second, trying to help you: why don't you try to use for both slideshows a delay of 3000ms but a timeout of 3 secs in the first and 6 secs in the other one. This make the right magic for you? 2009/12/23 Rick Faircloth >

Re: [jQuery] Coloring fieldset or legend Red after error

2009-12-17 Thread Leonardo K
then .errorClass{ background-color:red; } On Thu, Dec 17, 2009 at 14:27, Leonardo K wrote: > Something like this: > > $(".selector").validate({ > highlight: function(element, errorClass) { > $(element).addClass(errorClass); > $(e

Re: [jQuery] Coloring fieldset or legend Red after error

2009-12-17 Thread Leonardo K
Something like this: $(".selector").validate({ highlight: function(element, errorClass) { $(element).addClass(errorClass); $(element.form).find("label[for=" + element.id + "]").addClass(errorClass); $(element).closest('fieldset').addClass(errorClass); }, unhighl

Re: [jQuery] jquery validate bug

2009-12-15 Thread Leonardo K
I download your code and it's working fine. On Tue, Dec 15, 2009 at 08:48, Givan wrote: > Hi, I found a bug within the validation plugin > I have a form and I need to click the submit button twice to submit > the form. > It seems that on the first click validates and only on the second > click w

Re: [jQuery] Validation plugin: required by condition

2009-12-15 Thread Leonardo K
Something like this: $(form).validate({ rules:{ announce: { required: function(element) { var value = $("input[name='blog-entry']").val(); if ( val == 'publication' || val == 'post' ){ return true; }e

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

2009-12-15 Thread Leonardo K
m }, On Mon, Dec 14, 2009 at 20:06, Gian-ava wrote: > > Leonardo, > > I see. Firebug' error console says: > > Error: missing ) after argument list > Line: 8, Column: 12 > Source Code: >} > > Strange, since I don't think this is correct.

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

2009-12-14 Thread Leonardo K
The debug:true only work with firebug (extension for firefox). The messages will appear in console On Mon, Dec 14, 2009 at 11:50, Gian-ava wrote: > > Leonardo, thanks for your interest in my case. > > I've tried out the code with the debug option. I just don't know wha

Re: [jQuery] how to get value between brackets in a string

2009-12-14 Thread Leonardo K
$('#pageCount').text().replace(')','').replace('(','') On Mon, Dec 14, 2009 at 10:41, tony stamp wrote: > > I have a simple span element with the id of pageCount, which has a value of > "(5)", for example. I am attempting to get the just number value without > the > brackets, or some way of adju

Re: [jQuery] Need help converting conventional code to jquery

2009-12-14 Thread Leonardo K
function togglePassFail(radioName) { var buttonGrp = document.getElementsByName(radioName); var radioValue = $(buttonGrp).filter(':checked').val(); var detailDiv = $(buttonGrp).eq(0).parent().next(); if ( radioValue == 'p' ){ detailDiv.hide(); }else{ detailDiv.sh

Re: [jQuery] validation plugin. errorplacement and onblur

2009-12-14 Thread Leonardo K
You can use the errorLabelContainer to put all your label in a div, and the plugin will handle this. errorLabelContainer: "#messageBox", On Sun, Dec 13, 2009 at 09:33, Droy wrote: > Greetings! I had a small problem: all errors received in plugin > validation I take out in div the block with id

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

2009-12-14 Thread Leonardo K
7;#actionform').hide(); $('#content').append("Thanks! Your request has been sent." } }); }, errorPlacement: function(error, element) { error.insertAfter(".rowElem"); } }); On Sun, Dec 13, 2009 at 20:52, Gian-ava wrote: >

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("Thanks! Yo

Re: [jQuery] addClass('floatsToRight') doesn't work, but .css('float', 'right') does

2009-12-10 Thread Leonardo K
Maybe you have a style that override the float right property. 2009/12/10 Łukasz Podolak > Hey, > > I have one css clas, that looks like this: > > .floatsToRight { >float: right; > } > > my jquery code is doing the following: > $('ul.gallery li:not([class="main"]) div.title:even').addCla

Re: [jQuery] huge drop down

2009-12-10 Thread Leonardo K
You can set the width with css. On Wed, Dec 9, 2009 at 23:48, fachhoch wrote: > > My page got a very big drop down list attached is the image > http://old.nabble.com/file/p26720940/programs-drop-down.png > > I need suggestions in reducing the width of this drop down , I cannot > replace the text

Re: [jQuery] Re: Hide Table Row - Fundamentally I'm wrong.

2009-12-02 Thread Leonardo K
I tested here and worked: http://jsbin.com/ivude On Wed, Dec 2, 2009 at 13:32, mickey wrote: > Anyone? >

Re: [jQuery] validate

2009-12-01 Thread Leonardo K
you can create your own method using the addMethod ( http://docs.jquery.com/Plugins/Validation/Validator/addMethod) On Tue, Dec 1, 2009 at 11:50, tom wrote: > I'm using the jquery.validation plugin by Jörn Zaefferer and I was > wondering whether there's a easy way to trim form elements before th

Re: [jQuery] Slide with jQuery.

2009-11-19 Thread Leonardo K
$("h4").click(function(){ $(this).next('div').slideToogle(); }).trigger('click'); On Thu, Nov 19, 2009 at 04:11, srikanthv wrote: > I have to implement slide on each question. by default question > will be collapse. when I click on on question it should be slide down > (expand). How can

Re: [jQuery] Validation

2009-11-16 Thread Leonardo K
You dont need to submit again inside the submitHandler function. $("form#send_gb").validate({ submitHandler: function(form) { var gb_post = $("#gb_post").attr("value"); var userid = $("#userid").attr("value"); var ownerid = $("#ownerid").attr("value"); $.ajax({

Re: [jQuery] click Event Problem with appended html element

2009-11-07 Thread Leonardo K
Look the live event: http://docs.jquery.com/Events/live#typefn On Sat, Nov 7, 2009 at 10:49, ndes wrote: > Hi! I was wondering if i made something wrong or this dont works in > general. I have a drop down list that "onChange" loads some data an > pops a list of img+text > > $('#selectDisplay').c

Re: [jQuery] Re: help fixing a cycle+jcarousel setup where imgs are loaded after onload

2009-11-03 Thread Leonardo K
Actually your code is working in IE for me. The problem is that your code is generating empty LI's. If you click to scroll images to the right i can see all the images in IE. There a empty space between the images because the empty LI's. On Tue, Nov 3, 2009 at 13:26, jeremybass_offset wrote: > :

[jQuery] Re: Submitting after Validation

2009-10-28 Thread Leonardo K
Perhaps the problem is that submitHandler function has an argument. submitHandler: function(*form*) { } On Wed, Oct 28, 2009 at 12:52, StephenJacob wrote: > > Thanks Leonardo, I've tried to implement AjaxSubmit and the > Jquery.Post but have had no luck. The form keeps submitt

[jQuery] Re: jQuery beginner: Problem with ":not" selector.

2009-10-28 Thread Leonardo K
You could do this too: var $buttons = $('.button'); $buttons.click(function(){ $buttons.not(this).css('background-color', 'green'); }); On Wed, Oct 28, 2009 at 05:39, alexpls wrote: > > I'm a beginner to programming, so please bear with me, I might be > missing something really obvious here

[jQuery] Re: Submitting after Validation

2009-10-28 Thread Leonardo K
, StephenJacob wrote: > > Leonardo, I've been looking into the submitHandler option but i'm > having problems getting it to work correctly. Here is a sample of the > code i'm testing. > > $("#signupForm").validate({ > >rules: { >

[jQuery] Re: Submitting after Validation

2009-10-27 Thread Leonardo K
Look the submitHandler option: http://docs.jquery.com/Plugins/Validation/validate#toptions On Tue, Oct 27, 2009 at 15:02, StephenJacob wrote: > > I'm trying to create a contact form using Jquery Validation and Ajax > Submit. I'm having a problem figuring out the best way to submit the > results

[jQuery] Re: How to select some but not all elements

2009-10-25 Thread Leonardo K
$('#menu li.top > a').css('background-color', 'tan'); The selector is just like CSS. On Sun, Oct 25, 2009 at 10:25, breadwild wrote: > > Hello, > > I'm building a nested menu where I want to add background colors only > to top menu items. I can't change the generated code, so I have to > live w

[jQuery] Re: validation plugin addMethod does not work for me.

2009-10-22 Thread Leonardo K
te: {required: "#sameAsBusinessAddress > [checked='false']"}, > > restitutionzipcode: {required: "#sameAsBusinessAddress > [checked='false']"}, > > company:true > } > >}); > >$.validator.addMethod( "company&qu

[jQuery] Re: validation plugin addMethod does not work for me.

2009-10-21 Thread Leonardo K
U need set the rules for your validation: frmSubmittal.validate({ debug: false, focusCleanup: false, focusInvalid: false, onfocusout: false, onkeyup: false, errorPlacement: function(error, element) { error.prependTo( element.parents("div.ctrlHolder")); }, er

[jQuery] Re: jquery preload images

2009-10-16 Thread Leonardo K
http://jqueryfordesigners.com/image-loading/ On Fri, Oct 16, 2009 at 10:48, kknaru wrote: > > can you give me some good references? i'm trying to understand the > process so i don;t want to use a plugin

[jQuery] Re: jquery preload images

2009-10-16 Thread Leonardo K
the callback of load function is called when the ajax request is complete (this not include waiting images to load). You have to use some plugin to preload images. On Fri, Oct 16, 2009 at 08:26, kknaru wrote: > > nobody? :(

[jQuery] Re: Validation plugin: textarea to allow only digits, but allowing linebreaks?

2009-10-15 Thread Leonardo K
You can create your own validate method: http://docs.jquery.com/Plugins/Validation/Validator/addMethod#namemethodmessage jQuery.validator.addMethod("digitsAndLineBreak", function(value, element) { return /^[\d|\n]+$/.test(value); }, "Please enter only digits"); then: $("#quicksend_form").val

[jQuery] Re: Can't get .attr to work in chrome

2009-10-14 Thread Leonardo K
Use the click event: http://docs.jquery.com/Events/click#fn On Wed, Oct 14, 2009 at 01:23, Curtis Ovard wrote: > > Here is the code > $(document).ready(function(){ >$('img').attr({onclick: "Image_Click(src)"}); >$('img').css("cursor", "pointer"); > }); > > function Image_Click(sr

[jQuery] Re: XML Parsing, am I doing it wrong?

2009-10-13 Thread Leonardo K
I see two things that maybe are the cause of your problems: *space between idc:field and the atribute selector and scape the special characted ":"* var jqStatusMessage = jqxml.find("idc:field [name = 'StatusMessage']"); //wrong var jqStatusMessage = jqxml.find("idc\\:field[name='StatusMessage']"

[jQuery] Re: Error occurs in IE8

2009-10-06 Thread Leonardo K
You should post this on jquery dev group: http://groups.google.com/group/jquery-dev On Tue, Oct 6, 2009 at 16:28, mk.keck wrote: > > Hello, > > I've found an error in Line 2853: > IE8 stopps with follow Error Message: > 'Mitglied nicht gefunden' in Zeile 2853 Zeichen 9 > 'Member not found' Line

[jQuery] Re: image rollover

2009-10-05 Thread Leonardo K
You can just do: $("#nav td, .otherclass").enter(); On Mon, Oct 5, 2009 at 07:50, jessie wrote: > > Hi > > You posted a reply but there was nothing there! LOL i can't see what > you wrote. > > Thanks > Jess :) > > On Oct 5, 3:57 pm, Piyush Moradiya wrote: > > On Sun, Oct 4, 2009 at 6:34 PM, je

[jQuery] Re: how to submit a form after validation please ?

2009-09-28 Thread Leonardo K
Just a tip: You don't need to create a new validator function for your select. Instead of using value="none" for your default option use value="" and just add required:true to the rules. about your problem: Try to put the alert inside the submitHandler function to know if your form is validating.

[jQuery] Re: check if checkbox is checked dynamicallyH

2009-09-28 Thread Leonardo K
$('#priority').click(function(){ if( $(this).is(':checked') ) $('.presult').text('500 USD'); else $('.presult').text(''); }); On Mon, Sep 28, 2009 at 05:24, runrunforest wrote: > > Hi, > > I have a html like this > > 0 USD span> > > I want when checkbox is checked, the spa

[jQuery] Re: Validating Submit from Image Button (Validate)

2009-09-23 Thread Leonardo K
You code is missing a comma after each rule On Tue, Sep 22, 2009 at 10:34, Dakuwan wrote: > > Tracked it down to the rules area, there was an unclosed }. > > On Sep 21, 4:47 pm, Dakuwan wrote: > > I am having the following issue, when I try using an image to post I > > cannot get the validation

[jQuery] Re: Easy show()/hide() Question

2009-09-15 Thread Leonardo K
The problem is this line: $(this).children('ul').hide('fast'); If you changed to .hide() without the speed, works fine. I dont know if this is a jquery bug. On Mon, Sep 14, 2009 at 09:31, GLSmyth wrote: > > I am missing something fundamental and am sure that someone can point > me in the right

[jQuery] Re: Very disappointed with jquery and iframe communication

2009-09-15 Thread Leonardo K
Are you sure that $(frames['Theiframe']) is returning the iframe ? On Tue, Sep 15, 2009 at 05:53, ximo wallas wrote: > After 1 day googling and trying I find no agreement in a solid method for > comunicating with iframe, this is the nearest point I've been to get in > touch with IFRAME: > > $(fr

[jQuery] Re: [jQuery Corner] Problem using nested corners/borders

2009-09-02 Thread Leonardo K
Your css is the problem :D Missing the "." before the testing On Wed, Sep 2, 2009 at 15:14, J. Martin wrote: > > I am attempting to create a box with malsup's jQuery nested corners, > but can't get it to display properly. > > Here's my CSS: > testing { margin: 0; background: #ffc; padding: 10px

[jQuery] Re: Newbie: Cannot get .text() to work with IE7

2009-09-02 Thread Leonardo K
Maybe its a problem with you xml: <*product_header_sites*>F90 On Wed, Sep 2, 2009 at 08:53, Knight, Doug wrote: > All, > > I wasn’t sure if this got lost in the shuffle of my first post. Does anyone > know why the following works under FF and not under IE7? There are comments > within the cod

[jQuery] Re: Meio mask

2009-08-31 Thread Leonardo K
$.mask.rules = { 'A': /[0-9a-zA-Z ]/ }; $('input').setMask({ mask: 'A', type:'repeat' }); On Fri, Aug 28, 2009 at 16:22, Mario Soto wrote: > > Hi everyone. I'm having troubles with meiomask to allow spaces in a > field that will allow only letters, numbers and spaces of course. I'

[jQuery] Re: jquery.corner.js plugin not working with elements

2009-08-26 Thread Leonardo K
I think you can't rounded a input element with this plugin. U can put the input inside a div element, round the div and set border=0 to your input. So the user think the input is rounded, but actualy is the div outside. On Wed, Aug 26, 2009 at 02:40, Noel Weichbrodt wrote: > > I must have missed

[jQuery] Re: Manipulate href

2009-08-17 Thread Leonardo K
$("#my_list a").each(function(){ newhref = '#' + $(this).attr('href').split("/")[3]; $(this).attr('href', newhref); }); On Mon, Aug 17, 2009 at 16:07, knal wrote: > > Hi group, > > I'm looking for a correct way of manipulating The code looks like this: > > > Animals > Buildings >

[jQuery] Re: How to bind event handlers to elements

2009-08-11 Thread Leonardo K
U need a id or a classe to find the element. If u have a id in your input u could do: $("#id"),change(function(){ //your code here }); If u have a input inside a container that have a class you could do this: $(".container input").change(function(){ //your code here }); or with id $("

[jQuery] Re: jQuery readonly input text and ie6

2009-08-10 Thread Leonardo K
Maybe this plugins will help you: http://code.google.com/p/js-hotkeys/ On Mon, Aug 10, 2009 at 10:36, Mazi wrote: > > Ok I found the problem. > The problem is that i want to bind the event on the Delete button > keypress. > But in ie the Delete button does not fire any keyCode. > > Any idea/work

[jQuery] Re: End of animation

2009-08-05 Thread Leonardo K
Try this. $("#menu li:not(.selected)").animate({ marginLeft: "-200px" }, function() { if ($(this).is(':last')) { $("#menu").hide(); } }); On Wed, Aug 5, 2009 at 12:15, Mathieu wrote: > > Thanks for your answer Leonardo. >

[jQuery] Re: End of animation

2009-08-05 Thread Leonardo K
Use the callback function $("#menu li").click(function() { // toggle selected item in list $(this).toggleClass("selected"); // animate all other LI elements to disappear (sliding left) $("#menu li:not(.selected)").animate({ marginLeft: "-200px" }, function(){ $(

[jQuery] Re: What am i doing wrong????

2009-07-31 Thread Leonardo K
[value='Other']").is(':checked');}, > // number: true, > >PlannedAttendance: "required", > // PlannedAttendanceOther: { > // required: function(element) {

[jQuery] Re: What am i doing wrong????

2009-07-31 Thread Leonardo K
This problem occurs when a comma is missing. Post your entire code of the validation. On Fri, Jul 31, 2009 at 16:00, PictureMan wrote: > > When I add this rule to a page with the other rules, my page stops > validating. > Works fine if I don't add it. > > What this is for is a check box next to

[jQuery] Re: jQuery lagging

2009-07-31 Thread Leonardo K
k(this, > > this.FadeInGalleryImageFaded)); > > > > On Jul 31, 3:16 pm, Leonardo K wrote: > > > > > Try to use the stop function before the animation start > > > > >http://docs.jquery.com/Effects/stop > > > > > On Thu, Jul 30, 2009

[jQuery] Re: jQuery lagging

2009-07-31 Thread Leonardo K
Try to use the stop function before the animation start http://docs.jquery.com/Effects/stop On Thu, Jul 30, 2009 at 18:37, Perrin4869 wrote: > > I guess I'll make it much easier if I strip all the surrounding stuff > in the webpage, and use the uncompressed version of jQuery. > Here's the updat

[jQuery] Re: Cross-domain (for analytics)

2009-07-30 Thread Leonardo K
I think this will help you. http://snook.ca/archives/javascript/cross_domain_aj/ On Thu, Jul 30, 2009 at 07:00, Danny Ayers wrote: > > I've run up against a cross-domain Ajax problem, essentially I want to > do something like: > > (in http://hostA.com/page.html) > >

[jQuery] Re: File size of jQuery.min.js != 19KB

2009-07-30 Thread Leonardo K
Minified and *Gzipped* http://betterexplained.com/articles/how-to-optimize-your-site-with-gzip-compression/ On Thu, Jul 30, 2009 at 03:51, JakeG wrote: > > jquery.com home page says: > > --- > PRODUCTION: (19KB Minified and Gzipped) > --- > > ... but if you follow the link, you get a 55.9KB jqu

[jQuery] Re: Selecting the values of radio buttons

2009-07-27 Thread Leonardo K
Something like this: $(button).click(function(){ var total = 0; $(input:radio).each(function(){ total += $(this).val(); }); alert(total); return false; }); On Mon, Jul 27, 2009 at 16:41, briggs81 wrote: > > This is probably simple, but I am new to jQuery and am tryin

[jQuery] Re: slideUp(), slideDown() not working in IE 6, 7 on LI elements

2009-07-17 Thread Leonardo K
nd LIs? There's got to be a better way... > > On Jul 15, 2:38 pm, Bill wrote: > > Leonardo, thanks very much for your reply. > > > > I've updated my code, so the third wrapper contains the following: > > > > > > Plain

[jQuery] Re: slideUp(), slideDown() not working in IE 6, 7 on LI elements

2009-07-15 Thread Leonardo K
You can put a DIV inside a LI and animate the DIV content here On Wed, Jul 15, 2009 at 16:31, Bill wrote: > > Alright, so this *is* a bug: > > http://dev.jquery.com/ticket/3120 > > Anyone have any advice on a workaround ? > > On Jul 15, 12:15 pm, Bill wrote: > > Hi all, > > > > I pos

[jQuery] Re: Multiple Image uploads

2009-07-13 Thread Leonardo K
Look this plugin http://www.fyneworks.com/jquery/multiple-file-upload/#tab-Examples On Mon, Jul 13, 2009 at 07:37, anjith wrote: > > Hi, > > I need some portal using jquery and html...for uploading multiply > images. Actual requirement is when page opens i must have single file > upload option w

[jQuery] Re: slideUp(), slideDown() choppy on IE 6, 7, 8

2009-07-08 Thread Leonardo K
I'm trying to guess here. I believe the problem is the padding of the element you are sliding. Try to remove the padding from li and add to the div inside. I know jQuery animate padding as well but in the IE is not smooth enough. On Tue, Jul 7, 2009 at 19:52, Bill wrote: > > I'm seeing some wei

[jQuery] Re: How to make jQuery work in IE 5.5

2009-06-24 Thread Leonardo K
jQuery only support IE6+ On Tue, Jun 23, 2009 at 09:49, pHoEniX wrote: > > Hi. > Recently I had to make a project in IE 5.5 too. IE 5.5 throw almost > instantly error. I have downloaded the developer version and try to > figure out what could cause the errors. > > By commenting out line > 2167:

[jQuery] Re: New plugin announcement and review request - bullsEye

2009-06-10 Thread Leonardo K
Great plugin! It would be nice if the plugin was functional at least in IE7 On Tue, Jun 9, 2009 at 22:48, Tony Landis wrote: > > I wrote a jQuery plugin "bullsEye" for that provides some > visualization effects for large data tables, and would like any > usability suggestions or bug reports. So

[jQuery] plugin validate

2009-06-05 Thread Leonardo Aidar
When i valid the formulary with j-query validate, it increases the width(or size) of my imput. How can i take out this option? Please help me, its urgent! thanks.

[jQuery] Plugin Jquery validade

2009-05-28 Thread Leonardo Aidar
When i valid the formulary with j-query validate, it increases the width of my imput. How can i take out this option? Please help me, its urgent! thanks.

[jQuery] Re: jQuery .addClass question

2009-05-12 Thread Leonardo K
This $("a[href='Menu/appetizersandpizza.aspx']").addClass("current"); work for me... Look: http://jsbin.com/imoju/edit On Mon, May 11, 2009 at 18:15, Matt wrote: > > This seems like such a simple basic task, but I can't seem to get the > syntax correct. I have a menu, and using jQuery it adds

[jQuery] Re: Is there an easy way to do this?

2009-05-07 Thread Leonardo K
Something like this: function send(){ var params = $("#commentsForm").serialize(); $.post("subscribe.php", params, function(data){ $("#updateDiv").html("Data Loaded: " + data); }); } On Thu, May 7, 2009 at 19:40, Brian Yanosik wrote: > I am moving all of my scripts from moot

[jQuery] Re: Getting the text of an element: IE6 vs. FF3

2009-05-07 Thread Leonardo K
change: this.text //this code you are not using the "power" of the jquery :D. Its just regular javascript. to: $(this).text() This should work crossbrowser. Ex: http://jsbin.com/usazu On Wed, May 6, 2009 at 01:08, infoaddicted wrote: > > I have some HTML: > >Link One >Link Two >Link

[jQuery] Re: How to move the DIV?

2009-05-07 Thread Leonardo K
You need to use the simbol # before the name of ID. $( "#myDiv" ).css('left', '150px'); On Wed, May 6, 2009 at 22:22, ace jquery wrote: > Hi there, > > I am trying to move the div object, but it seems doesn't work. any ideas? > Thanks > > > > > > > $(document).ready(function () { > >

[jQuery] Re: .hide and .show in FireFox vs IE6

2009-04-28 Thread Leonardo K
We can't access your example page. "You don't have permission to access /hideshow.php on this server." On Tue, Apr 28, 2009 at 04:58, tahooft wrote: > > For me one of the best things about jQuery is that I don't have to > worry about browser compatiblity. I wrote some code to extend an > excist

[jQuery] Re: Selector questions

2009-04-16 Thread Leonardo K
Maybe is easier if you put a class (wrapper) in your div that wrap all other divs, and then you could use: $(this).closest('div.wrapper').find(":checkbox"); and $(this).closest('div.wrapper').prev(); On Thu, Apr 16, 2009 at 09:26, Dragon-Fly999 wrote: > > Thanks, Karl. Your suggestions work f

[jQuery] Re: how to select elements inside jQuery objects

2009-04-16 Thread Leonardo K
Try this: $(mol_elements).filter(".mol_row").append( ""+ molname +""); On Thu, Apr 16, 2009 at 09:08, Josch wrote: > > > I don't really understand what you want to do... > Do you want to select a DOM-Object like > > ? > Then, the selector would be $("form.example"). > > > Josch > > > On 16 Apr

[jQuery] Re: Animation Issue

2009-04-15 Thread Leonardo K
Your page didn't work in Opera, IE7 and IE6. :( Instead of using display:inline-block on span.projects, change to float:left; Another thing, when using the animation, i dont know why, but the jquery use overflow:hidden and your left image (border) disappear in the animation. So this css should sol

[jQuery] Re: Flash content over BlockUI on Firefox in Windows

2009-04-08 Thread Leonardo K
I know you said you tested it, but the parameters that I use and always works are: On Wed, Apr 8, 2009 at 13:53, James Diamond wrote: > > My comment was in accurate about it working in all other browsers. > Safari on Mac is fine. However Safari & Opera on Windows both do the > same thing as f

[jQuery] Re: Increase / Decrease Font Size

2009-04-01 Thread Leonardo K
Set and Get the fontSize from the body not the html. Ex: var currentSize = $("body").css("font-size"); I change your code and works fine if you use the body instead of html to set and get the size: http://jsbin.com/iwage On Tue, Mar 31, 2009 at 10:20, Dan Vega wrote: > > I am using the followi

[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: why does load cost so much time?

2009-03-26 Thread Leonardo K
Maybe this question about performance should be ask in jQuery Dev Group. :D On Thu, Mar 26, 2009 at 10:36, Samuel wrote: > Hope get your helps. > > On Thu, Mar 26, 2009 at 1:14 AM, Samuel wrote: > >> supplement more information on the issue. >> >> $('.words') have html data, ie, this node is no

[jQuery] Re: Toggle class when radio checked

2009-03-12 Thread Leonardo K
So, if u want hide when the radio change add this to your input radio change event. if ( $(this).val() == "public" ) $(this).parent().find("div.tags").hide(); else $(this).parent().find("div.tags").show(); The behavior for checkbox is the same as the radio button. So, applied change event

[jQuery] Re: Return CSS Style?

2009-03-12 Thread Leonardo K
I don't know if I understand but u can return the css using the css method like: $("h1").css("color"); //return the color $("h1).css("background-color"); //return the backgrund-color U have to call the css method for every property in css. On Thu, Mar 12, 2009 at 12:50, sfea...@gmail.com wrote:

[jQuery] Re: Toggle class when radio checked

2009-03-12 Thread Leonardo K
*This should work for your markup $(document).ready(function(){ $("input[type=radio]:checked + label").addClass("hilite"); $("input[type=radio]").change(function () { $(this).parent().find("label.hilite").removeClass("hilite"); var id = $(this).attr("id"); $("label[for="+ id + "]").addClass("hilit

[jQuery] Re: Toggle class when radio checked

2009-03-12 Thread Leonardo K
That should work for your markup $(document).ready(function(){ $("input[type=radio]:checked + label").addClass("hilite"); $("input[type=radio]").change(function () { $(this).parent().find("label.hilite").removeClass("hilite"); var id = $(this).attr("id"); $("label[for="+ id + "]").addClass("hilite

[jQuery] Re: Toggle class when radio checked

2009-03-12 Thread Leonardo K
Try this $(document).ready(function(){ $("input:checked + label").addClass("hilite"); $("input").change(function () { $("label.hilite").removeClass("hilite"); var id = $(this).attr("id"); $("label[for="+ id + "]").addClass("hilite"); }); }); On Thu, Mar 12, 2009 at 00:22, mdjamal wrote: >

[jQuery] Re: not works on IE

2009-03-12 Thread Leonardo K
Try to remove the comma after the rules and the comma in the last rule. rules { //your rules Dont_Cadres: "required", < this comma },< this comma On Thu, Mar 12, 2009 at 07:29, Mediacom87 wrote: > > Hi, i've a pb to do working the valdation plugin on IE. > > My form : http://finass

[jQuery] Re: Troubles with animate in IE (possible bug)

2009-03-10 Thread Leonardo K
Ops, change this: $('div.body:visible').slideUp(); to $bodyVisible.slideUp(); because u already have the element to slideUp in the var :D On Tue, Mar 10, 2009 at 13:51, Leonardo K wrote: > I dont know exactly whats wrong in your code, but u can do much simplier >

[jQuery] Re: Troubles with animate in IE (possible bug)

2009-03-10 Thread Leonardo K
I dont know exactly whats wrong in your code, but u can do much simplier code, like this: $(document).ready(function() { //hide all div.body $('div.show_wrapper div.body').hide(); $('a.show_link').click(function() { //element to slide Up or Down var $bodyTarget = $(thi

[jQuery] Re: MultiFile plugin not overwriting default options

2009-02-26 Thread Leonardo K
I just reproduce your code here and works like a charm. On Thu, Feb 26, 2009 at 08:22, phipps73 wrote: > > bump > > has anyone seen this problem? > > Cheers, > > Dave > > On Feb 25, 3:26 pm, phipps_73 wrote: > > Hi, > > > > I was previously using version 1.29 of the MultiFile plugin and it was

[jQuery] Re: image rollover

2009-02-18 Thread Leonardo K
Assign the event to the element li and not the image. Because if you display a text over the image, you will lose the event mouseover. $(document).ready(function() { $("li.episode").mouseover(function () { $(this).addClass("background"); $('div.details').addClass("show"); });

[jQuery] Re: Looking for a certain JQuery Plug-in

2009-02-12 Thread Leonardo K
Look this example http://jquery.bassistance.de/validate/demo/milk/ http://plugins.jquery.com/project/validate On Thu, Feb 12, 2009 at 01:36, expresso wrote: > > > I'm looking for a JQuery Validation control that will allow us to show a > small image if a form field is valid. So for instance a

[jQuery] Re: Encoding characters using load("some_file.html")

2009-02-12 Thread Leonardo
http://www.w3schools.com/XML/xml_encoding.asp On 2 fev, 07:34, Hilmar Kolbe wrote: > I have the same problem with german characters (Umlaute) - each umlaut comes > in with a charCode of 65533. > Is there really no way to get an 8859-page via Ajax with unencoded > characters?

  1   2   >