Re: [jQuery] $(ul li a).hover

2010-01-14 Thread Dhruva Sagar
are children (not necessarily direct children) of li elements which inturn are children of ul eliments which are children of an element with className as test. Thanks Regards, Dhruva Sagar. On Fri, Jan 15, 2010 at 8:23 AM, J jesseparent...@gmail.com wrote: Hi, Im new to jquery. I have

Re: [jQuery] ajax form plugin submit button

2010-01-06 Thread Dhruva Sagar
Please give us a demo page or code which can help us debug the problem. Thanks Regards, Dhruva Sagar. On Thu, Jan 7, 2010 at 12:36 PM, Alex alex.kasu...@googlemail.com wrote: Hello everyone, I have a problem submitting a form tag with submit buttons. many of the scripts used

Re: [jQuery] jQuery Selector Help

2009-12-22 Thread Dhruva Sagar
I would suggest you to wrap the sections within * into a div and select that div. Thanks Regards, Dhruva Sagar. On Tue, Dec 22, 2009 at 6:29 PM, Mike Walsh mike_wa...@mindspring.comwrote: Long time listner, first time caller ... I am struggling with a selctor and am hopeful someone can

Re: [jQuery] How to get the float direction of an element?

2009-12-18 Thread Dhruva Sagar
$(this).css('float') Thanks Regards, Dhruva Sagar. On Fri, Dec 18, 2009 at 3:21 PM, ximo wallas igguan...@yahoo.com wrote: Hi there, does anybody knows how to get the float direction of an element? If I do this: $(this).attr('style') I will get all the styles, but I just want to get

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] rotate/loop using jquery

2009-12-15 Thread Dhruva Sagar
') == 'red' ) $(tr_id).css(background-color,yellow); else if ( $(tr_id).css('background-color') == 'yellow' ) $(tr_id).css('background-color', 'green'); else $(tr_id).css('background-color', 'red'); }); Thanks Regards, Dhruva Sagar. On Tue

Re: [jQuery] Re: rotate/loop using jquery

2009-12-15 Thread Dhruva Sagar
No problem, happens with all of us :) Thanks Regards, Dhruva Sagar. On Tue, Dec 15, 2009 at 9:39 PM, Glen_H glen.f.he...@gmail.com wrote: yeah, you are right, it appears as though i may have over thought it. thanks for the response! It worked perfectly btw. thanks again. Glen

Re: [jQuery] validate australian date

2009-12-14 Thread Dhruva Sagar
Check out www.datejs.com it's a great library to deal with any kinds of dates Thanks Regards, Dhruva Sagar. On Tue, Dec 15, 2009 at 8:49 AM, buRn bgen...@gmail.com wrote: Hi does anyone know how to validate australian date? I only have the normal date validation and want to have

Re: [jQuery] How do I write an express to access all radio button elements?

2009-12-09 Thread Dhruva Sagar
$('input[type=radio]') Thanks Regards, Dhruva Sagar. On Wed, Dec 9, 2009 at 9:03 PM, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I'm trying to access all radio button elements with this expression .. var expr = $(element[type='radio']); but the experts among you

Re: [jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Dhruva Sagar
, if that doesn't work this should : $('.work').css('opacity', 0.6').children().each(function(){ $(this).css('opacity', '1'); }); } Thanks Regards, Dhruva Sagar. On Mon, Dec 7, 2009 at 8:50 AM, Greg Tarnoff greg.tarn...@gmail.com wrote: The problem is in the way browsers render opacity

Re: [jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Dhruva Sagar
I complete agree with Nivanka :). Didn't think of that :D Thanks Regards, Dhruva Sagar. On Mon, Dec 7, 2009 at 9:21 AM, Nivanka fonseka...@gmail.com wrote: Rather than setting the opacity from a javascript I prefer if you can do it in your CSS. .work div{ opacity: 1 !important

Re: [jQuery] Re: Opacity for background, but not for the element inside

2009-12-06 Thread Dhruva Sagar
@Nivanka but that presents a problem that I need to know the child elements of .work before hand. If the DOM is dynamic, it might not be that simple. But I still agree that your approach is better in the given context. Thanks Regards, Dhruva Sagar. On Mon, Dec 7, 2009 at 9:21 AM, Nivanka

Re: [jQuery] Spellchecker plugin

2009-12-04 Thread Dhruva Sagar
Cool, appreciate the effort, I will check it out soon and give you my feedback. Thanks Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 3:37 PM, Richard W willis...@gmail.com wrote: Hi jQuery users I have pretty much finished my simple spellchecker plugin (barring additional functionality

Re: [jQuery] Autcomplete extraParams usage

2009-12-04 Thread Dhruva Sagar
You can get it in PHP as $_REQUEST['id'] Thanks Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 8:06 PM, .. cognizantst...@gmail.com wrote: I want to pass some value (other than that i type in text box) when i am using autcomplete . for that i am using extraParams and passing

Re: [jQuery] Can you limit selector to only search within current element?

2009-12-04 Thread Dhruva Sagar
()); }); }); event.preventDefault(); }); }); Thanks Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 3:33 AM, TehNrd jason.vena...@gmail.com wrote: I am pretty new to jQuery

Re: [jQuery] Change opacity for all divs except one

2009-12-04 Thread Dhruva Sagar
Have all the divs have a class name eg.) thumbs When the user selects his favorite remove this class name from the particular div and apply your opacity logic to $('div.thumbs'), so that way the favorite one would not be changed. Thanks Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 3:12 AM

Re: [jQuery] Simple modal plugin - problem with setting focus in modal window

2009-12-04 Thread Dhruva Sagar
Perhaps you need to call focus() in the callback of fadeIn(150) ? Thanks Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 5:53 AM, Igor Benko igor.be...@gmail.com wrote: Hi all, I have this weird problem I just can't find a way to solve. I'm using simpleModal plugin as login window and I

Re: [jQuery] Automagically link http(s)://, mailto: etc in String

2009-12-03 Thread Dhruva Sagar
Of course it's possible :). All you need to do is know a little bit of regular expressions that's pretty much it, you could use simple javascript as well if you like. Thanks Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 6:09 AM, Scott Wilcox sc...@tig.gr wrote: Hello Folks, I'm usually

Re: [jQuery] An effect like press75's Massive News theme

2009-12-03 Thread Dhruva Sagar
the mouse goes out... Thanks Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 7:01 AM, Omer omer.l...@gmail.com wrote: Greetingz people, check this out: http://www.press75.com/demos/massive-news/ I like the effect happens when you hover one of the four featured articles on the top

Re: [jQuery] [validate]

2009-12-02 Thread Dhruva Sagar
that jQuery provides which enables you to be able to bind events even to such dynamically generated nodes, but I am not sure if you can make use of that for this validate() call. Thanks Regards, Dhruva Sagar. On Wed, Dec 2, 2009 at 3:21 PM, 123gotoandplay wesweatyous...@gmail.comwrote: Hi

Re: [jQuery] error essage: css is not a function

2009-12-02 Thread Dhruva Sagar
Clearly boxes[i] is not a jQuery object. you should try $(boxes[i]).css perhaps Thanks Regards, Dhruva Sagar. On Thu, Dec 3, 2009 at 1:04 AM, hsfrey hsf...@gmail.com wrote: I'm using the following code: var boxes = $('.resizable').get(); // get divs as array

Re: [jQuery] super easy jquery question

2009-12-01 Thread Dhruva Sagar
$('#subject').val(); Thanks Regards, Dhruva Sagar. On Tue, Dec 1, 2009 at 1:41 PM, mike msher...@gmail.com wrote: After I have processed a user request from a form submittal, I want to remove the text from a text input field. With JQuery, how do I do that? The input field has the id

Re: [jQuery] does JQuery have browser bookmarklet development support??

2009-12-01 Thread Dhruva Sagar
!'. It's pretty simple, hope you understand. Thanks Regards, Dhruva Sagar. On Wed, Dec 2, 2009 at 11:33 AM, greghauptmann greg.hauptm...@gmail.comwrote: Hi I want to development some browser bookmarklets (e.g. for firefox, IE, safari) but I'm not sure where to start. As an example of what

Re: [jQuery] insert date in a table

2009-11-23 Thread Dhruva Sagar
); }); }); /script Thanks Regards, Dhruva Sagar. On Mon, Nov 23, 2009 at 4:07 PM, Alfredo Alessandrini alfreal...@gmail.comwrote: Hi, I need to insert the time in a table like this: script type=text/javascript var Date=new Date(); jQuery(document).ready(function

Re: [jQuery] How to apply blur function to two classes?

2009-11-18 Thread Dhruva Sagar
(numChildrenElt.val())); } // if $('#' + eltPrefix + 'TotalInParty').val(total); }); Thanks Regards, Dhruva Sagar. On Wed, Nov 18, 2009 at 9:29 PM, laredotorn...@zipmail.com laredotorn...@zipmail.com wrote: Hi, I have to apply an onblur function

Re: [jQuery] Problems with writing into input fields

2009-11-18 Thread Dhruva Sagar
.) Are you sure that the variables c_chosen_id cat_name have been updated appropriately as per your needs before you set the values of the inputs ? Thanks Regards, Dhruva Sagar. On Wed, Nov 18, 2009 at 9:41 PM, heohni heidi.anselstet...@consultingteam.de wrote: Hi, I have a small script which

Re: [jQuery] problem adding event after ajax post

2009-11-14 Thread Dhruva Sagar
table input').each(function() { $(this).click(function(){ alert('I am here'); }); }); Thanks Regards, Dhruva Sagar. On Sun, Nov 15, 2009 at 9:34 AM, nevadaMedicaid mrosenb...@dhcfp.nv.govwrote: $.post(''strutseventname', $('form:first').serialize

Re: [jQuery] Calling function in jQuery

2009-11-09 Thread Dhruva Sagar
'); } })(jQuery); Then later in other jQuery blocks (although you will have to ensure that your previously defined block has been already included) you can call your function simply by using $.function_name(); Thanks Regards, Dhruva Sagar. On Mon, Nov 9, 2009 at 4:27 PM, Murali Krishna B

Re: [jQuery] i need help

2009-11-07 Thread Dhruva Sagar
({ 'top': (y*10), 'left': (x*10) }); Thanks Regards, Dhruva Sagar. On Sun, Nov 8, 2009 at 3:42 AM, bryre papata mr.jsn...@googlemail.comwrote: i am making an ant game, and i have a problem: var x,y; for(x = 1; x = 10; x = x + 1){ images[x

Re: [jQuery] Why this code don't work

2009-11-04 Thread Dhruva Sagar
specifically that could allow you to identify the inputs created from jquery uniquely. Thanks Regards, Dhruva Sagar. On Thu, Nov 5, 2009 at 5:56 AM, ReynierPM rper...@uci.cu wrote: Dhruva Sagar wrote: Great :) Hi again Dhruva: I have one more question regarding this topic. How I can delete

Re: [jQuery] Why this code don't work

2009-11-03 Thread Dhruva Sagar
value= size=50 / divinput type=submit value=Buscar !!! //div /form a href= id=clicyAdicionar criterio de búsqueda ()/a | a href= id=clicoAdicionar criterio de búsqueda (||)/a /body /html * *Thanks Regards, Dhruva Sagar. Ted Turner http://www.brainyquote.com/quotes/authors/t/ted_turner.html

Re: [jQuery] Why this code don't work

2009-11-03 Thread Dhruva Sagar
=clicyAdicionar criterio de búsqueda ()/a | a href= id=clicoAdicionar criterio de búsqueda (||)/a /body /html Thanks Regards, Dhruva Sagar. Stephen Leacockhttp://www.brainyquote.com/quotes/authors/s/stephen_leacock.html - I detest life-insurance agents: they always argue that I shall some day die, which

Re: [jQuery] Why this code don't work

2009-11-03 Thread Dhruva Sagar
Great :) Thanks Regards, Dhruva Sagar. Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. On Wed, Nov 4, 2009 at 9:09 AM, ReynierPM rper...@uci.cu wrote: Dhruva Sagar wrote: A minor mistake

Re: [jQuery] Why this code don't work

2009-11-02 Thread Dhruva Sagar
You should be doing $('#word').after('label for=word2/labelinput type=text name=word2 id=word2 value= size=50 /'); append() would add your HTML code as a child of that input, hence you will not get the desired results. Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com

Re: [jQuery] Why this code don't work

2009-11-02 Thread Dhruva Sagar
, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you live every day of your life. On Tue, Nov 3, 2009 at 8:53 AM, ReynierPM rper...@uci.cu wrote: Dhruva Sagar wrote: You should be doing $('#word').after('label for=word2/labelinput type=text name

Re: [jQuery] Need help using JQuery selectors

2009-11-02 Thread Dhruva Sagar
Bracket's don't match in your javascript code. The *if($(caller).css(display) == none) { *-- bracket is not closed. Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right, but I am never

Re: [jQuery] Why this code don't work

2009-11-02 Thread Dhruva Sagar
false; }); }); // ]] /script /head body label for=wordTexto:/label input type=text name=word id=word value= size=50 / a href= id=anotherAdicionar criterio/a /body /html This will achieve what you want. Thanks Regards, Dhruva Sagar. Joan

[jQuery] Re: ENTER

2009-10-28 Thread Dhruva Sagar
The following is an example how to do what you want in jQuery. $('#divid').bind('keydown', function(e) { if (e.which == 13) { $('#secondid').focus(); return false; } }); Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes

[jQuery] Re: fadein is not a function?

2009-09-30 Thread Dhruva Sagar
Did you even look at jQuery's site ?the function is fadeIn with a capital 'I' example : $(selector).fadeIn(slow); Thanks Regards, Dhruva Sagar. Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything I earn, I spend

[jQuery] Re: fadein is not a function?

2009-09-30 Thread Dhruva Sagar
Np, it happens to everyone, sorry for being a bit harsh :). Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Thu, Oct 1, 2009 at 10:09 AM, jessie mi

[jQuery] Re: this.reset() doesn't work

2009-09-16 Thread Dhruva Sagar
this piece of code in the document ready function. Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. On Wed, Sep 16, 2009 at 1:45 PM, pritisolanki pritiatw...@gmail.com wrote: Hi, I

[jQuery] Re: Loop over all input elements in form

2009-09-16 Thread Dhruva Sagar
This should help : $('form input').each(function() { alert(this.name); alert($(this).val()); }); Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you live every day of your life. On Wed, Sep 16, 2009 at 3:26 PM

[jQuery] Re: Loop over all input elements in form

2009-09-16 Thread Dhruva Sagar
Alertnatively just for your reference these are also some ways to get what you desire : $('form').each(function(){ $(this).children('input').each(function(){ alert(this.name); alert($(this).val()); }) }); Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp

[jQuery] Re: Jquery document .ready function throwing object expected

2009-09-15 Thread Dhruva Sagar
Are you sure that the src paths are all correct ? Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. On Tue, Sep 15, 2009 at 4:24 PM, Vardhini vardhini...@gmail.com wrote: Thanks

[jQuery] Re: Autocomplete plugin - customization

2009-09-14 Thread Dhruva Sagar
Hi, Which autocomplete plugin are you using ? Thanks Regards, Dhruva Sagar. Mike Ditka http://www.brainyquote.com/quotes/authors/m/mike_ditka.html - If God had wanted man to play soccer, he wouldn't have given us arms. On Mon, Sep 14, 2009 at 1:57 PM, Althalos g...@ekdahlproduction.com wrote

[jQuery] Re: Why would this code cause this error in IE?

2009-09-12 Thread Dhruva Sagar
You should use the keyword 'var' before each variable. Thanks Regards, Dhruva Sagar. Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. On Sat, Sep 12, 2009 at 3:33 PM, Rick Faircloth r

[jQuery] Re: Color Animations Cookie

2009-08-31 Thread Dhruva Sagar
Use the jquery.cookie plugin to save it as a parameter in cookie and onload / document.ready check the cookie if its set, if set use the configuration otherwise use default. Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you

[jQuery] Re: Date Text Entry Plugin?

2009-08-28 Thread Dhruva Sagar
using this along with jQuery. Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. On Fri, Aug 28, 2009 at 9:07 AM, Grant McLean gr...@mclean.net.nz wrote: uery plugin for date entry. I

[jQuery] Re: $.each cannot iterator my array

2009-08-28 Thread Dhruva Sagar
You have initiallized myArray['somestring'] = new Array();should you be doing $.each(myArray['something'], function() {...}); ? Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right

[jQuery] Re: Getting XML info problem

2009-08-25 Thread Dhruva Sagar
In your code, did you try and do an alert(xml) inside the success handler function (xml) to see if its getting the right content? Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Dhruva Sagar
Perhaps you should use amp; instead of a plain .You can always replace it back with after you have got the data if you really need. Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Dhruva Sagar
Your right, its my mistake, I realized only after I saw Liam Potter's mail.You need to url encode it just as he said or replace it with %26, again just as Liam Potter said. Thanks Regards, Dhruva Sagar. Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan

[jQuery] Re: Problem with Ajax Cross-Domain

2009-08-25 Thread Dhruva Sagar
LOL! I never saw that Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 25, 2009 at 3:51 PM, Liam Byrne l...@onsight.ie wrote: Shouldn't it be http

[jQuery] Re: Problem with Ajax Cross-Domain

2009-08-24 Thread Dhruva Sagar
about the error, haven't seen it before, but I think I would really like to know myself! Thanks Regards, Dhruva Sagar. Ted Turner http://www.brainyquote.com/quotes/authors/t/ted_turner.html - Sports is like a war without the killing. On Tue, Aug 25, 2009 at 7:09 AM, Michael Geary m...@mg.to

[jQuery] Re: How to move tab from left to right?

2009-08-23 Thread Dhruva Sagar
On the tab click event, remove the tab and append(to the end) it to the tabs holder div. Thanks Regards, Dhruva Sagar. Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. On Sun, Aug 23, 2009 at 12

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
down box, the text box will get populated with the selected value. Thanks Regards, Dhruva Sagar. Marie von Ebner-Eschenbachhttp://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html - Even a stopped clock is right twice a day. On Fri, Aug 21, 2009 at 10:37 AM, Tan itqn2

[jQuery] Re: Simplemodal close confirm

2009-08-21 Thread Dhruva Sagar
Seems like your using the SimpleModal jQuery plugin.I am not sure what happens after you call $.modal.close(); does that remove() the dialog from the DOM? or does it change the #content in any way? Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
Well, I re-read your HTML, and I see that the 'id' of the text box you have mentioned is 'edit-field-sourc-0-value', please just make sure the spellings of the 'id' of the text field are right, exactly as you have in your HTML Thanks Regards, Dhruva Sagar. Jonathan Swifthttp

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
In fact you have to re-check the *id* of both the 'select' box and the 'text-box'.It should work if these two are correct. Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html - I'm willing to admit that I may not always be right, but I am

[jQuery] Re: Having a problems with $.post() and external .js files

2009-08-21 Thread Dhruva Sagar
'{', '}' are in correct order above. But more importantly I hope you get the idea... Thanks Regards, Dhruva Sagar. Ted Turner http://www.brainyquote.com/quotes/authors/t/ted_turner.html - Sports is like a war without the killing. On Fri, Aug 21, 2009 at 2:52 PM, m...@polyvisual.co.uk m

[jQuery] Re: Replace select with it's value.

2009-08-21 Thread Dhruva Sagar
It is possible.This is a pseudocode : $('table').children('select').each(function(){ $(this).parent().append($(this).val()); $(this).remove() //you could do .hide() if you just want to hide them }); Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes

[jQuery] Re: Dynamic AJAX call on element show()/toggle()

2009-08-21 Thread Dhruva Sagar
would be to simple have hidden fields with that data within the div's. Hope it helps, or you might have to be a little more specific perhaps. Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up

[jQuery] Re: jquery-DatePicker

2009-08-21 Thread Dhruva Sagar
add some hover() functionality as per your needs Thanks Regards, Dhruva Sagar. Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. On Fri, Aug 21, 2009 at 7:18 PM, tola tolaadet...@gmail.com

[jQuery] Re: Is this sytax legitimate?

2009-08-19 Thread Dhruva Sagar
. Thanks Regards, Dhruva Sagar. On Wed, 2009-08-19 at 13:41 -0400, Rick Faircloth wrote: $('.menu1').append($('#favorites').html()); I get no errors in firebug when it’s run, but not code appended to .menu1, either

[jQuery] Re: Is this sytax legitimate?

2009-08-19 Thread Dhruva Sagar
Glad it helped :), the sequence problem is something that has caught me off guard quite a few times :).Hope you've worked it all out. Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you live every day of your life. On Thu, Aug

[jQuery] Re: need help with logic

2009-08-19 Thread Dhruva Sagar
a bit of details, for example if your working in Ruby on Rails and your submitting the data to the controller where your doing the actual search, then from there you can easily redirect to the search action page... Give a bit more details and I could help you more. Thanks Regards, Dhruva Sagar

[jQuery] Re: Using $.ajax to post XML to an aspx page

2009-08-19 Thread Dhruva Sagar
: xmlDocument, success: handleResponse }); Perhaps that is what your looking for? Thanks Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Thu, Aug 20, 2009 at 9:12 AM, Jules

[jQuery] Re: How to refresh a single div with the data using .ajax

2009-08-18 Thread Dhruva Sagar
' Thanks Regards, Dhruva Sagar. Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. On Tue, Aug 18, 2009 at 4:24 PM, Charlie charlie...@gmail.com wrote: $.load() lets you get specific elements

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Dhruva Sagar
I think this is what you are looking for data = eval ( '(' + data + ')' ); Thanks Regards, Dhruva Sagar. Jonathan Swifthttp://www.brainyquote.com/quotes/authors/j/jonathan_swift.html - May you live every day of your life. On Wed, Aug 12, 2009 at 3:18 PM, Mark johanns.m...@gmail.com wrote

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Dhruva Sagar
Well because it is an object.If you using firefox you should try alert(data.toSource()); after you've done the eval. But also to keep in mind like Liam Potter suggested you should use $.getJSON and you wont have to do the eval. Thanks Regards, Dhruva Sagar. Samuel Goldwynhttp

[jQuery] Re: JSON how to transform an object into an array?

2009-08-12 Thread Dhruva Sagar
Also to note, after you have eval 'ed it, you can then access the data in this manner as per your data structure : data[0].id, so on Thanks Regards, Dhruva Sagar. Joan Crawfordhttp://www.brainyquote.com/quotes/authors/j/joan_crawford.html - I, Joan Crawford, I believe in the dollar. Everything

[jQuery] Re: Refresh DIV with full page refresh

2009-08-11 Thread Dhruva Sagar
Regards, Dhruva Sagar. Ogden Nash http://www.brainyquote.com/quotes/authors/o/ogden_nash.html - The trouble with a kitten is that when it grows up, it's always a cat. On Tue, Aug 11, 2009 at 6:28 PM, bharani kumar bharanikumariyer...@gmail.com wrote: Hi All , How to refresh DIV , without

[jQuery] Re: help needed retrieving json data with jquery

2009-08-07 Thread Dhruva Sagar
It should be json[i].title as per your json. Thanks Regards, Dhruva Sagar. On Fri, 2009-08-07 at 09:38 -0700, efet wrote: There is not a single clear example that explains how to pull json data as simple as possible. I

[jQuery] Re: Problem with sorting after dragging.

2009-07-27 Thread Dhruva Sagar
Hi, Have you tried using the connectToSortable option for draggable? Thanks Regards, Dhruva Sagar. On Mon, 2009-07-27 at 00:21 -0700, freq wrote: Hi, I'm using Jquery to both Drag (and drop) and sort a visual list

[jQuery] Re: Catch Exception

2009-07-23 Thread Dhruva Sagar
(data); }); }); }); Thanks Regards, Dhruva Sagar. Charles de Gaullehttp://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html - The better I get to know men, the more I find myself loving dogs. On Thu, Jul 23, 2009 at 11:27 AM, Kris-I kris.i@gmail.com wrote

[jQuery] Re: Getting link ID

2009-07-23 Thread Dhruva Sagar
Inside the click event handler, the id's should be available using this.idor $(this).attr('id') Thanks Regards, Dhruva Sagar. Pablo Picassohttp://www.brainyquote.com/quotes/authors/p/pablo_picasso.html - Computers are useless. They can only give you answers. On Thu, Jul 23, 2009 at 4:44 PM

[jQuery] Re: Superfish How to programatically unexpand menus.

2009-07-21 Thread Dhruva Sagar
the ajax call on click event? Thanks Regards, Dhruva Sagar. Stephen Leacockhttp://www.brainyquote.com/quotes/authors/s/stephen_leacock.html - I detest life-insurance agents: they always argue that I shall some day die, which is not so. On Tue, Jul 21, 2009 at 12:11 PM, JC systeminthegli

[jQuery] Re: Superfish How to programatically unexpand menus.

2009-07-20 Thread Dhruva Sagar
In the click event, you should also perhaps set the display css of the menu as none so that it hides again. Thanks Regards, Dhruva Sagar. Ted Turner http://www.brainyquote.com/quotes/authors/t/ted_turner.html - Sports is like a war without the killing. On Tue, Jul 21, 2009 at 10:42 AM, JC

[jQuery] Re: Selector help

2009-07-19 Thread Dhruva Sagar
Hi, Perhaps your missing a space? $('this h1'), or $('this ' + 'h1') What I don't understand is, why are you trying to concatenate two strings when you don't need to? Thanks Regards, Dhruva Sagar. On Sat, 2009-07-18