[jQuery] Re: a problem when using django template and jquery

2009-12-17 Thread elprup
I check it and find that it's my mistake. When I use JSON dictionary structure to submit, and read it like: for item in dictionary so the sequence which is written to database is not kept. When I use data to render, the problem came out. thanks, Karl. On 12月15日, 下午11时12分, Karl Swedberg

[jQuery] Re: (validate)

2009-12-17 Thread eimantas
Here how it looks now: validator : $('#new_place').validate({ errorElement: 'p', errorPlacement: function(error, elem) { error.addClass('error-message left'); if (elem.attr('id') != 'select_id') { elem.parent('span').after(error); } else {

[jQuery] prompt before closing dialog

2009-12-17 Thread Obi1
Hi, i'm having some trouble because i'm using a dialog witch has a form in it where someone can change info about their hotel. this dialog also has 2 buttons one to close and the other to save changes. what i'm trying to accomplish is - when someone made sany change and tries to close de dialog

Re: [jQuery] prompt before closing dialog

2009-12-17 Thread Dhruva Sagar
If you provide your function for the close event you should be able to achieve this. It should return false in case you don't want it to close (in my opinion) Thanks Regards, Dhruva Sagar. On Thu, Dec 17, 2009 at 3:40 PM, Obi1 gurreiro_fa...@yahoo.com.br wrote: Hi, i'm having some trouble

Re: [jQuery] prompt before closing dialog

2009-12-17 Thread Richard D. Worth
Handle the beforeclose event and return false if you don't want to allow the dialog to close yet: http://docs.jquery.com/UI/Dialog#event-beforeclose If you have any further questions, there's a separate list for questions about jQuery UI plugins: http://groups.google.com/group/jquery-ui -

Re: [jQuery] Re: Styling dynamic content

2009-12-17 Thread Richard D. Worth
Works for me: http://jsbin.com/egoto/ - Richard On Wed, Dec 16, 2009 at 8:44 PM, Jason Kaczmarsky jkaczmar...@yahoo.comwrote: Yes, I am sure they are the correct class and are showing up properly. Button press: //loop $(#files).append('div class=file'+Files[i]+'/div'); //end loop

[jQuery] Re: prompt before closing dialog

2009-12-17 Thread Obi1
this doesn't seem to work, i mean the prompt appears but only after dialog is closed; also tryed using the beforeclose event but the prompt doesn't even show.

Re: [jQuery] traversal question for IE6 and IE7

2009-12-17 Thread Richard D. Worth
Your html isn't valid. * A dl cannot contain a div directly as you've shown, only dts and dds. * The dt and dd elements inside the div#bar need to be directly inside the dl. They can't have a div as a parent. * The dt and dd elements don't close immediately when you put a closing slash in the

Re: [jQuery] Re: prompt before closing dialog

2009-12-17 Thread Richard D. Worth
Here's an example of using a confirm inside beforeclose Demo: http://jsbin.com/urosa Source: http://jsbin.com/urosa/edit - Richard On Thu, Dec 17, 2009 at 5:30 AM, Obi1 gurreiro_fa...@yahoo.com.br wrote: this doesn't seem to work, i mean the prompt appears but only after dialog is closed;

[jQuery] Re: prompt before closing dialog

2009-12-17 Thread Obi1
it doesn't work for me as i'm using jConfirm not javascript confirm but it will have to do while i don't find a solution. Thanks

[jQuery] Jquery does not work in IE8

2009-12-17 Thread blueshift
Jquery-1.3.2. runs fine in Safari and Firefox. In IE8 (using the Developer Tools), I get the error: Could not get the position property. Invalid argument jquery-1.3.2.js, line 12 character 12949. Using debugging, the script highlights the characters {J[G]=K}. I have no idea what this does, but it

[jQuery] Superfish dropdown shows only inside containing li

2009-12-17 Thread Eelco
Hi, I am using superfish in a Joomla template, and it works fine in all browsers including IE6 and IE8, not in IE7 however. I do not have any positioned elements, its just that it seems as if the containing li's, have overflow:hidden, which they don't have. I can see that it works in IE7 because

[jQuery] Superfish, menu out of screen

2009-12-17 Thread jonas
Hi! Is is possible to check if a new UL is rendered outside the browser window? When using Superfish with default settings, UL's can get rendered outside the browser window if we have manu child levels, which just enables the browser scroll. We would for example like the UL to be rendered to the

[jQuery] Can't pull xml page from rss feed?

2009-12-17 Thread Eli Luong
I set up some code like below: $.ajax({ type: GET, url: sample2.xml, dataType: xml, success: function(xml) { And I took the xml source from my

[jQuery] Jquery Splitter problem

2009-12-17 Thread adil
hello everyone, i used jquery to create a splitter.it's working fine with every browser except Netscape.can you please fix the issue.i am attaching a few screen shots as to what happens to it in a netscape browser...waiting for your reply in anticipation ...thank you

[jQuery] Fwd: Urgent - Harper killing Copenhagen

2009-12-17 Thread Jonny Miller
-- Forwarded message -- From: Ricken Patel - Avaaz.org av...@avaaz.org Date: Wed, Dec 16, 2009 at 11:13 AM Subject: Urgent - Harper killing Copenhagen To: presidentand...@gmail.com presidentand...@gmail.com Dear friends,

[jQuery] Fwd: Jquery Splitter problem

2009-12-17 Thread adil hafiz
hello, i am the same guy with the Jquery splitter problem.i am sending you some screen shotsso that you can get a feel of what i want to show you..thank you

Re: [jQuery] Re: prompt before closing dialog

2009-12-17 Thread Richard D. Worth
The built in browser confirm is the only way you can block (with for the user to respond) without blocking the UI. Any javascript confirm will have to use a callback instead of a return false. In that case you can return false to prevent the close, then use the result of the jConfirm callback to

Re: [jQuery] Superfish, menu out of screen

2009-12-17 Thread Charlie
this thread should help http://groups.google.com/group/jquery-en/browse_thread/thread/255652615420722c/093dd27ff7f2e7b3?lnk=gstq=superfish+onbeforeshow#093dd27ff7f2e7b3 jonas wrote: Hi! Is is possible to check if a new UL is rendered outside the browser window? When using Superfish with

Re: [jQuery] Superfish dropdown shows only inside containing li

2009-12-17 Thread Charlie
have you tried disabling the superfish.js and let menu operate in css only mode? not sure how anyone can help without a link Eelco wrote: Hi, I am using superfish in a Joomla template, and it works fine in all browsers including IE6 and IE8, not in IE7 however. I do not have any

[jQuery] ajax

2009-12-17 Thread idcoder
i am trying to submit a form using jquery and ajax. The form gets submitted without going to the url through ajax and values are entered successfully in DB if all entries are correct and validated. also it does not updated the DB if any errors. here is the javascript

Re: [jQuery] ajax

2009-12-17 Thread Michael Lawson
Is your selector correct for your success function? perhaps you meant $(#loading) instead of $(loading) ? cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-276-206-8393 E-mail: mjlaw...@us.ibm.com 'When seen from outer space, our beautiful blue planet has no

[jQuery] Re: more ckeditor

2009-12-17 Thread Mean Mike
I haven't played with the samples . CKEDITOR API is well documented is just the jquery implementation that I'm having trouble with it seems that you would be right but I do I know when $ (#fck).ckeditor() returns ? the problem seems to me that CKedtior.js isn't loaded until $ (#fck).ckeditor()

[jQuery] Re: How to compare data in 2 jQuery data() elements

2009-12-17 Thread discern
Thanks. I'll give that a go. Otherwise, I'll just write 2 different functions: one for comparison (I'll probably compare hashes using the sha1 plugin) and one for sending the data to the backend.

[jQuery] Re: Superfish - let the navigation fade in AND fade out

2009-12-17 Thread decola
I solved the problem on my own. The problem was that the menupoint hides before it is abel to slide out. i just changed var $ul = $(['li.',o.hoverClass].join(''),this).add(this).not (not).removeClass(o.hoverClass) .find('ul').hide().css ('visibility','visible');

[jQuery] setTimeout

2009-12-17 Thread decola
i have written a code that is working quiet fine. setTimeout($(['li.',o.hoverClass].join(''),this).add(this).not (not).removeClass(o.hoverClass).find('ul').css ('visibility','hidden'), 1000); but it´s just don´t wait the 1 sec. What is wrong. Please help me. Now the full code of the function

[jQuery] Re: more ckeditor

2009-12-17 Thread Scott Sauyet
On Dec 17, 8:48 am, Mean Mike mcgra...@gmail.com wrote: I haven't played with the samples . CKEDITOR API is well documented is just the jquery implementation that I'm having trouble with Yes, the documentation for the plug-in seems pretty vague. But I couldn't really find the syntax above in

[jQuery] Re: prompt before closing dialog

2009-12-17 Thread Obi1
OK, it's working fine. thank you for the indications.

Re: [jQuery] Jquery does not work in IE8

2009-12-17 Thread Karl Swedberg
If I view source on the detail frame, I see that you're referring to the $ function before you load the jQuery file. Put the script element that loads jQuery before your other script and see if that helps. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On

[jQuery] What is the canonical way of seeing if a selector returns an empty list?

2009-12-17 Thread Joe Grossberg
I understand that the way to see if there are any elements on the page with the class of foo is this: $('.foo') On a page with such elements, I will get a result like: jQuery(p.foo, p.foo) and if there are no matching elements, I will get jQuery() -- or at least that's how it's displayed in

[jQuery] Coloring fieldset or legend Red after error

2009-12-17 Thread Joey Toc
Hi there, I have a form validated with the Validation JQuery. I want to turn the fieldset or legend red after an error message comes up. I have this; - Form - ---Fieldset --- Legend(must be red after

[jQuery] make a dynamic div resizable

2009-12-17 Thread Alex
Hello there, i'm trying get a div which is dynamically created resizable. the div is created in an ajax request. when i have the div on the page from the start there's no problem, it works fine. only by putting it after the request in another div's body it doesn't work. Here's some of my code.

[jQuery] Re: Styling dynamic content

2009-12-17 Thread Jason Kaczmarsky
I must have missed something cause I made a new page and rewrote the code and it worked fine. Thanks for the help guys. On Dec 17, 5:26 am, Richard D. Worth rdwo...@gmail.com wrote: Works for me: http://jsbin.com/egoto/ - Richard On Wed, Dec 16, 2009 at 8:44 PM, Jason Kaczmarsky

Re: [jQuery] Coloring fieldset or legend Red after error

2009-12-17 Thread Leonardo K
Something like this: $(.selector).validate({ highlight: function(element, errorClass) { $(element).addClass(errorClass); $(element.form).find(label[for= + element.id + ]).addClass(errorClass); $(element).closest('fieldset').addClass(errorClass); }, unhighlight:

Re: [jQuery] Coloring fieldset or legend Red after error

2009-12-17 Thread Leonardo K
then .errorClass{ background-color:red; } On Thu, Dec 17, 2009 at 14:27, Leonardo K leo...@gmail.com wrote: Something like this: $(.selector).validate({ highlight: function(element, errorClass) { $(element).addClass(errorClass); $(element.form).find(label[for= +

Re: [jQuery] What is the canonical way of seeing if a selector returns an empty list?

2009-12-17 Thread Charlie Griefer
On Thu, Dec 17, 2009 at 7:32 AM, Joe Grossberg joegrossberg@gmail.comwrote: Instead, I do it like this (since zero is false-y in JavaScript): if ( $('.foo').length ) { alert('at least one matching element'); } else { alert('nothing matches'); } But is that the preferred way of

Re: [jQuery] ajaxForm is not a function

2009-12-17 Thread neelay
hello, i m getting same problem.. the way i m doing is //--// html head script src=jQuery/jquery-1.3.2.js type=text/javascript/script script src=jquery.form.js type=text/javascript/script script language=javascript $(document).ready(function() { // bind

Re: [jQuery] setTimeout

2009-12-17 Thread Michael Geary
You are calling the lengthy jQuery chain *first* and then passing its result to setTimeout. Your code is equivalent to: var temp = $(['li.',o.hoverClass].join(''),this) .add(this) .not(not) .removeClass(o.hoverClass) .find('ul')

Re: [jQuery] Re: How to compare data in 2 jQuery data() elements

2009-12-17 Thread Michael Geary
I think you guys are making this too complicated. Just loop through the data properties: function dataChanged( a, b ) { for( var key in a ) if( a[key] != b[key] ) return true; return false; } if( dataChanged(o,n) ) {

[jQuery] Re: Jquery does not work in IE8

2009-12-17 Thread blueshift
Dear Karl, Thank you for your reply. I tried moving the jquery scripts before everything else, but it seems to have no effect in IE. I moved it back, and this is what it looks like now. (This all works fine in Safari 4.0.4). Do you have any other suggestions?! Sorry, but as you can tell, I find

[jQuery] Re: more ckeditor

2009-12-17 Thread Mean Mike
Perhaps just this, then:     $(#fck).ckeditor()     CKEDITOR.on( 'instanceReady', function(event) {         // your code here     }); It's worth a try in any case. so I tried that and of course I get CKEDITOR not defined ... so I figure ot I'll wait for I try it this way

[jQuery] Re: Jquery does not work in IE8

2009-12-17 Thread MorningZ
Your HTML is totally screwed you've got multiple closing /head tags... you aren't including the jQuery file before you try to do jQuery stuff first as Karl suggests and don't confuse works in safari as jQuery must be horked in IE, that's totally not the case... one browser handles poor HTML

[jQuery] Re: Coloring fieldset or legend Red after error

2009-12-17 Thread Joey Toc
Thanks for your quick reply! But i cant get it working. Im a JQuery noob i think, hehe. This is the configuration for the Validate function: - $().ready(function() { $(#registratie).validate({

[jQuery] [multifile] Programmatic functionality not working

2009-12-17 Thread Rus Miller
Getting the MultiFile plugin (jQuery Multiple File Upload Plugin v1.46) working programmatically is not happening for me. Please see two demos with a class-based and programmatic approach (view source and check the js files)...the link to switch between them is at the top:

[jQuery] Re: Coloring fieldset or legend Red after error

2009-12-17 Thread Joey Toc
Hey, Thanks man, after some frustrating hours i finaly got it working. Thanks for your code tip! Grtz

[jQuery] Re: Jquery does not work in IE8

2009-12-17 Thread MorningZ
here is what i was talking about: - no jQuery first before you are doing the $.browser stuff - duplicate title tags, although that shouldn't do anything but confuse the browser, no break it - rouge /head tag, that would DEFINITELY be an issue, especially for IE html head titleDreams

[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] Re: What is the event when a user presses the enter key anywhere on the page?

2009-12-17 Thread Mean Mike
keypress $(document).keypress(function(e) { if ((e.which e.which == 13) || (e.keyCode e.keyCode == 13)) { // do something }

[jQuery] Changing colspan with jQuery

2009-12-17 Thread davec
I am trying to change the colspan attribute on some table cells when the user clicks on a button but it is not affecting the table. Perhaps someone can tell me what I am doing wrong. Here is my jQuery code: script type=text/javascript $(document).ready(function() {

[jQuery] Changing colspan with jQuery

2009-12-17 Thread davec
I am trying to change the colspan attribute on some table cells when the user clicks on a button but it is not affecting the table. Perhaps someone can tell me what I am doing wrong. Here is my jQuery code: script type=text/javascript $(document).ready(function() {

Re: [jQuery] Changing colspan with jQuery

2009-12-17 Thread Charlie Griefer
I see where you're changing background colors, but where are you trying to change colspans? untested, but $('myTDelement').attr('colspan', x); ... where 'x' is the numeric value, should work. also, it's criminal to use document.getElementById() within jQuery. $('#element') is so much more

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

2009-12-17 Thread Mean Mike
awesome Mike, thank you Mike On Dec 17, 2:50 pm, Michael Geary m...@mg.to wrote: Good tip, thanks, Mike. A couple of suggestions... First, you could simplify that if test to:   if( e.which == 13  ||  e.keyCode == 13 ) That would do exactly the same thing in all cases as the original code.

[jQuery] jQuery FullCalendar Fetch Events Optimization

2009-12-17 Thread WhoButSB
Hello All, I was wondering if someone could give me some pointers to help optimize my jQuery Full Calendar Code. The issue i'm running into is when I fetch a lot of events through AJAX ( 25), the browser stalls and becomes unresponsive usually resulting in a message to the user to abort the

[jQuery] Re: more ckeditor

2009-12-17 Thread Scott Sauyet
On Dec 17, 1:02 pm, Mean Mike mcgra...@gmail.com wrote: so I tried that and of course I get CKEDITOR not defined ... Bummer! so I figure ot I'll wait for I try it this way         $('#fck').ckeditor();         var wait = setTimeout(function() {                 if( $.ckeditor.instance(fck))

[jQuery] Re: setTimeout

2009-12-17 Thread decola
thx for the quick answer, but this way i´ve tried it too. I have copied your code and test it too but it just don´t work. The function is called an a alert for example makes it output but the important code is not running like this. On 17 Dez., 18:21, Michael Geary m...@mg.to wrote: You are

Re: [jQuery] Re: setTimeout

2009-12-17 Thread Michael Geary
I'm sorry, I should have spotted the major bug in the code that I posted. In fact, it's particularly embarrassing, because I wrote a recipe for the jQuery Cookbook [1] on this exact topic. It's recipe 5.2, What's Wrong with $(this)? Inside the setTimeout callback function, this does not have the

Re: [jQuery] Re: setTimeout

2009-12-17 Thread Michael Geary
p.s. If there are extra blank lines in my code samples, those aren't intentional (especially not that one in the middle of the chain). Gmail is adding those for some reason! On Thu, Dec 17, 2009 at 1:19 PM, Michael Geary m...@mg.to wrote: I'm sorry, I should have spotted the major bug in the

[jQuery] Re: setTimeout

2009-12-17 Thread decola
I will reformate the code myself but thx. And a really big thx for helping me it´s working. You saved my day ... really. thx :) On 17 Dez., 22:21, Michael Geary m...@mg.to wrote: p.s. If there are extra blank lines in my code samples, those aren't intentional (especially not that one in the

[jQuery] Re: setTimeout

2009-12-17 Thread Marco Barbosa
Hi! Sorry to hop in this topic but it's always easier than creating a new one :) My problem is that I have a dropdown list, but the child list (li ul) is not exactly below the parent. So when I leave the parent to hover the child, it disappears before I have the chance. This is not something I

[jQuery] jquery.color.js no longer maintained?

2009-12-17 Thread John Arrowwood
All, I got bit by a number of bugs in the Color Animations plugin. So, I fixed them and uploaded the fix to the comments on the issue I submitted against it. Then I noticed, other people have submitted patches as far back as almost 2 years ago. So it looks like this module is no longer being

Re: [jQuery] jQuery FullCalendar Fetch Events Optimization

2009-12-17 Thread Michael Geary
50 events should be like nothing. I suspect the problem may be that you're calling $('#calendar').fullCalendar('renderEvent', calevent, true); separately for each individual event. I'm not too familiar with the Full Calendar, but can you use the 'events' option described on this page:

[jQuery] Re: validate - error messages keep piling up

2009-12-17 Thread Mark Livingstone
OK, thanks. I will try and report back. On Dec 16, 12:22 pm, Jörn Zaefferer joern.zaeffe...@googlemail.com wrote: You have three classes specified for the errorClass. The plugin can't handle that. If you actually need more then one class, use the highlight and unhighlight options to add and

[jQuery] Re: Changing colspan with jQuery

2009-12-17 Thread davec
Sorry, I posted the wrong codemy code looked exactly like what you said but it did change the rendering of the table after I set the new value. Basically, what I have been trying to do was the following: - First I render the table and have a column heading cell that spans 4 columns - Then

[jQuery] Re: SlickGrid updates!

2009-12-17 Thread Tin
The SlickGrid source code has been migrated to GitHub: http://github.com/mleibman/SlickGrid

Re: [jQuery] Re: SlickGrid updates!

2009-12-17 Thread brian
This is very impressive. One might even call it ... slick. Very slick, indeed. I really like show tasks percentage slider. And the SparkLines example. Well done! On Thu, Dec 17, 2009 at 6:41 PM, Tin michael.leib...@gmail.com wrote: The SlickGrid source code has been migrated to GitHub:

[jQuery] Looking for that plugin that uses scrollTo for product demos...

2009-12-17 Thread kgosser
Hey all, I saw this site a few months ago that was showing off a new plugin which used the scrollTo tool to scroll through one screen shot. I can't seem to find it with a Google search, and I forgot to save it to my Delicious. Yikes! I was wondering if this rings a bell for anyone and if you

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

2009-12-17 Thread Andre Polykanine
Hello Mike and all, Sorry, I also have a question about keypresses. I need a form to be submitted by pressing Ctrl+Enter. How do I manage to do that? Thanks! -- With best regards from Ukraine, Andre Skype: Francophile; WlmMSN: arthaelon @ yandex.ru; Jabber: arthaelon @ jabber.org

Re: [jQuery] prompt before closing dialog

2009-12-17 Thread Shawn
in your buttons definition: buttons : { Close : function () { if (!formChanged()) { $(#myDialog).dialog(close); } else { $(#confirm).dialog(open);

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

2009-12-17 Thread Richard D. Worth
$(document).keypress(function(e) { if(e.ctrlKey e.which == 13) { $('#myForm').submit(); } }); or $('#myForm').keypress(function(e) { if(e.ctrlKey e.which == 13) { $(this).submit(); } }); - Richard On Thu, Dec 17, 2009 at 7:40 PM, Andre Polykanine an...@oire.org wrote: Hello

[jQuery] Superfish License

2009-12-17 Thread Webguy
Hi, I was hoping to use your code in a commercial Wordpress theme I intend to sell in an online marketplace. Is that OK? I can't find a license, so I assume its OK to use commercially, but I wanted to check with you. I'd be glad to put a link to your site in the code, and even place a small

[jQuery] SimpleModal problem in IE7

2009-12-17 Thread CommandoS
Hi My question about Contact Form http://www.ericmmartin.com/projects/simplemodal-demos/ When I try Contact Form with IE6, Its work on this site. I downloaded it and try it doesn`t work with IE6. Like in my website, How Can I Fix this problem in my website ? www.ctuchicago.com Left-sidebar in

Re: [jQuery] Re: Jquery does not work in IE8

2009-12-17 Thread Alex Beston
Heres the html I'm using. !doctype html html lang=en head titledrag drop/title link type=text/css href=themes/base/ui.all.css rel=stylesheet / script type=text/javascript src=js/jquery-1.3.2.js/script script type=text/javascript src=ui/ui.core.js/script script type=text/javascript

[jQuery] (validate) condition subsets (multiple submit buttons)

2009-12-17 Thread Jacob
(abstract) So, I have a form with multiple submit buttons. The different submission types require different subsets of data input within a single form, and therefore have different requirements as to what is required. All of the examples for the validation plugin involve all values in a form

[jQuery] $.ajax POST on ff3.5 and Chrome

2009-12-17 Thread Anton Koval'
good day guys! i have next code in my js-script: $.ajax({ url: 'http://localhost:9090/api?callback=?_=?', type: 'post', dataType: 'json', data: {sites :$.toJSON(in_res), out_res_http:

Re: [jQuery] Re: Jquery does not work in IE8

2009-12-17 Thread Alex Beston
doh, wrong thread.

[jQuery] AJAX and the Content-Type response header

2009-12-17 Thread MrM
Hi, Firstly, let me apologize if this has been discussed before. I have searched the group and couldn't find anything on the subject. Now, to my question. Am I correct to assume that the jQuery.ajax function pays no heed to the Content-Type response header it receives from the server? If so, can

[jQuery] Specifying when the document.ready runs

2009-12-17 Thread stevescotthome
I've got a component which runs some jQuery document.ready functions on a radiobutton list Now I need to run some of my own custom jQuery ON TOP of that code (after it runs)... Is there anyway to specify that I want my document.ready to run after its?

[jQuery] adding an active class to nav li tag, based on dir level.

2009-12-17 Thread cadenage
I'm having a problem adding an active class the my navigation li. I'm trying to use jquery to add this class based on the dir level and not the file name. Reason being, each dir is going to have sub directories and misc html files that will be linked together within the main dir. I was trying to

[jQuery] Livequery not reattaching handlers

2009-12-17 Thread Gremlyn1
I am trying to get this function work, and it does everything it should EXCEPT reattach the event handlers (which is the whole in using livequery!). Any ideas? $j(.versions).livequery('change', function() { var verid = $j(.versions option:selected); var prodid =

[jQuery] Load Superfish menu with AJAX

2009-12-17 Thread Greg-J
I am using Superfish for a 4 tiered menu which, when complete, will consist of several hundred individual links. As to not be penalized by the big G, I want to load this menu via AJAX. My question then is, how would I go about doing this so that the menu is loaded into it's container div and then

[jQuery] Help with draggable / droppable

2009-12-17 Thread Alex Beston
Hi there, I'm trying to create some words which can be dragged and dropped into a container. I've tried to dynamically create some divs each containing a word, and they can be dragged okay, but when I try to drop, it isnt recognised. thanks in advance, Alex - Heres the code I have so

Re: [jQuery] Checkboxes in Combobox

2009-12-17 Thread Jack Killpatrick
It's not a combo box, but: http://abeautifulsite.net/2008/04/jquery-multiselect/ - Jack jambik wrote: I'm looking plug-in that allows to put checkboxes into combobox element.

[jQuery] Re: jquery.color.js no longer maintained?

2009-12-17 Thread Dave Methvin
To be sure, you're talking about this plugin? http://plugins.jquery.com/project/color The plugins site is due to get a redesign for the jQuery 1.4 in January and I think that will help some of the plugins that have been neglected. Maybe we can get some people to adopt the plugins that seem to be

[jQuery] Re: Styling dynamic content

2009-12-17 Thread Jason Kaczmarsky
Ahah, this was the problem I thought i was having. I can't make jQuery work on dynamic content. If an element with a class of file is added to the document, like the previous case, no jQuery event related to that element works. Ex: $(.file).click(function(){ alert(this)

Re: [jQuery] Re: Styling dynamic content

2009-12-17 Thread Richard D. Worth
See http://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_event_work_on_a_new_element_I.27ve_created.3F - Richard On Fri, Dec 18, 2009 at 12:23 AM, Jason Kaczmarsky jkaczmar...@yahoo.comwrote: Ahah, this was the problem I thought i was having. I can't make jQuery work on dynamic

[jQuery] Re: Styling dynamic content

2009-12-17 Thread Jason Kaczmarsky
Ah, thank you very much. On Dec 18, 12:29 am, Richard D. Worth rdwo...@gmail.com wrote: Seehttp://docs.jquery.com/Frequently_Asked_Questions#Why_doesn.27t_an_ev... - Richard On Fri, Dec 18, 2009 at 12:23 AM, Jason Kaczmarsky jkaczmar...@yahoo.comwrote: Ahah, this was the problem I

RE: [jQuery] Re: Styling dynamic content

2009-12-17 Thread Dave Maharaj :: WidePixels.com
What about $(.file).live('click', function(){ alert(this) }); I load elements dynamically into a page after the original load and can access their events. For example I have a add new record button, loads a form saves to the database and updates the current page with