[jQuery] Re: Question about tablesorter plugin

2007-04-17 Thread Remy Sharp
Hi there, I had the exact same problem with the table sorter, and I didn't want to re-load the cache each time the row was removed (I was removing them from the DOM rather than hiding). Basically, I found I needed to patch the table sorter to allow a re- stripe. The changes I made were as

[jQuery] Re: plugin development

2007-04-17 Thread ing. Salvatore FUSTO
http://www-128.ibm.com/developerworks/library/x-ajaxjquery.html - Original Message - From: phpLord [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Tuesday, April 17, 2007 7:55 PM Subject: [jQuery] plugin development Hi; do you know any guide about plugin development except

[jQuery] Re: New plugin: frameReady()

2007-04-17 Thread Paul Bakaus
Hey Daemach, this really looks nice, and I'm looking forward to use it, but it does not work for me in IE7 (for the time of being, at least not your demo). The iframes are still empty after loading, and no functions get through. On Apr 17, 4:44 am, Daemach [EMAIL PROTECTED] wrote: So I did -

[jQuery] Is jqModal not support aspx in IE6?

2007-04-17 Thread weide
I use the jqModal's Current Version: 2007.02.25 +r9 in asp.net 1.1,some code is like this: a id=DataGridResult__ctl3_aHyperLink class=DivEnumerationQISelectorToCollectiontrigger href=EQISelector.aspx?SampleID=fdce15dcc67b473a980aa8ced8500a6fGo1/ a a id=DataGridResult__ctl6_aHyperLink

[jQuery] Re: Problem with AJAX and links

2007-04-17 Thread digital spaghetti
Bahh, I've found a bug. In the code when I get type, I check to see if type == whatever. But it seems if my links have more than 1 class, it fails. For example my code may have a href=/admin/posts/add class=add admin-linkAdd Post/a - this is ignored. Whats the best way to check to see if a

[jQuery] Question about BlockUI Plugin.

2007-04-17 Thread oscar esp
I am trying to use it, but the wainting message does't appear align into the center. Is it use a css? Where could get it? Thanks.

[jQuery] Re: to change tab for enter

2007-04-17 Thread Fabyo
Thanks very much thanks BethaSidik wrote: I've created the plugin for this purposes, name is enter2tab plugin. This plugin created for my project, that develop a web application that behave like normal window application, which can use enter to move on the next field. The plugin

[jQuery] jQuery and EXT not working at all

2007-04-17 Thread Juha Suni
I know this might concern Ext as much as jquery, but since most ext-users at their forums are still propably using YUI and the problems I seem to have look specific to the jQuery-port of ext, I posted this here. If anyone else has had any experience with jQuery and ext yet, please speak up :)

[jQuery] Re: AJAX datagrid (paging sorting) with jQuery?

2007-04-17 Thread Juha Suni
Jörn Zaefferer wrote: Thanks. Christian's tablesorter is pure client-side, that doesn't help much in my case. I'm gonna take a deeper look at Ext. If you get the grid working please post a demo. I've ran into great difficulties in starting up with jQuery-ext (Just posted another thread

[jQuery] Re: Will this code enable disable a submit button?

2007-04-17 Thread Rick Faircloth
Thanks for the test! Rick -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of limodou Sent: Monday, April 16, 2007 10:58 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Will this code enable disable a submit button? On 4/17/07, Rick

[jQuery] Re: Question about BlockUI Plugin.

2007-04-17 Thread Mike Alsup
Oscar, You can customize the CSS by overriding values in the the defaults object. Details are available here: http://www.malsup.com/jquery/block/#override Mike I am trying to use it, but the wainting message does't appear align into the center. Is it use a css? Where could get it?

[jQuery] Re: Reducing this code.

2007-04-17 Thread fambizzari
Thanks - funnily enough i downloaded firebug earlier on today. Also, what's Sean talking about when he says: lets say the focus function gets called twice (through malicious javascript or a quirky browser) then the toggle state of the class will be off. But in general I prefer your

[jQuery] Re: Autocomplete plugin

2007-04-17 Thread [EMAIL PROTECTED]
I found the JQuery and Dan's plugin for auto complete mod today and was just what I was looking for, I have a form where I ask the user to enter there town or postcode ( ZIP code) and then it will auto complete the form. My problem that I found using a cold fusion page is that held a massive

[jQuery] Building HTML and binding to an inner element.

2007-04-17 Thread dec
Hi list, I'm trying to add items to an unordered list using jQuery. This is something triggered by another event, so it cannot be done within my HTML templating engine whilst building the page. I also wish to add an 'a' element within the list item which I can then use to remove the item and

[jQuery] Re: Reducing this code.

2007-04-17 Thread Karl Swedberg
On Apr 17, 2007, at 2:25 AM, Klaus Hartl wrote: $(function(){ var toggle = function() { $(this).parent().toggleClass('on') }; $('fieldset).find('input, select, textarea').focus(toggle).blur (toggle); }); I'd choose this approach in order to avoid typing the class name on in more

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-17 Thread Fila
Hello! Thx for the answers and warnings i'll do my best to be more smarter with my codes. I'm aware about the velocity that the things happens and we have to do the codes fast, security is always put aside of this. If not at the end of the list... security codes are completly ignored.

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Dan G. Switzer, II
Another issue is Opera insisting on submitting the form when pressing enter, even with event.preventDefault() called at the right moment, at least it works in IE and Firefox. Anyone got an idea how that can be avoided? I've never been able to fix that, but it's been a while since I looked

[jQuery] Re: Autocomplete plugin

2007-04-17 Thread Dan G. Switzer, II
James, I found the JQuery and Dan's plugin for auto complete mod today and was just what I was looking for, I have a form where I ask the user to enter there town or postcode ( ZIP code) and then it will auto complete the form. My problem that I found using a cold fusion page is that held a

[jQuery] Problem with jquery form plugin and file upload

2007-04-17 Thread sublimenal
Hello, I am having a problem with jquery form plugin when it comes to file upload. The file upload script works perfectly without the javascript and the form plugin works perfectly as long as im not uploading files. It just does not recognize the file being uploaded. Is there something special I

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Juha Suni
Brandon Aaron wrote: On 4/17/07, Mike Alsup [EMAIL PROTECTED] wrote: Also, remember that support for jQuery in Ext is brand new and there are bound to be problems. You're doing us a great service by working through the examples and documenting what you find. Thanks! I second that! I

[jQuery] Re: Library showdowns

2007-04-17 Thread Scott Sauyet
Sean Catchpole wrote: [ ...] add = function (a) { return function (b) { return a+b } } Now I can call add(3) and it will return function (b) { return 3+b } [W]e can now call add(3)(7) and it will return 10. And more to the point, you can store and use the function returned by the call to

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Brandon Aaron
On 4/17/07, Juha Suni [EMAIL PROTECTED] wrote: What is the correct forum to highlight possible bugs and suggestions cosidering jQuery-Ext? Who is primarily responsible for that stuff, is it Jack, John or should I just post them either here or maybe the dev-list, or at the Ext-site forums? I

[jQuery] Re: Library showdowns

2007-04-17 Thread Sean Catchpole
Actually, I think this is quite easy in Javascript. If you look at the code listings in the Wikipedia article [1], Javascript has more succinct code than anything but scheme, and scheme's advantage mostly has to do with it's simpler syntax for functions. -- Scott [1]

[jQuery] Re: Problem with jquery form plugin and file upload

2007-04-17 Thread Mike Alsup
No, there is nothing special you need to do for file uploads. Just make sure you're using a recent version of the plugin that supports file uploads (.95 or later, I think). Mike On 4/17/07, sublimenal [EMAIL PROTECTED] wrote: Hello, I am having a problem with jquery form plugin when it

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Mike Alsup
Awesome stuff, Suni! Thanks for taking the time to write it up. Cheers! Mike Here's a really quick'n'dirty how-to for others who want to jumpstart Ext with jQuery:

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Benjamin Sterling
Suni, thanks for the walk thru, much appreciated. On 4/17/07, Juha Suni [EMAIL PROTECTED] wrote: Brandon Aaron wrote: I would just post your findings here. That way we can all trouble shoot and learn. :) Ok here goes. Actually once I included the dimensions-plugin things started to click

[jQuery] Re: New plugin: frameReady()

2007-04-17 Thread Daemach
Yes, sorry. I just found another IE quirk ;) It should work now. On Apr 17, 2:43 am, Paul Bakaus [EMAIL PROTECTED] wrote: Hey Daemach, this really looks nice, and I'm looking forward to use it, but it does not work for me in IE7 (for the time of being, at least not your demo). The iframes

[jQuery] Re: Library showdowns

2007-04-17 Thread Scott Sauyet
Sean Catchpole wrote: However, this can only be done through a tedious declaration of the function (all those return functions) and then the (arg1)(arg2)(...) format isn't the best. So I've been working on a curry function that will change any function in a curried one. I'll post it on the

[jQuery] Re: Reducing this code.

2007-04-17 Thread Sean Catchpole
Also, what's Sean talking about when he says: lets say the focus function gets called twice (through malicious javascript or a quirky browser) then the toggle state of the class will be off. But in general I prefer your implementation. Is this something i need to worry about? Is this

[jQuery] find.click vs bind(click)

2007-04-17 Thread Shelane Enos
What is the difference, advantage/disadvantage of these different methods: bindEdit = function(){ $j('#edit').bind(click, function(){ var linkval = $(this).attr(href); $j('#jobinfo').load(linkval, function(){ bindEdit(); }); return

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Sean O
I could see my users typing in the comma in a multiple select scenario, so I cast my vote for comma-as-selector. Great to see you guys collaborating on an important (IMHO) and useful plugin. I wish I had more time (and expertise lol) to lend a hand. ___ SEAN O http://www.sean-o.com

[jQuery] Re: serialize problems w/ select menu on IE

2007-04-17 Thread Matt Kruse
On Apr 17, 9:32 am, Brad Perkins [EMAIL PROTECTED] wrote: Preliminary tests show that adding values to the options solves the problem. I wouldn't really say it solves the problem... more like it avoids the problem :) An option tag with no value attribute is perfectly acceptable, and should be

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Brandon Aaron
On 4/17/07, Mike Alsup [EMAIL PROTECTED] wrote: Juha, I don't know where the first error comes from, but the 2nd one, jQuery(el).offset is not a function seems to imply a dependency on the dimensions plugin. Do you have that included? That is correct. The dimensions plugin is required for

[jQuery] Re: JavaScript Hijacking - Jquery among the vulnerable ones

2007-04-17 Thread Fila
Hello! Thx for the answers and warnings i'll do my best to be more smarter with my codes. I'm aware about the velocity that the things happens and we have to do the codes fast, security is always put aside of this. If not at the end of the list... security codes are completly ignored.

[jQuery] Re: Multiple .bind

2007-04-17 Thread Jesse Skinner
I've just submitted a patch to fix this, but in the meantime you can use an anonymous function (as I just described in another message) like so: function tocDisplay(e){ $('#toc_content')[e.data.mode](); } $('#toc_header').bind('click', {mode: 'toggle'}, function(e){

[jQuery] Re: Building HTML and binding to an inner element.

2007-04-17 Thread dec
On Apr 17, 8:22 pm, dec [EMAIL PROTECTED] wrote: Hi list, I'm trying to add items to an unordered list using jQuery. This is something triggered by another event, so it cannot be done within my HTML templating engine whilst building the page. I also wish to add an 'a' element within the

[jQuery] Re: to change tab for enter

2007-04-17 Thread Fabyo
Included for list forms: http://docs.jquery.com/Plugins#Forms Fabyo wrote: Thanks very much thanks BethaSidik wrote: I've created the plugin for this purposes, name is enter2tab plugin. This plugin created for my project, that develop a web application that behave like normal

[jQuery] Re: hasClass

2007-04-17 Thread Aaron Heimlich
if($(div).is(.foo)) { // do super cool stuff } On 4/17/07, Geoffrey Knutzen [EMAIL PROTECTED] wrote: How can I test if an element has a specific class? If I have div class=foo bar How can I check if the element has class=bar Seems like it should be easy, but I am having troubles.

[jQuery] Re: Building HTML and binding to an inner element.

2007-04-17 Thread Jesse Skinner
I just submitted a patch for this bug. As a temporary workaround, you could fix this by using an anonymous function wrapper, like so: el.bind('click', data, function() { return my_func.apply(this, arguments); }); or in the context of your example: $( li style=\display: none\+

[jQuery] Re: serialize problems w/ select menu on IE

2007-04-17 Thread Brad Perkins
Jeffrey, Preliminary tests show that adding values to the options solves the problem. Thanks, Brad On 4/16/07, Jeffrey Kretz [EMAIL PROTECTED] wrote: I might be barking up the wrong tree, but I would suggest assigning a specific value to each of the option elements and give it another try.

[jQuery] Re: hasClass

2007-04-17 Thread Scott Sauyet
Geoffrey Knutzen wrote: How can I test if an element has a specific class? If I have div class=foo bar How can I check if the element has class=bar $(#myDiv).is(.bar); For all the great documentation JQuery has, some things are hard to find. This is at

[jQuery] Re: hasClass

2007-04-17 Thread spinnach
you could use the .is() function: $(element).is('.bar'); or if you need to access only elements with the .bar class you could use $('.bar').whatever()... $('div.bar') would be faster if you need only the divs with the .bar class.. dennis. Geoffrey Knutzen wrote: How can I test if an

[jQuery] iFrame Content Update

2007-04-17 Thread oscar esp
I would like to update iFrame content with ajax call result like: jQuery.ajax({ type: get, url: url , async: true, dataType: html,

[jQuery] Re: iFrame Content Update

2007-04-17 Thread Daemach
Perhaps this would help? http://groups.google.com/group/jquery-en/browse_thread/thread/e1b2c367f354aead On Apr 17, 10:11 am, oscar esp [EMAIL PROTECTED] wrote: I would like to update iFrame content with ajax call result like: jQuery.ajax({ type: get,

[jQuery] jQuery .click Function Help

2007-04-17 Thread Brandon
I am finishing up a small script using the jQuery library, and I am struggling with a onclick function: for (i=0; ielements.length; i++) { $('#'+settings.instancename+'-nav-'+String(i+1)).click(function() { jumpTo(i); }); } Now I know what the

[jQuery] Re: Question about BlockUI Plugin.

2007-04-17 Thread oscar esp
Thanks!!! It works fine. Do you know if it is posible to use something like: link rel=stylesheet href=/InmoFusion2/libs_Ext/jquery/css/ thickboxCmp.css type=text/css media=screen instead of change the CSS using defaults? Thanks On 17 abr, 13:58, Mike Alsup [EMAIL PROTECTED] wrote: Oscar,

[jQuery] jqModal confirm and alert override

2007-04-17 Thread laurenty
is there a way to pause js execution when overriding alert and confirm with jqModal (just like the original behavior)? thanks Laurent

[jQuery] Injecting JavaScript and CSS - Optimization Technique

2007-04-17 Thread mdelmarter
Hi all, I have been using Ext and jQuery for a few weeks now. One issue with this combination is the sheer volume of JavaScript and CSS that needs to be used. Because I am working with a large application I have been experiementing with different techniques to improve performance, minimizing the

[jQuery] Re: find.click vs bind(click)

2007-04-17 Thread Shelane Enos
So I'm trying this: $j(function(){ bindEdit = function(){ $j('#edit').bind(click, function(){ var linkval = $j(this).attr(href); $j('#jobinfo').load(linkval, function(){ bindEdit(); }); return false; }); }

[jQuery] Re: hasClass

2007-04-17 Thread Jeffrey Kretz
Have you tried $(element).is('.bar')? JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Geoffrey Knutzen Sent: Tuesday, April 17, 2007 10:01 AM To: jquery-en@googlegroups.com Subject: [jQuery] hasClass How can I test if an element has a

[jQuery] Re: hasClass

2007-04-17 Thread Scott Sauyet
I wrote: I don't know if I'm alone, but I think a plain alphabetic list of functions would be a good addition to the docs. Never mind. Just looking a little further, http://docs.jquery.com/Alternative_Resources -- Scott

[jQuery] Re: IE will not eval this: eval(function(){alert('iesucks')})() Any ideas?

2007-04-17 Thread Daemach
Thanks John - I was working on my frames plugin ( http://groups.google.com/group/jquery-en/browse_thread/thread/e1b2c367f354aead ) and needed to break closures when running a function in a different frame so I don't have much control over what I'm passed. The good news is that Matt Jake's

[jQuery] Re: find.click vs bind(click)

2007-04-17 Thread Jeffrey Kretz
I'm going to go out on a limb and say there is very little difference between them. I suppose it is possible that the second function has a little bit more overhead, because it is declaring a jQuery element, then finding a second element. The first example doesn't do that. But both of these

[jQuery] Re: I have to fire each and $(this) when doing something?

2007-04-17 Thread Jeffrey Kretz
I just tried a test on my own page: $('a').css('opacity','.5'); And every A element on my page became partially transparent. Do you have a link to your page online? JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of aw Sent: Tuesday, April

[jQuery] Ext Calendar on top of jQuery

2007-04-17 Thread mdelmarter
Hi John and all, I am using Ext with jQuery which is working perfectly together - except in one area. There is an issue with the Calendar when moving between months, it basically moves one month and then the onclick event no longer works. This issue is documented on the Ext forums and seems to

[jQuery] Re: find.click vs bind(click)

2007-04-17 Thread spinnach
are the pages you load complete html pages (along with the head and body and all of that)? if yes, the pages you load through the .load function should contain only the html you want to load in the '#jobinfo' div.. if you're using php, jquery sets a header ('HTTP_X_REQUESTED_WITH') when

[jQuery] Re: hasClass

2007-04-17 Thread Andy Matthews
Scott... www.jquery.com/api -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Scott Sauyet Sent: Tuesday, April 17, 2007 12:09 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: hasClass Geoffrey Knutzen wrote: How can I test if an

[jQuery] Re: hasClass

2007-04-17 Thread Geoffrey Knutzen
That does it. I had never looked at the is method before Thanks a bunch -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Tuesday, April 17, 2007 10:26 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: hasClass This

[jQuery] Re: Library showdowns

2007-04-17 Thread Rhapidophyllum
Dojo has a curry function. On Apr 17, 2007, at 8:30 AM, Klaus Hartl wrote: Glen Lipka schrieb: On 4/16/07, *Sean Catchpole* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Interesting find Karl, Thanks I'm still trying to see if I can find a graceful way to implement curried

[jQuery] Re: find.click vs bind(click)

2007-04-17 Thread Shelane Enos
I changed to this: function loadEdit(){ var linkval = $j('#edit').attr(href); $j('#jobinfo').load(linkval); return false; } And added the function itself to my link. onclick=loadEdit(); The return false in the function isn't working. If I put it in the onclick (onclick=loadEdit();

[jQuery] Re: Ext Calendar on top of jQuery

2007-04-17 Thread Brandon Aaron
Moving to addEventListener and attachEvent is on the todo list. When will it be done? Soon :) It will involve a lot of regression testing to make sure we don't cause any problems in the transition. -- Brandon Aaron On 4/17/07, mdelmarter [EMAIL PROTECTED] wrote: Hi John and all, I am using

[jQuery] Re: Remembering settings

2007-04-17 Thread Rafael Santos
Well, you could use $.cookie to set these settings when a user toggle a box and $.cookie to get these ones. http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/ 2007/4/17, Trekmp [EMAIL PROTECTED]: Just discovered this library and its excellent and seems to be doing what I need at

[jQuery] Re: find.click vs bind(click)

2007-04-17 Thread John Resig
Do you have an example with a full page, there's probably another issue here. --John On 4/17/07, Shelane Enos [EMAIL PROTECTED] wrote: I changed to this: function loadEdit(){ var linkval = $j('#edit').attr(href); $j('#jobinfo').load(linkval); return false; } And added the

[jQuery] Re: jqModal confirm and alert override

2007-04-17 Thread Benjamin Sterling
I would suggest a while loop after you pop the jqModal, maybe something like: var confirm = false; // a global var ? in the function: // code to execute jqModal confirm box while(!confirm){} ideally the while loop will keep the rest of the code from executing till it gets a confirm that is

[jQuery] Re: Remembering settings

2007-04-17 Thread Benjamin Sterling
Piggie backing off of what Rafael said, you can take the params for each thing and put that in a cookie and when you do you $(document).ready, have a function that looks at the cookie and gets the params. Say you have a menu that the user wants hidden: menuParams:hidden; and when you come in

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Jörn Zaefferer
Sean O schrieb: I could see my users typing in the comma in a multiple select scenario, so I cast my vote for comma-as-selector. Okay, gonna investigate it after a first release. Should be too hard to get the keycode for a dynamic character. -- Jörn Zaefferer http://bassistance.de

[jQuery] Re: jQuery and EXT not working at all

2007-04-17 Thread Jörn Zaefferer
Juha Suni schrieb: Brandon Aaron wrote: I would just post your findings here. That way we can all trouble shoot and learn. :) Ok here goes. Actually once I included the dimensions-plugin things started to click really well. Here's a really quick'n'dirty how-to for others who want to

[jQuery] Re: Question about BlockUI Plugin.

2007-04-17 Thread Mike Alsup
You can try. The selector you'd want to use would be: div.blockMsg { /* your styles here */ } You may also want to do this to suppress the default styling: $.blockUI.defaults.pageMessageCSS = {}; I haven't tried this myself so I'm not sure how well it will work. Mike On 4/17/07, oscar

[jQuery] Re: jqModal confirm and alert override

2007-04-17 Thread Laurent Yaish
Brice, Since I needed to check if the user clicked 'no', I overloaded confirm with confirm(msg, yes_callback, no_callback) instead of just having a callback for 'yes' It's not pretty but it works... Thanks! Laurent On 4/17/07, Brice Burgess [EMAIL PROTECTED] wrote: laurenty wrote: is

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-17 Thread Markus Peter
On 17.04.2007, at 19:21, mdelmarter wrote: Hi all, I have been using Ext and jQuery for a few weeks now. One issue with this combination is the sheer volume of JavaScript and CSS that needs to be used. Because I am working with a large application I have been experiementing with different

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Jörn Zaefferer
Brandon schrieb: I am finishing up a small script using the jQuery library, and I am struggling with a onclick function: for (i=0; ielements.length; i++) { $('#'+settings.instancename+'-nav-'+String(i+1)).click(function() { jumpTo(i); }); } Now

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Jörn Zaefferer
Brandon schrieb: I am finishing up a small script using the jQuery library, and I am struggling with a onclick function: for (i=0; ielements.length; i++) { $('#'+settings.instancename+'-nav-'+String(i+1)).click(function() { jumpTo(i); }); } Now

[jQuery] Re: jQuery .click Function Help

2007-04-17 Thread Jörn Zaefferer
Brandon schrieb: The jQuery.each works wonders. It's also cleaner IMO. Thanks, Jörn. There are two cases where you'd wan to avoid using each: When you need to reference this without creating a closure and when you've got some real performance issues. Apart from that I use it all the time

[jQuery] Triggered Event not returning correct target

2007-04-17 Thread Ardie Saeidi
Hi everyone, So i'm working on a default form button script, which is really easy and i was able to get it to work. Problem is i have a div/panel listening to click events and i need to get the default button from the event.target property. Thing is when i trigger the default button's click

[jQuery] Working with accordions - Parent category without Child

2007-04-17 Thread Allan
I am very happy with jquery. And I have been playing around with it over the last couple of days. I am a designer with a heavy reliance on IDEs like dreamweaver. So my coding background isn't strong, so please forgive this question if it is too out of place to ask here. I am using this code:

[jQuery] Re: [PATCH] jQuery 1.1 star rating fix

2007-04-17 Thread Jörn Zaefferer
Ian Eure schrieb: I ran into some problems with the star rating plugin for jQuery 1.1. The issue is that (at least in Firefox) links with #foo get expanded to include the current page URL. The plugin assumes the href attribute is a simple #5, so the rating isn't extracted correctly. I patched

[jQuery] Re: Autocomplete plugin

2007-04-17 Thread Jörn Zaefferer
[EMAIL PROTECTED] schrieb: Well, while you're taking requests I've noticed something odd. When there is a space in the selected item I get weird encoding when I display the value on a results page. For instance, first_name last_name appears as !first_name !last_name. This may be something in

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: Another issue is Opera insisting on submitting the form when pressing enter, even with event.preventDefault() called at the right moment, at least it works in IE and Firefox. Anyone got an idea how that can be avoided? I've never been able to fix that, but it's

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Dan G. Switzer, II
Jörn, Seems like its enough to bind the keypress event... You may want to do some testing on keypress. I think keydown was used for repeating character purposes. It might be better off to just trap the [enter] key on keypress and leave the other code only. I'm pretty sure the keydown

[jQuery] Re: Autocomplete plugin

2007-04-17 Thread Dan G. Switzer, II
Its a double-boolean-inversion. So if !li.extra return false, !!li.extra returns true. Unnecessary in that case and removed in the latest revision. I think I got in the habit doing the double conversion because of some issues w/NS4. Sometimes objects would incorrectly evaluate to true, but doing

[jQuery] Re: Autocomplete plugin status2

2007-04-17 Thread Jörn Zaefferer
Dan G. Switzer, II schrieb: Jörn, Seems like its enough to bind the keypress event... You may want to do some testing on keypress. I think keydown was used for repeating character purposes. It might be better off to just trap the [enter] key on keypress and leave the other

[jQuery] Re: Plugin: CFJS updated

2007-04-17 Thread Gareth Hughes
Blimey, I didn't know about this... Very cool. Thanks Chris. - Original Message - From: Christopher Jordan [EMAIL PROTECTED] To: jQuery Discussion. jquery-en@googlegroups.com Sent: Tuesday, April 17, 2007 8:58 PM Subject: [jQuery] Plugin: CFJS updated Hi folks, Just a quick note to

[jQuery] Re: Plugin: CFJS updated

2007-04-17 Thread Rey Bango
Great job Chris!!! Christopher Jordan wrote: Hi folks, Just a quick note to say that I've updated the library to fix a bug in the DollarFormat() function. Also, when I get a spare moment or three, I'll be adding heaps more CFScript functions to the library. The SVN on RIAForge

[jQuery] Re: Ext Calendar on top of jQuery

2007-04-17 Thread Jeffrey Kretz
Do you know if this is intended to be a part of the 1.1.3 milestone? JK -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brandon Aaron Sent: Tuesday, April 17, 2007 10:53 AM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Ext Calendar on top

[jQuery] Re: Plugin: CFJS updated

2007-04-17 Thread Christopher Jordan
My pleasure, Gareth. The only way you could have made the grin on my face bigger was if you'd said, Cor Blimey!. :oD Chris Gareth Hughes wrote: Blimey, I didn't know about this... Very cool. Thanks Chris. - Original Message - From: Christopher Jordan [EMAIL PROTECTED] To: jQuery

[jQuery] Re: Ext Calendar on top of jQuery

2007-04-17 Thread Brandon Aaron
I hope we can find the time to get it into the 1.1.3 release. It was originally slated for the 1.1.3 but it is all a mater of having time to implement and thoroughly test. -- Brandon Aaron On 4/17/07, Jeffrey Kretz [EMAIL PROTECTED] wrote: Do you know if this is intended to be a part of the

[jQuery] Re: Plugin: CFJS updated

2007-04-17 Thread Gareth Hughes
Lol. Dropping my 'Cor' was just lazy :-) - Original Message - From: Christopher Jordan [EMAIL PROTECTED] To: jquery-en@googlegroups.com Sent: Tuesday, April 17, 2007 9:13 PM Subject: [jQuery] Re: Plugin: CFJS updated My pleasure, Gareth. The only way you could have made the grin on

[jQuery] Plugin authoring

2007-04-17 Thread Josh Nathanson
Hey all, I've been working on my first jQuery plugin, it's going to be called jqURL. It handles some url parsing tasks and does a few other nifty things. But, I have a couple of questions -- I want to make sure I'm going about things the right way. 1) I'm not adding any methods, just

[jQuery] Release: autocomplete 1.0 alpha

2007-04-17 Thread Jörn Zaefferer
Hi folks, I'm glad to release the first version of the rewritten autocomplete plugin, based on the work by ... There is now a page with a download, link to the demo and documentation: http://bassistance.de/jquery-plugins/jquery-plugin-autocomplete/ The documentation lacks better examples,

[jQuery] Re: Plugin authoring

2007-04-17 Thread Aaron Heimlich
On 4/17/07, Josh Nathanson [EMAIL PROTECTED] wrote: 1) I'm not adding any methods, just functions (I think) - the calls would be in the form $.jqURL.myfunc() -- so am I writing a plugin or an extension? In my mind, there really isn't much of a difference (if any) between plugins and

[jQuery] New To List - Question about JModal - DNR

2007-04-17 Thread Jimmy Glass
Hi. I don't know if this is really a support forum, but. Has anyone had the problem of not being able to resize a JQModal window vertically? I am able to drag and horizontally resize the window, but. it wont' resize vertically. I don't even know where to begin debugging it. Has anyone seen

[jQuery] Re: Release: autocomplete 1.0 alpha

2007-04-17 Thread Jörn Zaefferer
Jörn Zaefferer schrieb: Hi folks, I'm glad to release the first version of the rewritten autocomplete plugin, based on the work by ... Sorry, wanted to insert a few names there: Dylan Verheul, Dan G. Switzer and Anjesh Tuladhar -- Jörn Zaefferer http://bassistance.de

[jQuery] ThickBox question

2007-04-17 Thread Chris Jordan
Hi folks, I've searched the archives, but didn't find what I was looking for. So if this has already been discussed and someone can point me to the old thread, that'd be awesome. Otherwise: Is it possible to trigger the opening of a thickbox without a link? In other words, I want to do this:

[jQuery] Re: Ext Calendar on top of jQuery

2007-04-17 Thread mdelmarter
Hi Brendon, Thanks for replying - great to see that it is on the todo list. If you need any help with regression testing please let me know... On Apr 18, 5:52 am, Brandon Aaron [EMAIL PROTECTED] wrote: Moving to addEventListener and attachEvent is on the todo list. When will it be done? Soon

[jQuery] Re: ThickBox question

2007-04-17 Thread Chris Jordan
Okay, I just took a look at thickbox.js and want to know if all I have to do is call TB_show(caption, url, rel); ? I'll play around with this, but would love it if anyone could tell me if they've had this need before and how they solved it. Thanks, Chris On Apr 17, 4:13 pm, Chris Jordan [EMAIL

[jQuery] Re: Injecting JavaScript and CSS - Optimization Technique

2007-04-17 Thread mdelmarter
Hi Markus, Thanks for taking the time to reply - good to get some feedback. I agree with most of your comments, and once would have felt the same as you did. The reality is that once I started using Ext which added a lot of weight to my JS and CSS, that I found the loading of iframes had a

[jQuery] Re: Autocomplete plugin

2007-04-17 Thread James Trix
because I am searching through towns and postcode (zip codes) for Australia some post codes are as short as 2/3 char so I need to keep it set to 3 but just return a maxium of 10 results. When you enter the postcode (zipcode) you would get no more than about 4 results. So because of the large data

[jQuery] Re: jqModal confirm and alert override

2007-04-17 Thread laurenty
The while loop was the first thing I tried, the problem with it is that it keeps the browser so busy that it does not even respond anymore. The double callback approach did the trick. On Apr 17, 11:04 am, Benjamin Sterling [EMAIL PROTECTED] wrote: I would suggest a while loop after you pop the

[jQuery] How to apply thickbox effect to a loaded ajax content?

2007-04-17 Thread SimDigital
I need to keeping applying Thickbox effect to a ajax content like bellow: Before click on button to load ajax content: script ... $(#loadhere).load('http://localhost/test/moreinfo.php?id=1'); /script div id=loadhere/div After loaded content, i got it in memory: div id=loadhere a

[jQuery] Re: New To List - Question about JModal - DNR

2007-04-17 Thread Sean Catchpole
Can you link an example or paste some code? ~Sean

  1   2   >