[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Alexandre Plennevaux
the thing is i'm not sure the load event is the right one to bind livequery to in your case. I personally would bind it to the click event triggering the ajax call. On Sat, Apr 26, 2008 at 11:26 PM, minskmaz [EMAIL PROTECTED] wrote: That's a really good catch Alexandre, however it didn't solve

[jQuery] Validate plugin problem

2008-04-27 Thread Tomas GF
I'm using jQuery Validate (v. 1.2.1) on a page with several forms. I iterate through the forms using each(). The validation is working but when I try to append a loader (using ajaxStart()), it's appended to the wrong div (always on the second form). The code: $(document).ready(function() {

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Sid
I face the same problem. New classes are simply not recognized, making my links disfunctional.

[jQuery] My jQuery Page

2008-04-27 Thread Sid
Hi ppl, Came across jQuery recently. What I saw got me very excited. sid-deswal.110mb.com Please check the 'Bugs and Fixes' link on the page. If you know how to resolve them, a post back or an email would be very appreciated. Homepage checked on FF, IE 6, Opera and Safari (Win XP SP2,

[jQuery] Re: AJAX get method problem

2008-04-27 Thread David Frank
I should have read the official FAQ first, though I wasn't expecting it to be answered in FAQ section... http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F problem solves, hope this helps others.

[jQuery] How to bind to multiple elements

2008-04-27 Thread LostCore
Hi! Well, i'll quickly describe my problem. In a page, i've multiple occurrence of: [code] div id=images div id=imagencap style=float:left; img src=fileName.jpg / p id=caption_id caption_text

[jQuery] Re: Cycle (fx:'custom' )

2008-04-27 Thread Mike Alsup
Hails! I've been having a trouble with a custom effect on IE and Safari, but it works perfectly on Firefox, although Firebug shows the following message: [cycle] unknown transition: custom. It's not a error message, but I believe it has something to do with the bug in IE and Safari.

[jQuery] Re: How to bind to multiple elements

2008-04-27 Thread Michael Geary
You can't have multiple elements with the same ID. That's why it only works for the first one. Use classes instead. That should be a straightforward change for the most part, the one exception being the part where you grab the ID of the P element and assign that same ID to the new TEXTAREA. Not

[jQuery] Re: this pointer in Jquery ?

2008-04-27 Thread mumu
no the goal was to use the this pointer of the a href, in order to be sure to validate the good form thanks anyway On Apr 26, 9:32 pm, Ryura [EMAIL PROTECTED] wrote: script $(function() { $('form a').click(function() { $(this).parent('form').submit(); return false;}); }); /script a

[jQuery] Re: How to bind to multiple elements

2008-04-27 Thread steve_f
Do you have multiple divs with the same id of 'images'?. if so you need to start using class name selectors, then you can iterate all the divs with that clas name e.g $(.images).each On Apr 27, 11:25 am, LostCore [EMAIL PROTECTED] wrote: Hi! Well, i'll quickly describe my problem. In a

[jQuery] New delegate plugin: event delegation with submit/reset cross-browser

2008-04-27 Thread Klaus Hartl
Hi all, I needed to use event delegation for submit/reset events, so I took the solution from http://www.danwebb.net/2008/2/8/event-delegation-made-easy-in-jquery (see Yehuda Katz's comment) and enhanced it with workarounds for IE where these events do not bubble up. Also in Safari 2 submit

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Brandon Aaron
LiveQuery is actually working but jQuery's text method doesn't work on the title tag. To check that it is working simply add a console.log statement or uncomment your alert line. If you aren't getting the log statement/alert then please post a more complete example. -- Brandon Aaron On Apr 26,

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread Brandon Aaron
LiveQuery has two types of queries: event and function. A function based LiveQuery fires a given function when an element is added to the DOM and another function, if given, for when an element is removed from the dom. The function based LiveQuery is not attached to a particular event. The docs

[jQuery] Correct viewport height?

2008-04-27 Thread HertzaHaeon
When I use $(window).height() with Dimensions 1.2, it doesn't give me the height of the viewable part of the document. Instead I get the same number as for $(document).height(), i.e. the total height of everything in the document, including off-screen parts. Is this a bug or am I using it wrong?

[jQuery] Re: Correct viewport height?

2008-04-27 Thread Brandon Aaron
Which version of jQuery are you using? Dimensions 1.2 no longer has the width/height methods as they have been moved to the core. This sounds like a familiar issue in jQuery 1.2.1/2 but was fixed in jQuery 1.2.3. -- Brandon Aaron On Sun, Apr 27, 2008 at 1:06 PM, HertzaHaeon [EMAIL PROTECTED]

[jQuery] [ANNOUNCE] New Twitter Account for jQuery jQuery UI Projects

2008-04-27 Thread Rey Bango
In an effort to maximize the reach of announcements about upcoming jQuery jQuery UI updates and releases, the team has created a new Twitter account: http://twitter.com/jquery and http://twitter.com/jqueryui I urge you to follow the accounts, along with the mailing list, for updates and

[jQuery] Re: Livequery not binding on div after a .load method

2008-04-27 Thread minskmaz
Brandon - I solved my problem *temporarily* by using the callback function on ajaxComplete - however I have still not been able to simply define an event subscriber that rebinds to the 'a' tags inside of my newly .load(ed) container div. As Alexandre pointed out it's unclear whether I should be

[jQuery] Re: Correct viewport height?

2008-04-27 Thread HertzaHaeon
Updating to jQuery 1.2.3 solved the problem. Thank you!

[jQuery] Release: Autocomplete Plugin 1.0

2008-04-27 Thread Jörn Zaefferer
Hi, I've just finished the 1.0 release of my autocomplete plugin. Details on the blog: http://bassistance.de/2008/04/27/release-autocomplete-plugin-10/ And some direct links to get started: Plugin page: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ Demos:

[jQuery] Re: [validate] RFC: buttons and cancel class

2008-04-27 Thread Jörn Zaefferer
Karan Sev schrieb: Hi, I have button (type: submit) with the class 'cancel' but this still results in the form being validated. It works if I change the button to an input. After // allow suppresing validation by adding a cancel class to the submit button

[jQuery] jQuery Lightbox problem

2008-04-27 Thread kirstyburgoine
Hi, I've been using this great jQuery lightbox plugin for a variety of things and its always worked really well. Recently I've tried adding into my own blog site I'm building using Wordpress and now I get an error. I put this into header.php: script type=text/javascript src=http://

[jQuery] Re: How to bind to multiple elements

2008-04-27 Thread LostCore
Thanks for all the advices! It was a very newbie error :P Can i ask another little question? Starts with this code (a new version of what i posted early) $(.imagencap).bind(click, function(){ if($(this).children().is(textarea)){ return; }

[jQuery] Re: function from an external js does is not defined when using $(document).ready in the external file

2008-04-27 Thread Karl Rudd
var say_something; $(document).ready(function(){ say_something = function(word){ alert(word); } }); Karl Rudd On Mon, Apr 28, 2008 at 6:01 AM, Yuval [EMAIL PROTECTED] wrote: Hey Mike, Thanks a lot for your explanation! Say I insisted on defining it within the $(document).ready

[jQuery] [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread s.ross
I just posted a couple of plugins in a git repo at: git://github.com/sxross/jquery_plugins.git To grab them, just: git-clone git://github.com/sxross/jquery_plugins.git They are focusFirstInput and ajaxLinkBind. You can read about the at: http://calicowebdev/blog/show/20 In a nutshell, they

[jQuery] Re: function from an external js does is not defined when using $(document).ready in the external file

2008-04-27 Thread Klaus Hartl
Or: $(function() { window.say_something = function(word) { alert(word); }; }); --Klaus On Apr 27, 11:24 pm, Karl Rudd [EMAIL PROTECTED] wrote: var say_something; $(document).ready(function(){   say_something = function(word){     alert(word);   } }); Karl Rudd On

[jQuery] Re: Cycle (fx:'custom' )

2008-04-27 Thread Eddie
Hi Mike! I've just solved the problem, it was a parsing error due to a comma in front of the last option as in the exemple below: $(#thumbnails).cycle({ fx:'dvThNails', timeout:0, pager:ul.nav, pagerAnchorBuilder: function(idx, slide){ return 'ul.nav

[jQuery] calling a function before a form is submitted

2008-04-27 Thread gregarious
Hi, I'm trying to perform an action before a form is submitted using the following snippet: $('form').submit(function() { updateMapFromFields(); return true; }); but for some reasons the updateMapFromFields seems not to be executed. If, instead, I execute the following code (with

[jQuery] Re: [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread Jörn Zaefferer
s.ross schrieb: Comments welcome! Please provide something else then just a git link, eg. a simple download. Its fine that you use git as your source control system, but please don't assume everyone else does, too. Jörn

[jQuery] Re: [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread s.ross
The files are available -- without git -- on github. If you don't want to clone them, just browse to them and download what you want. http://github.com/sxross/jquery_plugins/tree/master Does that work ok? On Apr 27, 2008, at 3:56 PM, Jörn Zaefferer wrote: s.ross schrieb: Comments

[jQuery] Re: calling a function before a form is submitted

2008-04-27 Thread Michael Geary
Francesco, As you know, JavaScript executes statements sequentially one after another, so it isn't generally possible for one line of code to affect another line of code that's already been executed. There are two exceptions that I'm aware of: 1) A syntax error will prevent *any* of your code

[jQuery] Re: using jQuery with Struts framework

2008-04-27 Thread RecursiveBrain
Hey - I believe you can use the styleID attritbute of the struts html:select/html:select tag. It will render as id after the page is compiled and loaded. Hope that helps!! On Apr 14, 6:17 am, hero789 [EMAIL PROTECTED] wrote: Hi every Body : I 'm a java developer and i find that the jQuery

[jQuery] Re: [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread Mike Alsup
Comments welcome! I'd recommend not using global vars. Both of those plugins are doing so.

[jQuery] Re: [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread Scott Trudeau
To be a little more specific, for example, do this: var e = $('form input:visible'); Not: e = $('form input:visible') On Sun, Apr 27, 2008 at 8:11 PM, Mike Alsup [EMAIL PROTECTED] wrote: Comments welcome! I'd recommend not using global vars. Both of those plugins are doing so. --

[jQuery] Re: [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread s.ross
Righto. Also, there might be some benefit in wrapping w/ (function($) { // stuff })(jQuery); Yes? I have a couple of extend's to do that will make things work much more nicely. Thx for the comments. On Apr 27, 2008, at 5:23 PM, Scott Trudeau wrote: To be a little more specific, for

[jQuery] Re: [ANN] Simple focusFirst and ajaxLinkBind Plugins

2008-04-27 Thread Scott Trudeau
Yes. That creates a single scope for all the plugin code and allows you to use $() inside that scope. Handy when the next user comes along that doesn't use the $() alias for jQuery() (e.g., because they also use Prototype or another library), while keeping the plugin code tight. Scott On Sun,

[jQuery] unsubscribe

2008-04-27 Thread Glen Hinkle

[jQuery] Re: jQuery Lightbox problem

2008-04-27 Thread ripple
First thing I notice is that your image path is broken. Try fixing that 1st and maybe everything else will work out. kirstyburgoine [EMAIL PROTECTED] wrote: Hi, I've been using this great jQuery lightbox plugin for a variety of things and its always worked really well. Recently

[jQuery] Re: jQuery Lightbox problem

2008-04-27 Thread Sam Sherlock
i think that for some reason selectors are not functioning always return null afais. try using others browsers after fixing the path. the html looks ok to me but ther is a comment before the open of html tag hth - S 2008/4/28 ripple [EMAIL PROTECTED]: First thing I notice is that your image