[jQuery] jqModal: having trouble centering modal window

2009-09-15 Thread laredotorn...@zipmail.com
Hi, I just downloaded the latest version of jqModal and its accompanying jquery file, but I'm not able to center my modal window using the same style sheet -- http://dev.iceburg.net/jquery/jqModal/jqModal.css . I only changed these lines margin-left: -267px; width: 535px; to reflect th

[jQuery] Updating select menu from child window to the parent menu

2009-11-14 Thread laredotorn...@zipmail.com
Hi, >From the context of the child window, if I have a select menu with the id = "childMenu" and I want to copy all the options (both values and text exactly) a menu in the opener window with id="openerMenu", how do I do that? Thanks, - Dave

[jQuery] How to apply blur function to two classes?

2009-11-18 Thread laredotorn...@zipmail.com
Hi, I have to apply an onblur function to elements of type "numAdultsField" or "numChildrenField". How do I do that? This isn't working ... $(".numAdultsField .numChildrenField").blur(function() { var id = $(this).attr("id"); var eltPrefix = id.substring(

[jQuery] How do I trigger an event when a user presses a key within a text field?

2009-12-05 Thread laredotorn...@zipmail.com
Hi, What is the event that I trigger if a user enters (or deletes) a character within a textfield with id = "username"? Thanks, - Dave

[jQuery] How do I write an express to access all radio button elements?

2009-12-09 Thread laredotorn...@zipmail.com
Hi, I'm trying to access all radio button elements with this expression .. var expr = $("element[type='radio']"); but the experts among you know this isn't correct. What is the correct expression? Thanks, - Dave

[jQuery] How do I select all elements whose id's begin with ... ?

2009-12-15 Thread laredotorn...@zipmail.com
Hi, I'm using JQuery 1.3. How do I write an expression to select all elements whose id's begin with "DatePref"? These are all input type="text" elements if that matters. Thanks, - Dave

[jQuery] How do I unbind all onclick events from a button?

2009-12-15 Thread laredotorn...@zipmail.com
Hi, I'm using JQuery 1.3. I have a button and I want to completely clear it of any onclick events associated with it so that clicking it will do absolutely nothing. If I know the ID of the button, how do I do this? Thanks, - Dave

[jQuery] Re: How do I unbind all onclick events from a button?

2009-12-15 Thread laredotorn...@zipmail.com
ny other suggestions are welcomed, - Dave On Dec 15, 3:07 pm, "T.J. Simmons" wrote: > Try $("#id").unbind("click"); > > I've never used it before, but according > tohttp://docs.jquery.com/Events/unbind#typefn > that oughta do the job pretty

[jQuery] What is the event when a user presses the enter key anywhere on the page?

2009-12-17 Thread laredotorn...@zipmail.com
Hi, I would like to capture the event of pressing enter anywhere on the page, even if the focus of the mouse cursor is not on a text field. What event/element am I looking at? Thanks, - Dave

[jQuery] jquery sortable question

2010-01-01 Thread laredotorn...@zipmail.com
Hi, I'm using the sortable plugin with JQuery 1.3. After a list item has been moved to a new place, how do you get the new list item position -- i.e. it's now the 1st, 2nd, 3rd ... item in the list as opposed to its position on the screen? Here's how I'm declaring my sortable list ...

[jQuery] How do I extract this value?

2010-01-02 Thread laredotorn...@zipmail.com
Hi, I am using JQuery 1.3. I have this basic structure in my HTML ... ... ... ... How do I extract the "1234" from HTML assuming I know the id of the element? Thanks, - Dave ps - I know its bad practice to have the javascript function in there, but sadly this is code I inherited and I c

[jQuery] Re: How do I extract this value?

2010-01-02 Thread laredotorn...@zipmail.com
e { >      // didn't find the value > > } > > On Jan 2, 9:13 pm, "laredotorn...@zipmail.com" > > wrote: > > Hi, > > > I am using JQuery 1.3.  I have this basic structure in my HTML ... > > > > > ... > > ... > > ... > >

[jQuery] Can JQuery solve the iframe height=100% problem?

2009-01-24 Thread laredotorn...@zipmail.com
Hi, I'm trying to get my iframe to occupy 100% of its parent block element. But the height=100% attribute in CSS isn't doing the trick. Here's my HTML and the CSS ... iframe { display:block; height:100%; width:100%; border:none; } It doesn't look good right now -- http://screencast

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-25 Thread laredotorn...@zipmail.com
Hi dbzz, I tried the code you provided, but went from this ... http://screencast.com/t/W8lOtgKO to the iframe disappearing entirely ... http://screencast.com/t/jCTjOLhpeX I put your code in a $(document).ready() block (below). Are there any other modifications I should make to get it to disp

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-26 Thread laredotorn...@zipmail.com
the html. if you are adding it to the > dom with js, it won't get the load event binding. you might try > livequery or something like it. > > On Jan 25, 10:21 am, "laredotorn...@zipmail.com" > > > > wrote: > > Hi dbzz, > > > I tried t

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-27 Thread laredotorn...@zipmail.com
t; > The Layout website itself used iframe pages with a 'banner', like: > > http://layout.jquery-dev.net/discuss.html > > Hope this helps. > > /Kevin > > On Jan 26, 6:55 am, "laredotorn...@zipmail.com" > > > > wrote: > > My iframe is

[jQuery] Re: Can JQuery solve the iframe height=100% problem?

2009-01-28 Thread laredotorn...@zipmail.com
gt;    $("body").layout({ >       closable:  false >    ,  resizable: false >    ,  spacing_open: 0 >    ,  center_paneSelector: "#fileTreeIframe" >    });}); > > > > /Kevin > > On Jan 27, 8:35 am, "laredotorn...@zipmail.com" > > &

[jQuery] Having trouble with contextMenu plugin in a frame

2009-02-16 Thread laredotorn...@zipmail.com
Hi, I'm using the context menu plugin from here -- http://www.trendskitchens.co.nz/jquery/contextmenu/. The problem I'm having is that when the functionality is in a frame, right clicking sometimes cuts off part of the menu -- http://screencast.com/t/Z9lGuq5X. I'm wondering if you know of a way

[jQuery] Simple way to check for duplicate menu values in jquery?

2009-04-05 Thread laredotorn...@zipmail.com
Hi, I have a number of select menus on my page, each containing the same list of options (values and text). What is the simplest way to check that a value in one select menu is unique? My goal is to verify that all menu values are unique. Thanks, - Dave