[jQuery] ignore particular colomns while sorting in tablesorter plugin 1.0x

2008-02-06 Thread Potluri
atlantanot yet rated I'm still continuing to use table sorter 1.0x plugin in my application and for some reasons we didn't migrate to latest version. Can any one of you tell me what to make change in plugin to make this work. Thanks in advance. --vijay potluri -- Vie

[jQuery] how to make page onload quicker

2008-01-23 Thread Potluri
ows are less than 200. If the row count is 400 the page just freezes and the whole onload is taking 8-11 secs. Can anyone of you can help me in reducing it to <3 secs. It'll be grateful. Thanks in advance. Vijay Potluri -- View this message in context: http://www.nabble.com/how-to-mak

[jQuery] Re: Problem with each()

2007-10-15 Thread Potluri
Hi I dont undrestand what ur trying to do exactly. but from my understanding ur trying to take the html value of duration class ans increment it by 1 and then again put back the html value like... 1 2 3 4 So after looping it should be 2 3 4 5 Is this what ur trying to do. Ur loop will do exac

[jQuery] Re: problem with cookie plugin when trying to store array object in cookie

2007-09-25 Thread Potluri
yObject,"&")); > > Now our cookie is set, now we want to grab it again: > > var tempSiteData = $.cookie('myCookie'); > > now we turn our querysting (fname=benjamin&lname=sterling) > > myObject = queryStringToObject(tempSiteData); >

[jQuery] I tried this but I got an error

2007-09-25 Thread Potluri
where tempRows is array of objects */ getSetCookies(false); tempRows = getSetCookies(true); alert(tempRows.length) // which should return 2 When I tried to do this I got following error. $.iLogger has no properties in funtion getSetCookies. Do I need to have some plugin to remove this error. Po

[jQuery] Re: Can we store array of objects into cookie

2007-09-25 Thread Potluri
e.message, 'error', > > 'getSetCookies();'); > > }; > > }; // end : getSetCookies I've doubt like do I need to use only getSetCookies function to get and set the object of array from cookie. or As of my assumption getSetCookies(false) should be

[jQuery] Re: problem with cookie plugin when trying to store array object in cookie

2007-09-25 Thread Potluri
rray of objects. Waiting for your response. Thanks in advance. Regards, Vijay Potluri bmsterling wrote: > > You can't store an Object/Array into a cookie, you will get the result you > are currently seeing. The code I provided with convert your object into a > querystring, which ca

[jQuery] Can we store array of objects into cookie

2007-09-25 Thread Potluri
Hi, I'm having trouble storing array of objects into cookie like var arr = []; arr.push({index:1,name:"vijay"}); arr.push({index:2,name:"krish"}); When I'm trying to store array of objects into cookie usin g jquery cookie plugin like $.cookie("arrCookie",arr);, It's not storing array object b

[jQuery] Re: problem with cookie plugin when trying to store array object in cookie

2007-09-25 Thread Potluri
){ > $sitedata = queryStringToObject(tempSiteData); > } > else{ > $.cookie($cookieName, objectToQueryString($sitedata,"&"), > $cookieParams); > } > } > else{ >

[jQuery] problem with cookie plugin when trying to store array object in cookie

2007-09-25 Thread Potluri
I don't see this is a problem with cookie plugin in particular but this is problem with cookie itself. Suppose this is the array var arr = []; arr.push({name:"vj",rollNo:10}); arr.push({name:"kr",rollNo:15}); The size of arr is 2 before storing in cookie I tried to store this array object in a

[jQuery] is there any way to create common object for all checkboxes?

2007-09-21 Thread Potluri
I've multiple checkboxes of different type on my html like a1 a2 a3 a4 b1 b2 b3 b4 . c1 c2 c3 c4 . I'm creating common object for all of this checkbox object like var $checkBoxObject = $("[EMAIL PROTECTED] ^= 'category_'] [EMAIL PROTECTED]'checkbox']"); checkBoxO

[jQuery] Re: get all checkboxes

2007-09-20 Thread Potluri
$("[EMAIL PROTECTED]'checkbox'[EMAIL PROTECTED]'my_']") will give all checkboxes object notebook2 wrote: > > > > Hello, > > is it possible in prototype to get all checkboxes on a page with a fixed > id namepart like this: > > ID="my_checkbox" > > and i want to get all checkboxes begi

[jQuery] Effiecint way to create an object for checkboxes onload

2007-09-19 Thread Potluri
var $barFeaturesCheckBoxObject = $(".refSearchBarFeaturesForm [EMAIL PROTECTED]'checkbox']"); barFeaturesCheckBoxObject=$barFeaturesCheckBoxObject[0]; Annoyingly this initialition is taking 4-5 secs... I think I'm not doing is in efficient way..I want to take this in

[jQuery] jquery looping is slow

2007-09-18 Thread Potluri
Hi, looping with jquery is quite slow, but still I want to continue with jquery looping(not custom looping) for reasons I can't explain right now. In my scenario I've to loop through rows of table and update the sequence of rows on table dynamically. suppose I've table with id "tableId".

[jQuery] Re: compare two arrays

2007-08-29 Thread Potluri
I know another easy way to do this with only one loop but not in jquery way. var arrayA=[1,2,3,4,5] var arrayB=[1,b,c,1,2] for(var i=0;i > >> From: Potluri >> >> Is there a jquery way to compare two arrays without looping. >> >> like I have an array1 [a

[jQuery] compare two arrays

2007-08-28 Thread Potluri
Is there a jquery way to compare two arrays without looping. like I have an array1 [a,b,1,2,3] and array2 [b,c,d,11 ]. Is there a way like array1.compare(array2). which returns true if atleast one element among the 2 arrays matches. Straight answers are appreciated. Regards, Vijay Potluri

[jQuery] Re: Trouble Deleting Table Rows

2007-08-22 Thread Potluri
I would be more helpful if you have given me table format. I suppose ur table is of this format. blah blah blah try this.. if( $('#tableId tbody tr#ticket_10192').length ) { // element Exists, delete it $('#tableId tbody tr#ticket_10192').remove();

[jQuery] add class to row object of table

2007-08-20 Thread Potluri
Hi, My table format is this some data some data some data some data I have a small issue which might be easy for jquery pros. Initially I'm saving up all the table rows as suggested by George(Thanks to him) in my previous post like. for( var i = 0, n = trows.length; i < n; ++i

[jQuery] Re: hide table rows when we type in text box

2007-08-20 Thread Potluri
> better luck using them on the TR. > > It's fairly easy to make this code 20 times faster by writing straight DOM > code, but the code is more dependent on on the actual DOM structure. > > Just for fun, I posted an example with about 1250 rows in the table: > >

[jQuery] Re: hide table rows when we type in text box

2007-08-19 Thread Potluri
tructure. > > Just for fun, I posted an example with about 1250 rows in the table: > > http://mg.to/test/potluri/rower.html > > Type some text into the Slow box and the Fast box to compare the timings. > > The JavaScript code is in: > > http://mg.to/test/potluri/rowe

[jQuery] hide table rows when we type in text box

2007-08-19 Thread Potluri
Hi everyone, Thanks for everyone who responded for my previous queries. Here is an assignment which I feel challenging for our for our jquery guys. for table with 500 rows. I don't want to use any plugin for this. Well the task is when we type some thing in a text box it has to show only thos

[jQuery] Re: How to check multiple checkboxes checked at a time

2007-08-19 Thread Potluri
ed)") which returns true if all are > unchecked (Note the ! at the beginning). > > Your second request is easy: To know whether at least one is checked > use $("#id1,#id2,#id3").is(":checked") which returns true if any are > checked.. > > George > &g

[jQuery] Re: problem looping through table rows in IE

2007-08-19 Thread Potluri
7;s not working for my stuff. Do you have any idea, if it breaking it should break for sorting too right if my table is invalid?. But that selector works for sorting plugin. Pleas let me know if you have some idea why it's happening like this. Potluri wrote: > > Hi every one, >

[jQuery] How to check multiple checkboxes checked at a time

2007-08-18 Thread Potluri
Hi, Is there a way to check a multiple check boxes checked at a time like. Is there a way to check like $("#id1,#id2,#id3").attr("checked"); should return true if all of them is checked. and also is there a way to return true if atleast one of them is checked like $("#id1||#id2||#id3").

[jQuery] store checkbox id's in array object.

2007-08-18 Thread Potluri
Hi, I'm using this method to store id's of checked checkboxes in array object like $("[EMAIL PROTECTED]'checkbox']:checked").each( function() { arrayName.push(this.id); } ); it works but above way takes .656 secs for storing in array object with 50 checkboxes. Is there a 1 line way to store id

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Potluri
s instead, that should work. > > ...or use Geneshjii's advice and see if you can't speed that up > instead. > > Having class="srRow" on every tr and doing $('tr.srRow', > '#srTable>tbody') looks to me like a good mix. > > Good luc

[jQuery] Re: How to show Updating container

2007-08-18 Thread Potluri
Thanks a lot Ganesh, It works for me. I've beenworking a lot on this. Regards, Vijay Potluri Ganeshji Marwaha wrote: > > try something like this... > > $("#some_table_name").click(function() { >$("#rs_loading").show(function() { > someFu

[jQuery] Re: problem with selector in IE

2007-08-18 Thread Potluri
wrote: > > i don't see why the selector needs to be that complex. > > I would do it this way... > > $("#srTable tr").each(function() { >alert("test"); > }); > > > -GTG > > > > On 8/17/07, Potluri <[EMAIL PROTECTED]>

[jQuery] Re: problem looping through table rows in IE

2007-08-18 Thread Potluri
Thats really surprising, the same code doesn't work for me but works for you. No I dont have IE in quirks mode. Does that make a difference?. Do you know any other way to make this work. Thanks. Olaf wrote: > > > Potluri schrieb: > >> Can you please help me out in ho

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Potluri
uot;#srTable")---this selects entire tbody of table but when I'm trying to select rowsof tbody using / like $(">tbody:first/tr","#srTable").each();, it doesn't work in IE but works excellent in firefox. Can you please help me out in how to make it work in

[jQuery] Re: problem looping through table rows in IE

2007-08-17 Thread Potluri
s to what's > going on before someone can help you out. > > -Original Message- > From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Potluri > Sent: Friday, August 17, 2007 3:13 PM > To: jquery-en@googlegroups.com > Subject: [jQuery] problem lo

[jQuery] problem looping through table rows in IE

2007-08-17 Thread Potluri
Hi every one, Please help me out in solving this problem. I face this only in IE, I've table with id="srTable", so I'm looping through the table rows using selector $("> tbody:first/tr","#srTable") .each(function(){}); , the table has only one tbody with multiple rows in it. Please post

[jQuery] Re: problem with selector in IE

2007-08-17 Thread Potluri
browsers. Thats the bottom line. Thnaks any way.. Stephan Beal-3 wrote: > > > On Aug 17, 7:36 pm, Potluri <[EMAIL PROTECTED]> wrote: >> >> >> a1 >> a2 >> a3 >> a4 >> >> > > This isn't legal HTML. TR elements can on

[jQuery] Re: How to show Updating container

2007-08-17 Thread Potluri
So whats the alternative for this to work... there should be definitely a alternative... Stephan Beal-3 wrote: > > > On Aug 17, 6:36 pm, Potluri <[EMAIL PROTECTED]> wrote: >> function() >> { >> $("#rs_loading").show(); >> >> someFuncTORef

[jQuery] problem with selector in IE

2007-08-17 Thread Potluri
wer which works right away. Thanks in advance. Regards, Vijay Potluri -- View this message in context: http://www.nabble.com/problem-with-selector-in-IE-tf4287169s15494.html#a12204040 Sent from the JQuery mailing list archive at Nabble.com.

[jQuery] How to show Updating container

2007-08-17 Thread Potluri
Hi, I have a problem like when checkbox is clicked it refines the rows of table and then finally shows only those results which for which checkboxes are checked. My problem is until the refinement is done it should show some pop_up container to appear and then hide as soon as refinement is compl