[jQuery] Re: simple form not submitting

2008-10-09 Thread ijlal
hi ricardobeat. thanks for reply. i've set the action attribute but still the form is not submitting. regards. ricardobeat wrote: > > > You need to define the action="" attribute in the form so it can be > submitted, otherwise it's going nowhere. > > - ricardo > > On Oct 9, 11:36 am, ijlal <

[jQuery] grab parameters from function

2008-10-09 Thread GARIL
Click me Is it possible to grab the first,second,third parameters of the showIt function above so that I can pass the same parameters to another function? I managed to get the event itself using: $("div.hitarea").next().attr("onclick") but I don't know how to continue...

[jQuery] Re: blockUI conflicts

2008-10-09 Thread chris thatcher
Im not sure about the specific answer to your question but I can recommend an alternative solution. I use Richard D. Worths oh so excellent $.ui.dialog plugin to achieve a very simple version of the litebox effect. its from the jquery ui team. it goes alittle something like this:

[jQuery] Re: help me

2008-10-09 Thread yasantha weerasingha
sry guys.reason is i'm bit weak in english what i want know is i want develop web component that enable drag and drop. i that case i use clone() method to get a copy of that web element, So i need assogn uniqe id to identify that object. after finishing the drag i need save all the id o

[jQuery] blockUI conflicts

2008-10-09 Thread 700lbGorilla
Does anyone know if blockUI has conflicts displaying either jcarousellite or jcarousel galleries? I'm using the jcarousel lite and it works fine, but if I try to use blockUI to display it, the carousel doesn't display. All I was trying to do was display a carousel in a litebox type way. I wanted t

[jQuery] Re: Select all for multiple sections

2008-10-09 Thread bmclaughlin
Thank you both very much. It is a great thing to get two variations on a theme. On Oct 9, 4:44 pm, MorningZ <[EMAIL PROTECTED]> wrote: > This works > > http://paste.pocoo.org/show/87549/ > > On Oct 9, 4:24 pm, bmclaughlin <[EMAIL PROTECTED]> wrote: > > > Hello all, > > I need a "select all" to

[jQuery] Re: Unbind not unbinding

2008-10-09 Thread Dave Methvin
> But using that method would be accepting defeat. That must never happen. :) There's nothing I see there that should break. Is there some other code that tickles those elements?

[jQuery] Re: New jquery website not quite there yet

2008-10-09 Thread Mauricio (Maujor) Samy Silva
HTML: a definition list Text 1 text 1.1 text 1.2 text 1.3 text 1.4 Text 2 text 2.1 text 2.2 text 2.3 text 2.4 ...more dt's dd's.. jQuery script: ... $('dt').click(function() { $(this).selector

[jQuery] Re: JQuery scrollto not working in IE6

2008-10-09 Thread Dave Methvin
> http://hixie.ch/advocacy/xhtml " - The header is optional per Appendix C, and it is recommended not to include it as it causes IE6 to trigger quirks mode. "

[jQuery] Re: Removing google toolbar's autofill yellow

2008-10-09 Thread Dave Methvin
How about assigning classes to them instead of using .css()? This might work: > input[type='text'] { background: #FF !important; } > input[type='text'].erroneous{ background: red !important; } I am thinking that because the second rule is more selective than the first, it should take precede

[jQuery] Jquery website not quite there yet

2008-10-09 Thread Pixeldrummer
My apologies if this post is a duplicate. Couldn't find my first post and noticed the URL I provided was wrong. Just saw the new Jquery website in IE7 and it's unreadable for the most part. At first it loads correctly then, after a longish delay, the styles fall apart. Example: http://docs.jquery

[jQuery] invalide property value in IE

2008-10-09 Thread Cary
Has anyone ever seen this bug? The example comes directly from the jquery website. When you try and use animate to manipulate the color value, you get this error in IE. In Firefox it works fine. Your help is appreciated. Here is the code below: http://www.w3.org/TR/html4/loose.dtd";> http

[jQuery] New jquery website not quite there yet

2008-10-09 Thread Pixeldrummer
Noticed your news about the new jquery website. Please check it in IE7, as some of the CSS is not being applied. The white content background doesn't get applied in most pages, nor does the left navigation background. So, it's extremely hard to read and navigate. Example: http://groups.google.com

[jQuery] Re: Drag/Drop works, but not after loading via a menu into my content div?

2008-10-09 Thread [EMAIL PROTECTED]
Thanks, great help, rebinding was the right solution. I just did not know about binding/rebinding:) On 9 okt, 23:38, BB <[EMAIL PROTECTED]> wrote: > Read > this:http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_st... > I think that is your problem. > > On 9 Okt., 19:44, "[EMAIL

[jQuery] Re: [validate] Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-09 Thread Jörn Zaefferer
You can use metadata, too. Currently barely documented, and not really recommended either, but works since 1.4. Jörn On Thu, Oct 9, 2008 at 5:20 PM, Bob Silverberg <[EMAIL PROTECTED]> wrote: > > Thanks for the quick response. That fixed my problem. > > One more question: > > I'd like to add cu

[jQuery] Re: Drag/Drop works, but not after loading via a menu into my content div?

2008-10-09 Thread BB
Read this: http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_AJAX_request.3F I think that is your problem. On 9 Okt., 19:44, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hi all, > i am a beginner with javascript and finally found out how to drag the > co

[jQuery] am i joined or not?

2008-10-09 Thread Aaron Grogg
why, after receiving the "You are now a member of jQuery (English)." message, do i still receive the "To post a message you must first join this group ." message when trying to post a comment?? thanks, Atg -- Aaron T. Grogg Web Design & Developm

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-09 Thread Vitor Mello
Wonderful piece of work! I'll definitely use it in my current project! But the only thing its missing right now, is the 24-hour format... :P Cheers from Brazil On Oct 9, 12:12 pm, ricardobeat <[EMAIL PROTECTED]> wrote: > Very nice. > > Two little suggestions to add: > > - It (or at least the 2

[jQuery] [validation] Validate on dynamic loaded forms?

2008-10-09 Thread jonr
This does not work: $(document).ready(function() { $("#menu_move_eq").click( function() { $(".hiddenform").hide(); $("#movebox").show(); }) $("#menu_new_equipment").click( function() { $(".hiddenfor

[jQuery] Drag/Drop works, but not after loading via a menu into my content div?

2008-10-09 Thread [EMAIL PROTECTED]
Hi all, i am a beginner with javascript and finally found out how to drag the content (a playingcard) from one div to another one. it works when i load the page and include the content inside a content div, but. Normally i have a indexpage with a content div. I use a menu, which loads stuff in

[jQuery] IE browser logo and jquery?

2008-10-09 Thread asrs63
Hello, I have an asp.net app (2.0, using vs2005), running jquery1.2.x and IE 6.0.2 on a XP box. I am seeing a peculiar behavior pertaining to some of the hyper-links: When i click on the 'submit' button, the IE logo at the top-right-side of the browser starts to rotate (indicating that it's tryi

[jQuery] JQuery scrollto not working in IE6

2008-10-09 Thread yadong
jquery.scrollto does not work in IE6 if my html file defined as: http://www.w3.org/1999/xhtml";> however, if i remove the first line (), it works but our website does not allow me to remove this xml definition, I am just wondering why this line matters. I also tested on any other demo p

[jQuery] UI datepicker: two inline datepickers with range selection

2008-10-09 Thread eternalD
I hope somebody could help me on this. How can I create the two inline datepickers and have range selection between those? So basically combining the ideas behind the "another date range" and "inline date picker". Thanks for your help!

[jQuery] Re: Select all for multiple sections

2008-10-09 Thread MorningZ
This works http://paste.pocoo.org/show/87549/ On Oct 9, 4:24 pm, bmclaughlin <[EMAIL PROTECTED]> wrote: > Hello all, > I need a "select all" to work, and be limited to, multiple sections on > page. > > How many of these sections there will be on a page is not known. > Each section needs its o

[jQuery] Re: Select all for multiple sections

2008-10-09 Thread BB
I would do it like that: Select All Deselect All Item 1 Item 2 Item 3 Item 4 Select All Deselect All Item 1 Item 2 Item 3 Item 4 and the js: $(document).ready(function() { $(".selectAll").click(function() {

[jQuery] Select all for multiple sections

2008-10-09 Thread bmclaughlin
Hello all, I need a "select all" to work, and be limited to, multiple sections on page. How many of these sections there will be on a page is not known. Each section needs its own "select all" trigger. For example: (but how many of these groups there would be would be unknown) Select A

[jQuery] Help combining two small jquery scripts

2008-10-09 Thread illtron
Hi, I posted this a few weeks ago but I didn't get any traction. I've been fumbling with it on and off since then, but I'm not getting anywhere. I figured it couldn't hurt to try again. I think I'm pretty close to getting this to work, but it's not quite there. This is essentially tab functionali

[jQuery] Re: How we can get an element html code?

2008-10-09 Thread BB
Maybe you want to do this with plain Javascript: $("#mydiv")[0].firstChild or: $("#mydiv").contents()[0]; but .contents() get all childNodes from every element: $(".myclass").contents() would get the contents of every matched element (not like .html() wich only returns the innerHTML of the first

[jQuery] Re: simple form not submitting

2008-10-09 Thread ricardobeat
You need to define the action="" attribute in the form so it can be submitted, otherwise it's going nowhere. - ricardo On Oct 9, 11:36 am, ijlal <[EMAIL PROTECTED]> wrote: > hi whats the error wid tese lines of code. the form is not submitting when we > click on go button. i dont want the go but

[jQuery] Re: How we can get an element html code?

2008-10-09 Thread ricardobeat
Why exactly do you need that? You can move elements around without chaning it's code, like in $('#myId').appendTo('.newposition'); You can also clone it and change all of it's attributes, so I don't really see the need to get the elements code. - ricardo On Oct 9, 9:39 am, eudesf <[EMAIL PROT

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-09 Thread Michael Geary
Oh, now I understand. You don't just want to wait *until* the parent container exists - that's a given - you want to run your code only *if* the parent exists. That's an excellent idea. Don't run code if you know you don't need it. You will save both time and memory. Ricardo mentioned a time of

[jQuery] Re: An Interesting Twist on a Pastebin

2008-10-09 Thread Josh Nathanson
Yeah, what a great idea and incredible job by Remy. -- Josh - Original Message - From: pixeline To: Jquery-en Sent: Thursday, October 09, 2008 11:57 AM Subject: [jQuery] An Interesting Twist on a Pastebin guys, we should definitely use this online tool to ask questions. i

[jQuery] Re: I need a media tutorial

2008-10-09 Thread [EMAIL PROTECTED]
Ah - the Flowplayer site does offer more detailed tutorials :D Currently reading http://richbellamy.com/wiki/Flash_Streaming_to_FlowPlayer_using_only_PHP Seriously, I need to learn all this stuff fast! To quote any sci-fi film: "Need more input". Cherry. Sorry about the self-reply :o

[jQuery] Re: An Interesting Twist on a Pastebin

2008-10-09 Thread Rick Faircloth
Looks great! Rick pixeline wrote: guys, we should definitely use this online tool to ask questions. it seems really useful to our mailinglist ! Sent to you by pixeline via Google Reader: An Interesting Twist on a Pastebin

[jQuery] Re: I need a media tutorial

2008-10-09 Thread [EMAIL PROTECTED]
I hadn't seen either of those before - thank you! The Flowplayer works nicely, I think. They both offer a better-looking method than switching iframe or Flash content with javascript - which is what I'm doing at present. But they don't really answer the hole in my knowledge ... See all those dif

[jQuery] An Interesting Twist on a Pastebin

2008-10-09 Thread pixeline
guys, we should definitely use this online tool to ask questions. it seems really useful to our mailinglist ! Sent to you by pixeline via Google Reader: An Interesting Twist on a Pastebin via Ajaxian » Front Page by Rey Bango on 10/9/08 Pastebins have become an important part of sharing code with

[jQuery] Re: I need a media tutorial

2008-10-09 Thread Geert Baven
Try this http://nettuts.com/javascript-ajax/create-a-tabbed-interface-using-jquery/ 2008/10/9 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > Can someone please advise? All of a sudden, I need to embed tons of > media. I carefully read Mike Alsup's Media Plugin (http://malsup.com/ > jquery/media/

[jQuery] Re: Case-insensitive version of :contains(text) ?

2008-10-09 Thread Eric Martin
Something like: [define custom expression here] $(document).ready(function () { [use custom expression here] }); [the rest of your scripts here] -Eric http://www.ericmmartin.com/creating-a-custom-jquery-selector/ On Oct 9, 11:04 am, bdee1 <[EMAIL PROTECTED]> wrote: > this doesn't seem

[jQuery] I need a media tutorial

2008-10-09 Thread [EMAIL PROTECTED]
Can someone please advise? All of a sudden, I need to embed tons of media. I carefully read Mike Alsup's Media Plugin (http://malsup.com/ jquery/media/) and several others, including JWPlayer (http:// jeroenwijering.com/) and jMedia (http://www.contentwithstructure.com/ extras/jmedia) - but I sti

[jQuery] Re: I need a media tutorial

2008-10-09 Thread Geert Baven
or this http://sharebrain.info/brainpicks/scripting/scroll-multiple-videos-with-jqueryscrollablejs/3929/ 2008/10/9 Geert Baven <[EMAIL PROTECTED]> > > Try this > http://nettuts.com/javascript-ajax/create-a-tabbed-interface-using-jquery/ > > 2008/10/9 [EMAIL PROTECTED] <[EMAIL PROTECTED]> > > >>

[jQuery] Re: Case-insensitive version of :contains(text) ?

2008-10-09 Thread bdee1
this doesn't seem to work for me I assume i just add the jQuery.extend business in the head of the HTML file after my jquery include but before my other jquery functions? Karl Swedberg-2 wrote: > > On Oct 19, 2007, at 2:09 AM, Erik Beeson wrote: >> You could add your own expression for it (t

[jQuery] Re: Ajax request Error - please help

2008-10-09 Thread debussy007
I have some new information, if I change the ajax request's type from POST to GET, it works perfectly ... When I use POST type, in firebug's console the url is red and next to it I can see the number 411, by looking on the net, the error must be related to Content-Length ... Anyway I am fine wi

[jQuery] Ajax request Error - please help

2008-10-09 Thread debussy007
Hi, In localhost, all of my ajax request work perfectly, but on the prod server, whenever I try to make an ajax request, the following error appear: (This is the code used to display the error: error: function(xhr, status, ex) { var msg = "Error ajax edit profile :\n\n"; msg +=

[jQuery] Re: I can't understand how work with elemetnts

2008-10-09 Thread Paul Mills
Hi, I'm not clear what you are trying to do in the last example. This may help: 1 - You have mixture of CSS styles and javaScript to control visibility of your elements. It would be easier just to use javascript. Put something like this in document ready and remove the CSS : $(do

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-09 Thread Micky Hulse
Hi Ricardo! Many thanks for the help on this one! Thanks to all of you! :) > That's not something you should worry about unless dealing with > thousands of non-existing elements. Looking for 100 inexistent IDs in > a page takes less than 10ms - that time increases considerably for > other selecto

[jQuery] Re: Unbind not unbinding

2008-10-09 Thread Karl Swedberg
On Oct 8, 2008, at 8:09 PM, Okie wrote: Hmmm I posted a second time after my first post (at 1:45 didn't seem to go through). My first post came in later than my second post, and turned into a reply. Was there a moderation process that I went through? I'm not worried about it. Now I've

[jQuery] Jquery Validate Dependency Callback Error Message?

2008-10-09 Thread alivemedia
I need to make sure that 1 field os less than the other so I am using the dependency callback feature and it's working but I cannot get an error message to display - anyone get this to work? Here is my code: $(document).ready(function(){ $("#AddPartner").validate({ rules: { Gl

[jQuery] simple form not submitting

2008-10-09 Thread ijlal
hi whats the error wid tese lines of code. the form is not submitting when we click on go button. i dont want the go button to be of type submit. i get no errors in firebug js console but still the form is not submited. code: http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> http://ww

[jQuery] Re: wanna implement some of facebook feature

2008-10-09 Thread Muhammad Ijlal Hasnain
try this link. http://mucur.name/posts/jquery-example regards. On Thu, Oct 9, 2008 at 6:49 PM, Davis <[EMAIL PROTECTED]> wrote: > > hi, > > just would like to know if any jquery UI that can implement a facebook > feature. > > as a facebook user, there is a text input area shown "what are you > d

[jQuery] Re: Looking after dropdown menu like's Superfish with RTL support

2008-10-09 Thread Mike Henke
Could I get an working example to see the changes to the css? I have been trying to get the sub menus to float left with the help from this discussion but to no success. Thanks, On Oct 3, 7:00 am, "Joel Birch" <[EMAIL PROTECTED]> wrote: > Nitsan, you are right. I just had a quick experiment wit

[jQuery] How we can get an element html code?

2008-10-09 Thread eudesf
I know that we can get the INNER html of an element with html() function. And also, we can get the parent() element and return this html() function to obtain the html code of the all children of the parent() element. But, how to get only, and only, the html code of the element that we have?

[jQuery] Re: .after not really after

2008-10-09 Thread ricardobeat
DIVs are not allowed inside a table like that anyway, you should be adding another and for the map - right now the browser is figuring it out and doing that job for you. - ricardo On Oct 9, 12:42 am, Johanm <[EMAIL PROTECTED]> wrote: > you're right. thats whats going on. > I didnt have any tab

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread Weyert de Boer
The code works when I am using the val()-method on the form field. On Thu, Oct 9, 2008 at 5:05 PM, ricardobeat <[EMAIL PROTECTED]> wrote: > > The value is in the element, not the parent : > > $("#question_2").change(function() { > var itemValue = $(this).children(':selected').val(); > alert("i

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-09 Thread ricardobeat
That's not something you should worry about unless dealing with thousands of non-existing elements. Looking for 100 inexistent IDs in a page takes less than 10ms - that time increases considerably for other selectors. But that doesn't mean it's the right way to code it. You should have each page

[jQuery] Re: I can't understand how work with elemetnts

2008-10-09 Thread Vic
New problem is founded: I replace list items in example above: List 3 Item 1 List 3 Item 1 List 3 Item 2 List 3 Item 3 List 3 Item 2 List 3 Item 1 List 3 Item 2 List 3 Item 3 List 3 Item 3 List 3 Item 1 List 3 Item 2 List 3 Item 3 And no

[jQuery] Removing google toolbar's autofill yellow

2008-10-09 Thread Dave Novelli
Hi all, I'm attempting to use jQuery to accomplish two things: 1) Remove the yellow background color that is automatically added by google toolbar's autofill feature. 2) Use field highlighting during form validation I know that you can use the following css to override the autofill yellow: inp

[jQuery] Re: [validate] Trouble using rules( "add", rules ) as well as setting attribute for range validations

2008-10-09 Thread Bob Silverberg
Thanks for the quick response. That fixed my problem. One more question: I'd like to add custom error messages to some of my dynamic validations. Is it correct that the only way to add a custom error message to a particular rule is either by: 1. using the form.validate() method 2. using $.val

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-09 Thread ricardobeat
Very nice. Two little suggestions to add: - It (or at least the 2nd/3rd rows) should disappear on mouseout if you want to quit the selection - Could be more responsive on click, there is a rather large delay between the click and the fade-out (+-400ms) - If I click "06" in the first row I want 0

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread ricardobeat
The value is in the element, not the parent : $("#question_2").change(function() { var itemValue = $(this).children(':selected').val(); alert("itemValue=" + itemValue + " >" + this.id); }); -ricardo On Oct 9, 11:01 am, "Weyert de Boer" <[EMAIL PROTECTED]> wrote: > I also have tried item.at

[jQuery] Re: wanna implement some of facebook feature

2008-10-09 Thread Davis
THAT IS WHAT I WANT, THANKS SO MUCH. On Oct 9, 10:38 pm, Donkeybob <[EMAIL PROTECTED]> wrote: > just by using the ole' google, i found these links: > > http://www.appelsiini.net/projects/jeditable > > http://davehauenstein.com/code/jquery-edit-in-place/ > > I haven't tried these but they should h

[jQuery] Re: I can't understand how work with elemetnts

2008-10-09 Thread Vic
thank you, it work but now i have another problem: .selected { display: list-item; } and fideIn() don't work There for I make some changes and all work: -- html file: List 1 Item 1 List 1 Item 2 List 1 Item 3 * List 3 Item 1 List 3 Item 2 List 3 Item 3 * Lis

[jQuery] Re: Getting value of form field

2008-10-09 Thread Weyert de Boer
Hmm, it's only not hiding the -items which are listed while I modifeid the code a bit so

[jQuery] Re: wanna implement some of facebook feature

2008-10-09 Thread Donkeybob
just by using the ole' google, i found these links: http://www.appelsiini.net/projects/jeditable http://davehauenstein.com/code/jquery-edit-in-place/ I haven't tried these but they should help a little. On Oct 9, 9:49 am, Davis <[EMAIL PROTECTED]> wrote: > hi, > > just would like to know if

[jQuery] Re: append mailto link to orphan plain text email address

2008-10-09 Thread skankster
Thank you, Ricardo. Although I don't like to think of dead cats... ;) On 8 Okt., 21:04, ricardobeat <[EMAIL PROTECTED]> wrote: > Here's a quick short function that will do the job: > > $('#deadcat').each(function(){ >     var lnk = $(this).html().replace(/([\w-]+@([\w-]+\.)+[\w-]+)/, ' href="mai

[jQuery] Re: Getting value of form field

2008-10-09 Thread Weyert de Boer
Argh! Again hit by the same issue. Missing #. On Thu, Oct 9, 2008 at 4:17 PM, Weyert de Boer <[EMAIL PROTECTED]> wrote: > I am trying to get the value of a form field so I can construct a > condition for use with eval(). Only I am having trouble to get the > value of the given form field. > The c

[jQuery] Re: Handling $.get answer

2008-10-09 Thread nomen
Hi MorningZ: I think your first approach is better for me. Finally I do: beforedelete: function(NODE)// before delete - should return true | false { $.ajax({ type: "POST", url: "/goicms/admin/removenode", async: false,

[jQuery] Re: Handling $.get answer

2008-10-09 Thread nomen
Hi MorningZ: I think your first approach is better for me. Finally I do: beforedelete: function(NODE)// before delete - should return true | false { $.ajax({ type: "POST", url: "/goicms/admin/removenode", async: false,

[jQuery] Getting value of form field

2008-10-09 Thread Weyert de Boer
I am trying to get the value of a form field so I can construct a condition for use with eval(). Only I am having trouble to get the value of the given form field. The current form field I am trying to get the value from is: a b c

[jQuery] Re: Nubee - concatenating & code help

2008-10-09 Thread ivframes
Thanks! I have managed to fix my code as well: // photo $(".photo").click(function() { $(".jq").hide().load("page.php?p=photo", function() { $(this).slideDown("slow"); }); $("#closerbutton, #editbutton").removeClass().addClass("phox

[jQuery] Re: Replacing colors

2008-10-09 Thread Paul Mills
Hi, This plugin might do what you want. http://plugins.jquery.com/project/moreSelectors I haven't tried it so afraid I can't help with using it. On Oct 9, 9:16 am, Miha <[EMAIL PROTECTED]> wrote: > Hi, > > I am wondering if it is possible to replace specific font color of all > style classes

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread Weyert de Boer
I also have tried item.attr("value") but that didnt work either.

[jQuery] Re: I can't understand how work with elemetnts

2008-10-09 Thread Paul Mills
OK - I understand better now what you want to do. You can use the :eq selector to select an element by index. With 3 elements per they have index of 0,1 and 2. So index 1 is item 2 You can select the second within each by specifying "ul" as the context for the selection. This should do what yo

[jQuery] Re: Clone form fieldset, issues replacing id

2008-10-09 Thread Martin Sarsini
Wow cool! I will try to integrate it now, sounds great by the way, LodgeIt! it's fantastic On Oct 9, 2:42 pm, MorningZ <[EMAIL PROTECTED]> wrote: > It ain't pretty, but it works  :-) > > http://paste.pocoo.org/show/87509/ > > On Oct 9, 8:46 am, Martin Sarsini <[EMAIL PROTECTED]> wrote: > > > Unfo

[jQuery] wanna implement some of facebook feature

2008-10-09 Thread Davis
hi, just would like to know if any jquery UI that can implement a facebook feature. as a facebook user, there is a text input area shown "what are you doing right now?" near top of the page for every logined user. so when mouse click inside that text, it will let you input text with a "Post" but

[jQuery] Re: Clone form fieldset, issues replacing id

2008-10-09 Thread Vic
It was example Now : nel - number of "workfieldset", =1 when page loaded You need create construction like this: nel++; $(fromClone).find("input").each(function() { var s = $(this).attr("name"); s.replace(/([^\[]+)\[0\]/, "$1["+nel+"]"); $(this).attr("name", s); }); And for "label": $(f

[jQuery] Re: [validate] Showing/hiding fields depending on conditions

2008-10-09 Thread Weyert de Boer
Hmm,if I have tried out your code snippet. But I am trying to get the form field values now so I can make eval()-statement of the condition where from the value is then use to do the hide/show-bit. Only I am have trouble to get the form field value of my project. I am using the following code: $

[jQuery] Re: help me

2008-10-09 Thread tlob
make every drag and drop web componet an unique ID in the first place? please specify you problem a bit better so we can help you. please specify your title better, so we can help you. or help yourself: http://docs.jquery.com/UI/Draggables thx tom On Oct 9, 6:05 am, seka <[EMAIL PROTECTED

[jQuery] Re: Clone form fieldset, issues replacing id

2008-10-09 Thread MorningZ
It ain't pretty, but it works :-) http://paste.pocoo.org/show/87509/ On Oct 9, 8:46 am, Martin Sarsini <[EMAIL PROTECTED]> wrote: > Unfortunately it is not that simple. > With your code it simply replaces the id of the fieldset, when I need > that it will go and replace the id of each id an

[jQuery] Re: I can't understand how work with elemetnts

2008-10-09 Thread Vic
Thank you but some problem exists List like this: Item 1 Item 2 Item 3 I need add class "selected" only to one list inem ( first, second, third, and so ). After your help I shall have: Item 1 Item 2 Item 3 Does exists some function in jQuery which get only "i" element from list items? $('ul

[jQuery] Modified ClueTip Not working in IE.

2008-10-09 Thread JeffreyKarbowski
Can anyone tell me why this doesn't work in IE??? JeffreyKarbowski wrote: > > Comparing to original - > > (Line 105) > Original: > var tOffset = parseInt(opts.topOffset, 10), lOffset = > parseInt(opts.leftOffset, 10); > Changed to: > var tOffset = 100, lOffset = -738; > > (Line 302) > Orig

[jQuery] Re: ANNOUNCE: ui.timepickr.js plugin

2008-10-09 Thread George Adamson
Good work, and it has a nice feel to it. I look forward to seeing the 24h and keyboard access todo's sorted! I did something like this a while back for selecting year, month and day. (Yours looks better though!) Because the row of 31 days was so long I arranged them in two rows of 15. I dare say

[jQuery] Re: Clone form fieldset, issues replacing id

2008-10-09 Thread Martin Sarsini
Unfortunately it is not that simple. With your code it simply replaces the id of the fieldset, when I need that it will go and replace the id of each id and name element of each form here is part of my code Place of work

[jQuery] Re: I can't understand how work with elemetnts

2008-10-09 Thread Paul Mills
If you want to remove class 'selected' from elements and add it to others you could use toggleClass. You canthen use fade out before toggling, and fade in afterwards. $("li.selected").fadeOut("slow"); $("li").toggleClass("selected"); $("li.selected").fadeIn("slow"); Paul On Oct 9, 12:53 pm,

[jQuery] Re: Handling $.get answer

2008-10-09 Thread MorningZ
When you call "$.get". it does it *asynchronously*, meaning it goes off and makes the Ajax call but does not wait for it to get back with a result before continuing You have two choices: 1) Use the more general "$.ajax" call and run your remote code synchronously (yuck! you'll potentially ha

[jQuery] Re: Ajax Code Optimization (delay)

2008-10-09 Thread Vic
You can find some information in message box: if(msgBox.children('[EMAIL PROTECTED]/img/icons/email_open.png]').length > 0) // nothing else // post status

[jQuery] Re: Code execution order

2008-10-09 Thread Richard D. Worth
The $.get call is AJAX. The first 'A' in Ajax is for 'Asynchronous'. So when that line is parsed and executed it kicks of a request to the server which will come back at some later point. The javascript interpreter doesn't sit around waiting for it to return. It goes right on with the next line of

[jQuery] I can't understand how work with elemetnts

2008-10-09 Thread Vic
At first sorry for my English I have stupid problem: There is document like that: Item 1 Item 2 Item 3 . Item 1 Item 2 Item 3 . Item 1 Item 2 Item 3 - and css like that: ul.class1 li { dispaly: none; } .selected { display: list-item; } And I have function:

[jQuery] Re: Clone form fieldset, issues replacing id

2008-10-09 Thread Vic
What about this: $(fromClone).attr("id", newId); or $(fromClone).attr("name", newName);

[jQuery] Clone form fieldset, issues replacing id

2008-10-09 Thread Martin Sarsini
If you have in mind the part in facebook where you can add new education experiences or new jobs you will understand better what I am trying to do. The user can click on "add new job" and new fieldsets are added to the form. Each fieldset contains various fields In the code there is always an emp

[jQuery] SerialScroll navigation modification question

2008-10-09 Thread Armand Datema
Hi I am using the serialscroll on my site to page through a news resultset. I am using the naviagation option that automatically turns a given list into the naviagation for this scroller. However I would like to have the link in the ul have a new class when its clicked so I can style this differe

[jQuery] help me

2008-10-09 Thread seka
i need develop drag and drop web componet..for that i need to assign unique id each time i drag a element(eg:div); how can i do it

[jQuery] Replacing colors

2008-10-09 Thread Miha
Hi, I am wondering if it is possible to replace specific font color of all style classes in one step? For example, I have a few classes: .header { color: #F00; } .body { color: #000; } .footer { color: #F00; } Now I would like to replace 'color' value in all classes where it's values i

[jQuery] Ajax onclick optimization

2008-10-09 Thread hykoh
Hello, i want to optimize my code. Example: $(document).ready(function() { $('.message_subject').click(function() { var msgBox = $(this).parent().parent().parent(); var msgID = msgBox.attr('id'); msgBox.find('.message_text').slideToggle('

[jQuery] Handling $.get answer

2008-10-09 Thread nomen
Hi all: I´m new to JQuery, so maybe i´m doing something badly. I have a previously defined javascript tree, i´m rewriting the code to use ajax. This tree has a function beforedelete: function(node) If this function returns false, no node will be deleted in user interface. If sen

[jQuery] Re: local/serial scroll with fades?

2008-10-09 Thread Tom
I would also like an answer to this. Is this possible? On Oct 1, 10:09 am, yabdab <[EMAIL PROTECTED]> wrote: > Hey all, I am hacking around with the > coda-slder...http://jqueryfordesigners.com/demo/coda-slider.html > ...and wondered if there was a simple way to have the panels fade in/ > out as

[jQuery] Ajax Code Optimization (delay)

2008-10-09 Thread hykoh
Hello, i want to optimize my code. Example: $(document).ready(function() { $('.message_subject').click(function() { var msgBox = $(this).parent().parent().parent(); var msgID = msgBox.attr('id'); msgBox.find('.message_text').slideToggle('

[jQuery] Jquery Cycle Dock Pager

2008-10-09 Thread JimmyBTM
does anyone know how to combine the pagers from JQuery Cycle with the effect from JQDock? I want to use Cycle to make a slide show but want the paging effects to look like OSX Dock

[jQuery] Re: Code execution order

2008-10-09 Thread Flint ZA
Fantastic! Thank you :) Do you mind explaining to me why this works like this? On Oct 8, 4:29 pm, Rene Veerman <[EMAIL PROTECTED]> wrote: > > function UpdateList() > > { > >    // Open the xml file > >    $.get("locations.xml",{},function(xml){ > >            // Run the function for each name tag

[jQuery] Validate: minor problem with selects

2008-10-09 Thread Gordon
I'm having a bit of a problem with Validate 1.4 and selects. The problem is a minor one but it is rather irritating so a solution would be nice. :) The problem is that if changing a select changes its validity then the validator doesn't respond to this until the select loses focus. I'd imagine

[jQuery] Re: Best practices: Wait to reference objects? Classes like PHP? How do you stay organized with little overhead?

2008-10-09 Thread Micky Hulse
Hi Michael! Thanks for your reply. :) > If your code runs any time after block of HTML e.g. in a "ready" function or > even in inline code after the HTML, both the parentContianer [sic] and all > of its child elements have already been created. Just grab your references > and run. You advice mak

  1   2   >