[jQuery] blockUI history removal

2009-12-02 Thread Stephen Richard
ying to pop up error messages... Shouldn't the code be $(el).removeData('blockUI.history'); ? Thanks Stephen

[jQuery] Re: Writing a plug-in that uses jQuery .live() method, but something doesn't work...

2009-10-14 Thread Stephen
imit: 1000 }; options.selector would be used as part of the jQuery selector for attaching the live() method. On Oct 14, 1:52 pm, Stephen wrote: > Hi, > I'm trying to write a plug-in that enforces a character limit on a > textarea of a form that is dynamically loaded via A

[jQuery] Writing a plug-in that uses jQuery .live() method, but something doesn't work...

2009-10-14 Thread Stephen
Hi, I'm trying to write a plug-in that enforces a character limit on a textarea of a form that is dynamically loaded via Ajax. If the character limit is reached, I "disable" keyboard input except for a few keys. Without writing a plug-in, this code works: (function ($) { $ (document).rea

[jQuery] Re: Attaching methods to identical forms, but only invoking the method on the current form

2009-09-16 Thread Stephen
Hi Mike, Ah, the "this" object! I forgot about that. Thank you for code snippet! --Stephen On Sep 16, 3:38 pm, Mike Alsup wrote: > > I have a form that is repeated through out the page by the backend, > > which I have no control over. > > > > > &g

[jQuery] Attaching methods to identical forms, but only invoking the method on the current form

2009-09-16 Thread Stephen
ly happen on the 3rd form, not all forms. Is there a way to do this? Thanks, Stephen

[jQuery] Possible bug in appending scripts: works under FF3, doesn't with IE7?

2009-07-20 Thread stephen
Hello, theoretically the following two web pages should be equivalent, and indeed they are under Firefox3, but IE7 fails miserably in rendering the second version. The included script is a simple public script provided by the hotel review site "trivago.com" that shows a specific hotel's current r

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

2009-06-17 Thread Stephen Sadowski
m.com/webos_book/book6.html), WebOS supports DOM Level 2 and various HTML5 functions for data access. I'm not terribly interested in purchasing the rough cuts book, but there may be more info available elsewhere in it. -Stephen On Tue, 16 Jun 2009 14:52:25 -0500, "Andy Matthews"

[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: Disable input button, using wrong HTML code?

2009-05-06 Thread Stephen Korecky
On May 6, 9:46 am, "Jonathan Vanherpe (T & T NV)" wrote: > Stephen Korecky wrote: > > I tried that too, has same results... > > > On May 6, 9:35 am, "Jonathan Vanherpe (T & T NV)" > > wrote: > >> stephen wrote: > >>

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Stephen Korecky
e"); > > > > -Original Message- > From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On > > Behalf Of Jonathan Vanherpe (T & T NV) > Sent: Wednesday, May 06, 2009 9:35 AM > To: jquery-en@googlegroups.com > Subject: [jQuery] Re: Disable

[jQuery] Re: Disable input button, using wrong HTML code?

2009-05-06 Thread Stephen Korecky
I tried that too, has same results... On May 6, 9:35 am, "Jonathan Vanherpe (T & T NV)" wrote: > stephen wrote: > > I created a test page > > here:http://clients.stephenkorecky.com/stephen_korecky/js_test.html > > > But basically the problem is

[jQuery] Disable input button, using wrong HTML code?

2009-05-06 Thread stephen
I created a test page here: http://clients.stephenkorecky.com/stephen_korecky/js_test.html But basically the problem is that $("#button").attr("disabled",true); should disable a input button, and it does, HOWEVER it outputs disabled="" when it should output disabled="disabled" anyone know how to

[jQuery] [Superfish] How to make secondary menu (i.e. the hover menu) horizontal instead of vertical

2009-04-11 Thread Stephen
o that the child items have {display:inline; list-style-type:none;} but it's not working. Not sure if I'm applying to the right CSS class or if CSS is the answer. Any help would be appreciated. Stephen

[jQuery] Re: HELP: a = $('foobar'); a.after('xyz') not adding element

2009-03-30 Thread stephen
"add()" method to push more nodes inside a jquery object. Is this the right way to do it? a = $('foobar'); a.add('xyz') --> is a equivalent to $('foobarxyz') ? Stephen On Feb 27, 3:48 am, mkmanning wrote: > Sorry for not being clearer; that's

[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

[jQuery] HELP: a = $('foobar'); a.after('xyz') not adding element

2009-02-26 Thread stephen
Hello, has anybody managed to prepend and append elements to a set of dom elements previously created on the fly with the "$(html)" function? I've tried with append, prepend, after, before, etc without any luck... Is there a way to do it? Stephen

[jQuery] Clone Line and Increase Number by +1

2009-02-25 Thread stephen
Hello, I relatively new to Javascript in general, but I've been attempting to use jQuery for a while, I ran into a snag today and I hope someone can help, here is what I have so far: var id = $('#invoice_line_item_rows .item.description textarea').attr ("id") $("#add_line").click(function() {

[jQuery] Input Element Focus Dancing

2009-01-14 Thread stephen
end if }); }); I have also tried doing this using the blur event, but that did not work either. Also, a reset button is not desirable. Thanks Stephen

[jQuery] Re: Problems with show() and submit button

2008-12-28 Thread Stephen
ut it seems to deal with the most common cases reasonably well. If the jquery blur event set relatedTarget appropriately, I could probably do something with it, but, alas, that's not an option. If anyone has a more elegant solution, I'd love to hear it. Stephen On Dec 27, 7:40 pm, St

[jQuery] livequery matchedFn scope?

2008-12-28 Thread Stephen
ements to show. I'm stuck on trying to find a handle to the content so that I can show it. I would expect to be the delivered content in the matched function, but, instead, it's the entire document. TIA, Stephen P.S. This is on Safari if it matters. I've briefly tried Firefox an

[jQuery] Problems with show() and submit button

2008-12-28 Thread Stephen
d static code with plain old jquery and the problem is still present. Tested on Safari and Firefox. Suggestions very much appreciated! TIA, Stephen

[jQuery] Problems with show() and submit button

2008-12-28 Thread Stephen
d static code with plain old jquery and the problem is still present. Tested on Safari and Firefox. Suggestions very much appreciated! TIA, Stephen

[jQuery] Re: [validate] optionally trim input

2008-12-18 Thread stephen friedrich
Thanks a lot for the quick answer. That ups my confidence in choosing the plugin for our internal JSF components. (I was fed up with fighting 3rd party components sets and decided that we create our own. But then of course we need client-side validation integrated in JSF to amend the default serv

[jQuery] [validate] optionally trim input

2008-12-17 Thread stephen friedrich
I noticed that in the "Isn't that nice and easy?" demo where two characters are required for the "Name" field I can enter two spaces just fine. Is there an option to control that behavior and let the validation trim white spaces before and after the text before validation?

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread stephen
ts('div.row').length) { $thisCell = $tgt.parents('div.row:first'); } // now do something with $thisCell $thisCell.removeClass("row_highlight"); }); and it works like a dream with no errors. Thanks for your help. Stephen On Dec

[jQuery] Re: jQuery becomes Unresponsive

2008-12-16 Thread stephen
} else if ($tgt.parents('div.row').length) { $thisCell = $tgt.parents('div.row:first'); } // now do something with $thisCell $thisCell.addClass("row_highlight"); }); Thanks in advance, Stephen On Dec 16, 12:43 pm, Mike Alsup wrote: &g

[jQuery] jQuery becomes Unresponsive

2008-12-16 Thread stephen
hich will not cause an error to be thrown? Thanks, Stephen

[jQuery] Obama's site jquery mystery

2008-10-22 Thread stephen
I've gone through voteforchange.com a thousand times over the past two days and I cannot figure out where the content is coming from--I can find the content of index.php, but everything else is a mystery--links never point anywhere. Is this jQuery in action, or is it something else to blame? Any i

[jQuery] Problem with jCarousel in Safari.

2008-10-14 Thread Stephen
Im using google.load to fire up jquery and it seems that its causing jCarousel to behave funny in chrome / safari, firstly if the jcarousel call is before the carousel itself then the next / previous buttons stay disabled then if you move the call after the carousel then it lose position and scrol

[jQuery] Re: jCarousel problem in Safari 3.1.2: "next" button disabled

2008-10-13 Thread Stephen
damn this has been driving me crazy all day! and i can only find you with the same problem... after going round in circles i have found that for some reason to enable jCarousel in safari the code needs to be in the page rather than an external file??? I hope someone might be able to shed a littl

[jQuery] Re: Jcrop v0.9.0 image cropping plugin - comments please

2008-09-09 Thread Stephen
Had play with the online demo, very cool Kelly. Would have quite a few applications, and allow non tech (photoshop) users to edit images on the fly with little to no hassle. Cheers Stephen

[jQuery] animate width or height form auto to fixed size _and back_?

2008-09-07 Thread stephen friedrich
I built a box/panel that collapses to the left, but so that the header keeps visible with a small width. By default (in expanded state) it should have width: auto. Collapsing is easy: boxHeader.animate({width : '19px'}, 'fast'); However: Is there an easy way to expand it back? It would be very

[jQuery] animate width or height form auto to fixed size _and back_?

2008-09-07 Thread stephen friedrich
I built a box/panel that collapses to the left, but so that it keeps visible with a small width. By default (in expanded state) it should have width: auto. Collapsing is easy: boxHeader.animate({width : '19px'}, 'fast'); However: Is there an easy way to expand it back? It would be very nice if

[jQuery] Need help: "Access to restricted URI denied" error, but code should be on same host

2008-07-19 Thread Stephen
think it is). Why does the browser think the Jquery file is somewhere else? (Maybe I shouldn't be doing a POST call and need to do something else?) Thanks for reading. Sincerely, Stephen

[jQuery] Re: Need help: "Access to restricted URI denied" error, but code should be on same host

2008-07-19 Thread Stephen
I solved my problem. My server side PHP program used "echo" when "return" should have been used. Sorry for the bother. On Jul 19, 11:03 am, Stephen <[EMAIL PROTECTED]> wrote: > Dear Jquery list, > I've read about this "Access to restricted URI denied&qu

[jQuery] Solved Re: Need help: "Access to restricted URI denied" error, but code should be on same host

2008-07-19 Thread Stephen
Hi, I got this working after examining my code more closely. I committed multiple errors on both the client and server-side that needed to be fixed. Sorry for the bother. -Stephen

[jQuery] Button Updating Help

2008-07-10 Thread stephen
This is my code: $(document).ready(function() { $('.add_letter_code_object').click(function(event) { $('#objects').append('') }); }); What im trying to do is when you click the + button it appends a new object which also has a + button to add more, the problem I'm

[jQuery] Re: jQuery code comments - Is that Javadoc or something else?

2008-03-26 Thread Stephen
Ariel, Thank you for confirming this. Since there isn't any formal commenting process for jQuery code, I will use the scriptDoc spec, which suits my needs. --Stephen On Mar 26, 9:47 am, Ariel Flesler <[EMAIL PROTECTED]> wrote: > The core of jQuery doesn't have formal co

[jQuery] jQuery code comments - Is that Javadoc or something else?

2008-03-25 Thread Stephen
ng on jquery.com, but I have not found anything or have been searching the wrong way. Thank you for reading this. --Stephen

[jQuery] Re: what editor do you use?

2008-02-13 Thread Stephen
Have been using the HTML-Kit Tools (the purchased version) of http://www.htmlkit.com/ since its release (years) and have found it great. Good for syntax highlighting, great plugins, and the purchased version has an easy to use Project Interface to keep local and live files organised.

[jQuery] Re: lightbox newsletter signup

2008-02-03 Thread Stephen
Hi there See examples on http://jquery.com/demo/thickbox/, there is an example with a login field, or any of the iframe ones which should do the trick for you. Cheers On Feb 4, 7:33 am, visitorQ <[EMAIL PROTECTED]> wrote: > hey guys! i'm trying to figure out how to develop this solution using >

[jQuery] Re: Superfish without hoverIntent

2008-01-15 Thread Stephen
Hi Alex Have you tried just having the script for Hover Intent below superfish in your source code. That way superfish wont have access to hoverintent due to it not being loaded prior to superfish being read by the browser. Cheers Stephen

[jQuery] Re: IIS permission problem Re: Can $(document).ready() be put into a separate JS file?

2007-11-29 Thread Stephen
Thanks to everyone who replied to this thread in helping me debug the problem. --Stephen On Nov 28, 4:54 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > hehe, permissions would have been my second choice. > > My coding mantra: If in doubt, check permissions! > &

[jQuery] IIS permission problem Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Stephen
Hello, It looks like I had a very peculiar IIS permission problem just for jquery.js. Very weird. I fixed the permissions on that file and the file could be accessed again. --Stephen On Nov 27, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > My gut feeling is tha

[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Stephen
ccess is denied" error? --Stephen On Nov 27, 12:00 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > My gut feeling is that this is a caching issue on the browser that is > failing. > > Try clearing the cache. > > On Nov 27, 3:36 pm, Stephen <[EMAIL PROTEC

[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-27 Thread Stephen
ne more closely. I appreciate everyone throwing out ideas for me to examine. --Stephen On Nov 27, 3:04 am, Suni <[EMAIL PROTECTED]> wrote: > There has to be some other problem. Are you absolutely sure that > jquery.js gets loaded? Any chance the link pointing to jquery.js is > wron

[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-26 Thread Stephen
lphipps <[EMAIL PROTECTED]> wrote: > You need to make sure that jquery.js is included BEFORE your > external .js file that attempts to use jquery code. > > On Nov 26, 7:55 am, Stephen <[EMAIL PROTECTED]> wrote: > > > Hi, > > I'm using Firefox 2.0.0.9. IE

[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-26 Thread Stephen
Hi, I'm using Firefox 2.0.0.9. IE 6 exhibits the same problem also. I'm totally stumped. --Stephen On Nov 26, 5:08 am, Polskaya <[EMAIL PROTECTED]> wrote: > I don't know why you have this error. This works fine for me: > > In the header of my index-

[jQuery] Can $(document).ready() be put into a separate JS file?

2007-11-26 Thread Stephen
p the ready() function in a separate file? I am using Jquery 1.2.1. Thanks, Stephen

[jQuery] Re: prototype.js and jquery.js conflict problems? (Lightbox and Thickbox) simple?

2007-08-16 Thread Stephen P
uery uses "someid" as an example. If you pasted this code without making changes, it's looking for that "someid" reference, which I doubt you have used. I hope that helps. Stephen