[jQuery] Animation queue on different element?

2009-11-11 Thread badtant
Hi! I have the two animations below running side by side: $(#dubbelsnurra #graph1).animate({height:154px},1500); $(#dubbelsnurra #graph2).animate({height:74px},1500); When they are done I want to start another animation on two other elements. See below: $(#dubbelsnurra

[jQuery] which submit button was clicked?

2009-09-15 Thread badtant
Hi! I have a submit-event attached to my form. The form contains a few different submit-buttons and I wan't to chech which one of them that triggered the submit. Shouldn't be to hard but i can't find out how to do it. Thanks

[jQuery] Tablesorter dates

2009-08-14 Thread badtant
Hi! I'm using this plugin http://tablesorter.com/docs/ but have some trouble with sorting my dates. I want to have them show like this: 12 januari 29 januari 12 april 29 april 12 maj 29 maj I've figured I probable need to write a new parser for this but I'm not quite sure how. Anyone good at

[jQuery] Re: [validate] Same rule and messages to several input fields

2008-06-25 Thread badtant
, $.validator.methods.minlength, Förnamnet måste vara minst 2 tecken); $.validator.addClassRules(customer, { customerRequired: true, customerMinlength: 2 }); Jörn On Tue, Jun 24, 2008 at 10:01 AM, badtant [EMAIL PROTECTED] wrote: Hmm, I don't quite understand how to implement this. Let's say that i have this now

[jQuery] Re: Validating forms with identical input names

2008-06-24 Thread badtant
I had the same problems. Haven't figured out any solution yet... What do you say Jörn? On Jun 23, 6:58 pm, owen [EMAIL PROTECTED] wrote: I have a form that uses some PHP-style input names in order to be able to process the input values as an array after submitting: input id=date1 name=date[]

[jQuery] [validate] Same rule and messages to several input fields

2008-06-23 Thread badtant
Hi, This post concerns the Validation plugin http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I have several input fields that should have the same rules and messages. I don't want to specify them over and over again so my question is: how can I do that? Here's an example:

[jQuery] Re: [validate] Same rule and messages to several input fields

2008-06-23 Thread badtant
to provide the messages - you could set it as the default via $.validator.messages.required = Jörn On Mon, Jun 23, 2008 at 2:23 PM, badtant [EMAIL PROTECTED] wrote: Hi, This post concerns the Validation plugin http://bassistance.de/jquery-plugins/jquery-plugin-validation/ I have several

[jQuery] autocomplete + bgiframe

2008-01-10 Thread badtant
Hi! I'm currently trying out this autocomplete plugin: http://code.google.com/p/jqac/ http://plugins.jquery.com/project/jqac I have to add bgiframe functionality for IE6 and have some trouble doing that. Here's my code: http://www2.hemsida.net/badtant/test/auto/test.html I've added this line

[jQuery] Re: Serialize unchecked checkboxes?

2008-01-05 Thread badtant
Wizzud: Thanks! I'll try out the code when I come to work on monday =) Mike: I know it's not supposed to but it used to do that and I have a case where I want that functionality. Therefore i think it was a good thing! The best would be with an option for the user but the standard would be to

[jQuery] Serialize unchecked checkboxes?

2008-01-04 Thread badtant
Hi! I thinkt the serialize method is great but it seems like it has been changed to only serialize checkboxes that are checked. Earlier it serialized all of them and i could use the selector :checked to only get the ones that are checked if I wanted to. Now I want to serialize all checkboxes in

[jQuery] Re: Which child am I?

2007-11-27 Thread badtant
... I possibly worded the question badly and haven't had a reply yet but would also be very interested in a neat way to do this. People must often need a way to find out the index of an element amongst it's siblings ? Jon On Nov 26, 3:35 pm, badtant [EMAIL PROTECTED] wrote: I have

[jQuery] Which child am I?

2007-11-26 Thread badtant
I have the following html: table thead tr thcol a/th thcol b/th thcol c/th /tr /thead tbody tr tdaaa/td tdbbb/td tdccc/td /tr /tbody /table When the user hovers the th-element I have a function. I want that function to return which of the columns that has been hovered. Let me explain... when

[jQuery] Re: Which child am I?

2007-11-26 Thread badtant
the page loads. Other than than, I would experiment with colgroup and see if it fires which col you are in. Sorry, no time for a demo. :( Hope this helps a little. Glen On Nov 26, 2007 7:35 AM, badtant [EMAIL PROTECTED] wrote: I have the following html: table thead tr thcol a/th

[jQuery] select all unchecked checkboxes

2007-06-26 Thread badtant
Hi! I want to get all checkbox items that are not checked. I use the following to get all checkboxes that is checked but now i want to get the ones that are unchecked, how can I do that? $(#myform input:checkbox:checked) Thanks! /Niklas

[jQuery] åäö doesn't work with load()

2007-04-11 Thread badtant
hover the links: http://www2.hemsida.net/badtant/test/test.html and here's the file that is loaded: http://www2.hemsida.net/badtant/test/ajax.html

[jQuery] Re: åäö doesn't work with load ()

2007-04-11 Thread badtant
my whole site is in ISO-8859-1 and it's to much work right now to convert to UTF-8. i think that this is something that should work automaticly. /N On Apr 11, 11:04 am, Mariusz Cieśla [EMAIL PROTECTED] wrote: Can't you just try to use UTF-8 for the pages? Conversion isn't hard and still it