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

2010-01-14 Thread Dhruva Sagar
select anchor nodes (a), which 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 wrote: > Hi, > > Im

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 wrote: > Hello everyone, > > I have a problem submitting a form tag with submit buttons. many of > the scripts used in that page req

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 wrote: > Long time listner, first time caller ... > > I am struggling with a selctor and am hopeful someone can help

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 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

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 wrote: > Hi, i'm having some trouble be

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 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. >

Re: [jQuery] rotate/loop using jquery

2009-12-15 Thread Dhruva Sagar
_id).css('background-color') == 'red' ) $(tr_id).css("background-color","yellow"); else if ( $(tr_id).css('background-color') == 'yellow' ) $(tr_id).css('background-color', 'green');

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 wrote: > Hi does anyone know how to validate australian date? I only have the > normal date validation and want to have th

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 = $("

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, Niv

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 wrote: > Rather than setting the opacity from a javascript I prefer if you can > do it in your CSS. > > .work div{ > opacity: 1 !im

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

2009-12-06 Thread Dhruva Sagar
//I am actually not very sure about the above code, 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

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 wrote: > Hi all, > > I have this weird problem I just can't find a way to solve. I'm using > simpleModal plugin as logi

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, 2

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

2009-12-04 Thread Dhruva Sagar
h(function(i){ alert($(this).html()); }); }); event.preventDefault(); }); }); Thanks & Regards, Dhruva Sagar. On Sat, Dec 5, 2009 at 3:33 AM, TehNrd wrote: > I am

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, .. 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 i

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 wrote: > Hi jQuery users > > I have pretty much finished my simple spellchecker plugin (barring > additional funct

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

2009-12-03 Thread Dhruva Sagar
when the mouse goes out... Thanks & Regards, Dhruva Sagar. On Fri, Dec 4, 2009 at 7:01 AM, Omer 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 th

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 wrote: > Hello Folks, &

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 wrote: > I'm using the following code: > >var boxes = $('.resizable').get(); // get divs a

Re: [jQuery] [validate]

2009-12-02 Thread Dhruva Sagar
; function 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 wrote: > Hi, &

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

2009-12-01 Thread Dhruva Sagar
saying 'Hi!'. It's pretty simple, hope you understand. Thanks & Regards, Dhruva Sagar. On Wed, Dec 2, 2009 at 11:33 AM, greghauptmann wrote: > Hi > > I want to development some browser bookmarklets (e.g. for firefox, IE, > safari) but I'm not sure where to sta

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 wrote: > After I have processed a user request from a form submittal, I want to > remove the text from a text field. With JQuery, how do I do > that? The i

Re: [jQuery] insert date in a table

2009-11-23 Thread Dhruva Sagar
;/td></tr>"); }); }); Thanks & Regards, Dhruva Sagar. On Mon, Nov 23, 2009 at 4:07 PM, Alfredo Alessandrini wrote: > Hi, > > I need to insert the time in a table like this: > > > > >var Date=new Date(); > >

Re: [jQuery] Problems with writing into input fields

2009-11-18 Thread Dhruva Sagar
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, > >

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

2009-11-18 Thread Dhruva Sagar
if (parseInt(jQuery.trim(numChildrenElt.val())) > 0) { total += parseInt(jQuery.trim(numChildrenElt.val())); } // if $('#' + eltPrefix + 'TotalInParty').val(total); }); Thanks & Regards, Dhru

Re: [jQuery] problem adding event after ajax post

2009-11-14 Thread Dhruva Sagar
ng like this : $('#divId 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 wrote: > $.post(''st

Re: [jQuery] Calling function in jQuery

2009-11-09 Thread Dhruva Sagar
ction'); } })(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, Mu

Re: [jQuery] i need help

2009-11-07 Thread Dhruva Sagar
] css() accepts a hash : $('#hi').css({ 'top': (y*10), 'left': (x*10) }); Thanks & Regards, Dhruva Sagar. On Sun, Nov 8, 2009 at 3:42 AM, bryre papata wrote: > i am making an ant game, and i have a problem: > > >

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

2009-11-04 Thread Dhruva Sagar
ere is any way 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 wrote: > Dhruva Sagar wrote: > >> Great :) >> >> > Hi again Dhruva: > I have one more que

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

2009-11-03 Thread Dhruva Sagar
Great :) Thanks & Regards, Dhruva Sagar. Marie von Ebner-Eschenbach<http://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 wrote: > Dhruva Sagar wrote: >

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

2009-11-03 Thread Dhruva Sagar
d + '" value="" size="30" /><br/>'); return false; }); $('#clico').click(function(){ var id = "word" + $('input[type!=hidden]').length; var hid = "hw" + $('input[type=hidden]').length; $('input[type=submi

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

2009-11-03 Thread Dhruva Sagar
den]').length; var hid = "hw" + $('input[type=hidden]').length; $('input[type=submit]').before('<br/><input type="hidden" name="'+hid+'" id="'+hid+'" value="||"/><label for="'

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

2009-11-02 Thread Dhruva Sagar
t;></label><input type="text" name="' + id + '" id="' + id + '" value="" size="50" />'); return false; }); }); // ]]> Texto: Adicionar criterio This will achieve what you want. Thanks &am

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 Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> - "I'm w

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

2009-11-02 Thread Dhruva Sagar
abel for="word2"></label><input type="text" name="word2" id="word2" value="" size="50" />'); }); }); // ]]> Texto: Adicionar criterio Thanks & Regards, Dhruva Sagar.

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

2009-11-02 Thread Dhruva Sagar
You should be doing $('#word').after(''); 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 Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> - &q

[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 Swift

[jQuery] ajaxsubmit a form onchange i.e. when we change the value of select box

2009-10-06 Thread Sagar
Hi, I want to ajax submit the form when I change the value of the dropdown menu... I have been using the following code... but it's not working. I am using jQuery form plugin Please help me out... it's very urgent. Thanks a lot.. :) -Sagar Snippet

[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 a

[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 Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html> - "I, Joan Crawf

[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 Saga

[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 Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> - "May you live every day of your life."

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

2009-09-16 Thread Dhruva Sagar
e put this piece of code in the document ready function. Thanks & Regards, Dhruva Sagar. Pablo Picasso<http://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 wrot

[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 Picasso<http://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 wrote:

[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, Altha

[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 Gaulle<http://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, 2

[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 Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html>

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

2009-08-28 Thread Dhruva Sagar
Can you give some sample code I could test or somethign ?? Thanks & Regards, Dhruva Sagar. Joan Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html> - "I, Joan Crawford, I believe in the dollar. Everything I earn, I spend." On Fri, Aug 28, 2009 at 4:0

[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 Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> - "I'm willing

[jQuery] Re: Date Text Entry Plugin?

2009-08-28 Thread Dhruva Sagar
want using this along with jQuery. Thanks & Regards, Dhruva Sagar. Pablo Picasso<http://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 wrote: > uery plugin fo

[jQuery] Re: how to pass php variable with load?

2009-08-25 Thread Dhruva Sagar
hanks & Regards, Dhruva Sagar. On Tue, 2009-08-25 at 07:12 -0700, Enoch wrote: > I am trying to load a php page into DIV B when DIV A is dropped on it. > > My question is: > how do I pass a variable with my jquery load. > > this is what I have: > > .bind( "d

[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 wrote: >

[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 Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html

[jQuery] Re: AJAX and ampersand

2009-08-25 Thread Dhruva Sagar
Perhaps you should use & 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 Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> - "I'm willing t

[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 Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> - "Computers are useless. They can only g

[jQuery] Re: Problem with Ajax Cross-Domain

2009-08-24 Thread Dhruva Sagar
e a very good idea 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, Au

[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-Eschenbach<http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html> - "Even a stopped clock is right twice a day." On

[jQuery] Re: jquery-DatePicker

2009-08-21 Thread Dhruva Sagar
add some hover() functionality as per your needs Thanks & Regards, Dhruva Sagar. Charles de Gaulle<http://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,

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

2009-08-21 Thread Dhruva Sagar
s back, for that you could again have several solutions, one 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/author

[jQuery] Re: jquery-DatePicker

2009-08-21 Thread Dhruva Sagar
Can you please explain/elaborate the use case?Ideally you would simply get 1 date from the database which you can set to the input box to which you have bound the datePicker. Thanks & Regards, Dhruva Sagar. Samuel Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html&

[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 Swift<http:/

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

2009-08-21 Thread Dhruva Sagar
or').change(onSelectorChange); function onPost() { $("#searchbox").html(data); $('.selector').change(onSelectorChange); } I hope the syntax & the bracket '{', '}' are in correct order above. But more importantly I hope you get the idea...

[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 Goldwyn<http://www.brainyquote.com/quotes/authors/s/samuel_goldwyn.html> - "I'm willing to a

[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, D

[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 Picasso<http://www.brainyquote.com/quotes/au

[jQuery] Re: add value from listbox to textbox

2009-08-21 Thread Dhruva Sagar
option in the select drop down box, the text box will get populated with the selected value. Thanks & Regards, Dhruva Sagar. Marie von Ebner-Eschenbach<http://www.brainyquote.com/quotes/authors/m/marie_von_ebnereschenbac.html> - "Even a stopped clock is right twice a day."

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

2009-08-19 Thread Dhruva Sagar
e, data: 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.&quo

[jQuery] Re: need help with logic

2009-08-19 Thread Dhruva Sagar
that, then you will have to give 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 mo

[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 Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> - "May you live every day of

[jQuery] Re: Is this sytax legitimate?

2009-08-19 Thread Dhruva Sagar
ll get weird results. 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 fireb

[jQuery] Re: Is this sytax legitimate?

2009-08-19 Thread Dhruva Sagar
it should etc...try checking if the .html() is returning the right data, then check if it is actually getting appended using firebux, after you have reached that stage and confirmed the same check if the styles are right... Thanks & Regards, Dhruva Sagar. Pablo Picasso<http://www.brain

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

2009-08-18 Thread Dhruva Sagar
want instead of the complete 'data' Thanks & Regards, Dhruva Sagar. Charles de Gaulle<http://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 w

[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 Crawford<http://www.brainyquote.com/quotes/authors/j/joan_crawford.html> - "I, Joan Crawford, I b

[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 Gol

[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 Swift<http://www.brainyquote.com/quotes/authors/j/jonathan_swift.html> - "May you live every day of your life." On Wed, Aug 12, 2009 a

[jQuery] Re: Refresh DIV with full page refresh

2009-08-11 Thread Dhruva Sagar
e. 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 11, 2009 at 6:28 PM, bharani kumar < bharanikumariyer...@gmail.com>

[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 a

[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)

[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 Picasso<http://www.brainyquote.com/quotes/authors/p/pablo_picasso.html> - "Computers are useless. They can only give you answers.&

[jQuery] Re: Catch Exception

2009-07-22 Thread Dhruva Sagar
else $("#myFormDOFF").html(data); }); }); }); Thanks & Regards, Dhruva Sagar. Charles de Gaulle<http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html> - "The better I get to know men, the more I find myself lovi

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

2009-07-20 Thread Dhruva Sagar
making the ajax call on click event? Thanks & Regards, Dhruva Sagar. Stephen Leacock<http://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

[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

[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 & Re

[jQuery] Problem with jcarousel ( how to enable multiple columns )

2009-03-24 Thread Sagar Arya
Hi , I have problem related to jcarousel multiple columns. right now there's only one column showing. I need 3 columns to be displayed . Demo site: http://sorgalla.com/projects/jcarousel/examples/static_vertical.html... How do i add one more column to display the pictures. ? Can anyone help m

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Geees.. Cheers ! Aryan On Thu, Jan 15, 2009 at 5:19 PM, Liam Potter wrote: > > I see it now, and I also noticed you put it in style tags, you should use > script tags > > > > That's how you would include a script. > > Sagar Arya wrote: > >> Oops.. t

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
M, Liam Potter wrote: > > Those 3 examples are exactly the same? > Also, they are double quotes, not doube codes. > > Sagar Arya wrote: > >> Hello, >> This completely works fine.. How ever it was a v v v v vv simple >> mistake >> when i include the .j

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
IE and FF Please make sure that there is no single damn space between double codes.. because the IE sucks more when it sees that.. Thanks a lot for everyone, who helped me realize this... Hof Cheers ! Aryan On Thu, Jan 15, 2009 at 3:44 PM, Sagar Arya wrote: > Hello,I am very

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Hello,I am very sorry.. I am not supposed to publish the code.. Cheers ! Sagar On Thu, Jan 15, 2009 at 3:28 PM, jQuery Lover wrote: > > Is it possible to have your page published somewhere? > > > Read jQuery HowTo Resource - http://jquery-howto.blogspot.com >

[jQuery] Re: IE Problem with (function($)

2009-01-15 Thread Sagar Arya
Hello, Yes I included the jQuery file before the colorpicker.js file. And it works fine in Mozilla and chrome.. but it doesn't turn up in IE. Cheers ! Sagar On Thu, Jan 15, 2009 at 3:03 PM, jQuery Lover wrote: > > Well, it says jQuery is undefined. Have you put your jqu

[jQuery] Re: IE Problem with (function($)

2009-01-13 Thread Sagar Arya
an 13, 2009, at 5:54 PM, Ricardo Tomasi wrote: > > > You're missing a parenthesis when closing the anonymous function: > > }(); should be })(); > > And I'm guessing '$' is there for jQuery, so that should actually be > > })(jQuery); > > - ricardo >

[jQuery] Re: IE Problem with (function($)

2009-01-13 Thread Sagar Arya
may be i should check with the other files and let you know... thanks for the information.. Cheers ! Aryan On Tue, Jan 13, 2009 at 7:06 PM, Karl Swedberg wrote: > I'm not seeing anything obvious. Taking a stab in the dark here ... I've > received a similar error in the past when a reference to on