[jQuery] Re: getting the height of some div (which contains p having some margin defined)

2009-08-06 Thread ggerri
The Dimensions plugin might help: http://plugins.jquery.com/project/dimensions Regards G On Aug 5, 6:47 pm, ZedroS zedros.schwa...@gmail.com wrote: hi we have just found out the issue. Let's say you have div id=div   pbla/p /div Like this, $('#div').outerHeigth(true) won't care about

[jQuery] Re: Looking for a Good JavaScript Editor that Supports JQuery

2009-08-03 Thread ggerri
I'd suggest a simple solution here. Notepad+ (http://notepad- plus.sourceforge.net/de/site.htm) and Firebug Plugin for FF3.5 which has a nice Debugger incluced. You might also want to try Amaya by w3.org (http://www.w3.org/Amaya/ Amaya.html) if you're looking for more IDE like editor than

[jQuery] Re: selector, second to last row of table

2009-06-18 Thread ggerri
Hi just want to share my piece of code for getting out values of rows/ cells. $('#myTableID tr:gt(1)').each(function(){ $(this).find('td').each(function(){ // get the cell text out with $.trim($(this).text()); }); }); hope that helps Gerald On Jun 17, 7:08 pm, theprodigy

[jQuery] border-bottom in cells fails in FF but works in IE6 - arrgghh

2009-05-28 Thread ggerri
Hi there I know it must be simple but I'm just stuck here :,( I have to ad a line between some rows, but not for the first col. the table has: table { border-collapse: collapse } that is fix and I can not change it. the following sample code draws the lines nicely in IE6 but in FF there's

[jQuery] Re: border-bottom in cells fails in FF but works in IE6 - arrgghh

2009-05-28 Thread ggerri
; } .bottom { border-bottom: 1px solid #000; color:#F0F } /style thanks :-) ps. check out the IE-Tab plugin for FF! ggerri wrote: Hi there I know it must be simple but I'm just stuck here :,( I have to ad a line between some rows, but not for the first col

[jQuery] Re: Any jquery plugin to help in displaying popups (divs above everything)?

2009-05-11 Thread ggerri
what you need is: http://jqueryui.com/demos/dialog/ Regards Gerald sandee...@adpsconsulting.com wrote: I am having to display some popup divs (some divs which appear when user clicks something) in my project. Now, I am facing numerous issues relating to positioning of the divs, making

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread ggerri
thanks Brian, already checked the options, couldnt find this one... On Apr 2, 5:58 pm, brian bally.z...@gmail.com wrote: http://docs.jquery.com/UI/Dialog#options On Thu, Apr 2, 2009 at 11:47 AM, ggerri a...@ggerri.com wrote: Hi there want to show a 'please wait' dialog with UI dialog

[jQuery] Re: UI Dialog: how to remove the title and the X?

2009-04-03 Thread ggerri
-ui should you have any further questions. - Richard On Thu, Apr 2, 2009 at 11:47 AM, ggerri a...@ggerri.com wrote: Hi there want to show a 'please wait' dialog with UI dialog, but cant figure out how to remove the title and the X (close dialog) as the dialog should auto-close after

[jQuery] blockUI + SSL: $.blockUI() triggers This page contains secure and non secure items popup in IE6

2009-04-02 Thread ggerri
Hi there we just changed to SSL here in our office and now I have a problem with blockUI: as soon as I put $.blockUI() in my code, IE6 throws this world famous annoying popup before showing my page: This page contains secure and non secure items and this, even I have this warning disabled in

[jQuery] UI Dialog: how to remove the title and the X?

2009-04-02 Thread ggerri
Hi there want to show a 'please wait' dialog with UI dialog, but cant figure out how to remove the title and the X (close dialog) as the dialog should auto-close after the content is loaded... Pleeaaas... ;-) thanks :-) Gerald

[jQuery] Re: whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-16 Thread ggerri
) separate things. It's in the HTML4 and DOM Level 1 specs: http://www.w3.org/TR/2000/WD-DOM-Level-1-2929/level-one-html.html#ID-6043025 http://www.w3.org/TR/1998/REC-html40-19980424/interact/forms.html#adef-readonly cheers, - ricardo On Mar 13, 5:00 am, ggerri gerald.ressm...@ewz.ch wrote

[jQuery] Re: whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-13 Thread ggerri
12, 9:30 am, ggerri gerald.ressm...@ewz.ch wrote: Hi there jQuery 1.3 has problems with handling the readonly attribute (already filed a ticket but I'm a bit stuck here with my project).   When you want to select  readonly inputs, you have to use [readonly=] in Firefox and [readonly=true

[jQuery] Re: whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-13 Thread ggerri
:-) thanks and take care Gerald MorningZ wrote: also to note $(input[readonly]) should also work as that sector says give me all inputs that have the attribute read only, and it doesn't matter what the value is, just that it's there On Mar 13, 4:00 am, ggerri gerald.ressm...@ewz.ch

[jQuery] whats wrong with my custom selector :readonly (IE6 sucks)

2009-03-12 Thread ggerri
Hi there jQuery 1.3 has problems with handling the readonly attribute (already filed a ticket but I'm a bit stuck here with my project). When you want to select readonly inputs, you have to use [readonly=] in Firefox and [readonly=true] in IE6... ( because the DOM looks like that after

[jQuery] Re: not works on IE

2009-03-12 Thread ggerri
Hi sorry only had time for quick look and it seems that you have a css problem rather than a jquery one. try to remove the lables with the error messages. make a div (Messagebox) above or below the form and write your error messages to this box. regards Gerald Mediacom87 wrote: Hi,

[jQuery] Re: not works on IE

2009-03-12 Thread ggerri
for answered about IE. It's fix and seems ok. But i don't understand what you said about CSS probleme and i don't know how to implemente the message box. 2009/3/12 ggerri gerald.ressm...@ewz.ch Hi sorry only had time for quick look and it seems that you also have a css problem (FF3).maybe

[jQuery] Re: not works on IE

2009-03-12 Thread ggerri
cause problems... try to use html substitution instead. good luck Tanguy JACQUET wrote: I made some change about my css file and it's looks good on firefox but it's not perfect on IE7. I think it's fine for me. 2009/3/12 ggerri gerald.ressm...@ewz.ch Happy that it works now

[jQuery] Re: Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-06 Thread ggerri
they stand for... Someone please correct me if I'm wrong... Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of ggerri Sent: Thursday, March 05, 2009 7:31 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re

[jQuery] Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-05 Thread ggerri
Hi there thats an easy one for you ;-) if i do: var mySet = $('trtd:nth-child(2n)'); how do I use mySet? What's the difference between mySet.find(':text') and $(mySet).find(':text') Thanks :-)) GGerri -- View this message in context: http://www.nabble.com/Simple-one%3A

[jQuery] Re: Simple one: difference between varXy.find(':text') and $(varXy).find(':text')

2009-03-05 Thread ggerri
...@googlemail.com wrote: mySet is an object or variable, $(mySet) will try to get an element using the contents of mySet as the selector. On Mar 5, 10:04 am, ggerri gerald.ressm...@ewz.ch wrote: Hi there thats an easy one for you ;-) if i do: var mySet = $('trtd:nth-child(2n)'); how do I use

[jQuery] $('#tab1 tr:gt(0)td').filter(':nth-child(2n+1)') select also 1st td in row - aargghh

2009-02-26 Thread ggerri
Hi guys this drives me crazy. why does this also select the first td in each a row? $('#tab1 tr:gt(0)td').filter(':nth-child(2n+1)') Please give me a hint :-) Thanks a lot Gerald

[jQuery] is there something like $('.myClass').contains('val1 or val2 or val3')?

2009-02-23 Thread ggerri
Hi guys is there a way to use logical operators in jQuery e.g. with 'contains'? thanks

[jQuery] Re: Simulate BackSpace key

2009-01-11 Thread ggerri
Hi I've done something similar with the Tab. Maybe that helps. You'll need the FIELDS Plugin for that: $(#PG1_L02-4-5) .bind('keydown',function(e) { switch(e.keyCode) { case 9: // tab

[jQuery] How to trigger an event for a SELECT after removing an entry??

2008-12-22 Thread ggerri
=00032010/option option value=00042011/option option value=00052012/option option value=00062013/option option value=00072014/option /select /form /body /html Really ned some hints here :-) thanks guys ggerri

[jQuery] Re: SWF chart problem

2008-12-12 Thread ggerri
/html Hope that helps. ggerri On Dec 10, 11:08 pm, sumpa w.kel...@krenstetten.com wrote: please someone can help me about that ? On 10 Dez., 15:26, sumpa w.kel...@krenstetten.com wrote:  function updateChart(xml,oid){       //var chart=document.my_chart;   is working

[jQuery] Re: how to check if a form has changed

2008-12-03 Thread ggerri
Hi Sridhar you could do something like var vFlag; $('input').bind('change', function() { vFlag = 'X';}); Then you can check with window.onbeforeunload mentioned earlier if things have changed and react accordingly. Regards Gerald On Dec 2, 4:46 pm, Web Specialist [EMAIL

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-17 Thread ggerri
Hi Lisaraël thanks for your help and sorry for late reply - I was down with a flu :-( the odd idea was a great idea and it works perfectly :clap: It would also select the first td, but this is not a problem as its not input ready. thanks again GGerri Lisaraël wrote: $('#PG1_L03-table

[jQuery] Re: can you simplify this selector? easy for you...

2008-11-17 Thread ggerri
:handshake: Take care GGerri :-) Karl Swedberg-2 wrote: On Nov 12, 2008, at 11:13 AM, Rik Lomas wrote: Following on from Karl, how about: $('#PG1_L03-table td:nth-child(2n+3)').slice(0, 4).find('input') That won't work either, unless the table has only one row. Would have to do

[jQuery] can you simplify this selector? easy for you...

2008-11-12 Thread ggerri
Hi Gurus have the following selector and wonder how this could be simplified? :confused: $('#PG1_L03-table td:nth-child(3) input, #PG1_L03-table td:nth-child(5) input, #PG1_L03-table td:nth-child(7) input, #PG1_L03-table td:nth-child(9) input').bind.. need to bind an event to all input