[jQuery] Re: Palm Pre and jQuery? Is it possible?

2009-06-17 Thread Stephen Sadowski
Andy, I would think that this is probably possible. We have an application out for the Mojo SDK, and as of yet have not seen any real documentation on developing for WebOS. According to Page 6 of the available chapter of WebOS rough cuts from oreilly on Palm's site(http://developer.palm.com/webo

[jQuery] Re: autocomplete

2009-06-05 Thread Stephen Sadowski
On Fri, 05 Jun 2009 09:34:05 -0400, Tom Worster wrote: > not for "basic auth" which is handled in http. you need to fix this on the > server. i don't think there's much point in user auth for autocompletion > lookups so i would turn it off. Well you could expose your auth un/pw by including it

[jQuery] Re: Selector help

2009-06-04 Thread Stephen Sadowski
Unrelated to your issue, I would consider an effects queue. Just sayin' On Thu, 4 Jun 2009 15:17:24 -0230, "Dave Maharaj :: WidePixels.com" wrote: > I am cleaning up some html code and originally i had > > > > > Profile Settings > >echo $preference['nam

[jQuery] Re: Removing dynamically inserted html

2009-06-04 Thread Stephen Sadowski
Or one could use .live() $('.removeitem').live("click", function(){ $(this).prev().parent().remove(); return false; }); So that when an item with class 'removeitem' is created, it is automatically bound to the click event. Just a thought! -S On Thu, 04 Jun 2009 22:12:00 +07

[jQuery] Re: partial step form validate

2009-03-16 Thread Stephen Sadowski
Hey, I'd go with $('#form input,select,radio,textarea') to select all standard form elements, but the validation depends on how you're doing validation. -S On Mon, 2009-03-16 at 18:18 -0700, led wrote: > Hi need to validate just the form elements in a step. how do i > reference the form element

[jQuery] Re: exclude input types

2009-03-16 Thread Stephen Sadowski
Hey, You may want to try $('div#tabs input[type!=hidden]').each(function(){/*whatev*/}); Hope that helps! On Mon, 2009-03-16 at 08:08 -0700, jjsanders wrote: > Hello, > > I want to select all my input from a form within a certain div except > hidden values. > So far I have this > > $('div#t

[jQuery] Re: [validate] How to disable submit button until form is fully validated

2009-03-16 Thread Stephen Sadowski
Hey, How about $('#form input,select,radio').change(function() { /* check to see if necessary fields are filled out, if so enable submit */} You do have some load for each change on a field, but it would keep the user from being able to submit and validate until you're ready for them to do so.

[jQuery] Re: Add option to combo

2009-03-16 Thread Stephen Sadowski
Hey there, how about using .prepend(), if all you want to do is insert it first? -S On Mon, 2009-03-16 at 08:25 -0700, Chizo wrote: > Hi people, how can i add a first option value to a combobox, > containing for example "Select..." > With append i can add the new value, but i don“t know how to