[jQuery] hidden values associated with options of dropdown

2010-01-08 Thread CreativeMind
Hi, I need the ways to solve the problem. scenario is: I have a dropdown and 4 textboxes, which are filled through a callback function. dropdown has multiple values. on selected index change of dropdown i want to fill the text boxes with associated values. e.g dropdown has list of countries. when i

[jQuery] Re: click event is not working

2010-01-08 Thread CreativeMind
thanx a lot! On Jan 8, 3:07 am, Charlie Griefer wrote: > http://docs.jquery.com/Events/live > > > > On Thu, Jan 7, 2010 at 2:01 PM, CreativeMind wrote: > > hi, > > i'm appending a child div in a parent div. parent div has already > > child d

[jQuery] click event is not working

2010-01-07 Thread CreativeMind
hi, i'm appending a child div in a parent div. parent div has already child div's which have classes ws_c1 and plus. $('').addClass('ws_c1').addClass('plus').appendTo($ ('#'+'parentdiv'+counter)); but when i try to do this $(".ws_c1.plus").click(function() {alert('test');}); It works on other ch

[jQuery] Re: different lengths by IE and ff

2010-01-07 Thread CreativeMind
I resolved the problem by just removing $ from input type. means, appended string rather a jquery object and it works in ie and ff. thanx On Jan 8, 1:01 am, CreativeMind wrote: > Actually this line > $(sourcedropdown).append($(' > jQuery1262891096843="258"> >

[jQuery] Re: different lengths by IE and ff

2010-01-07 Thread CreativeMind
s consumes no space in > > document. CSS visibility isn't taken into account." > > > so, my first question would be, which version of jQuery are you using? > > anything before 1.3.2 won't even return hidden inputs with the > > ":hidden" selector. &

[jQuery] Re: different lengths by IE and ff

2010-01-07 Thread CreativeMind
won't even return hidden inputs with the > ":hidden" selector. > > can you post a test page? > > On Jan 7, 12:48 pm, CreativeMind wrote: > > > Hi, > > I have a dropdown which diplays a companyname with 4 hidden inputs. > > these hidden input values are

[jQuery] different lengths by IE and ff

2010-01-07 Thread CreativeMind
Hi, I have a dropdown which diplays a companyname with 4 hidden inputs. these hidden input values are set in text boxes on selected index change of dropdown. like this var sourcedropdown = $(e.target).parent().parent().children(":nth- child(7)").children().eq(0); $(sourcedropdown).append($('')

[jQuery] Re: clone of div

2010-01-01 Thread CreativeMind
thanx will it give me different div id's? so that i may find any child element on it's parent's div id. like $('#parent').child(0) to get 1st div child and $("#parent1").child(0) will give me cloned div's first child. how can i differentiate between these divs? thanx On Jan 2, 12:43 am, Šime

[jQuery] clone of div

2010-01-01 Thread CreativeMind
i have a parent div with 10 divs and other controls as childrens.. now i've a button which is used to create another parentdiv with all childrens. how can i insert the similar code on each click like .. -the button click should insert the same thing $("#btn").click(function(){ ???.

[jQuery] Values from datatable to generate ul, li

2009-11-23 Thread CreativeMind
hi all! i m using treeview of jquery.. if i provide the formatted html like ul,li,ul,li,/li,/ul,/li,/ul, the plugin works perfect. now i don't have ul,li rather, i've a datatable or collection which contains fields Id,name,parentId,depthlevel how can i generate ul,li list from these fields or is

[jQuery] Re: pages of 8 thumbnails

2009-02-02 Thread CreativeMind
atleast some idea?? On Feb 2, 10:29 pm, CreativeMind wrote: > hi, i need help to divide the images in groups of 8 images..currently > i m showing 20 images in a div 'stripviewer' but now i want to show > them like paging. i click next and g

[jQuery] pages of 8 thumbnails

2009-02-02 Thread CreativeMind
hi, i need help to divide the images in groups of 8 images..currently i m showing 20 images in a div 'stripviewer' but now i want to show them like paging. i click next and get the next 8 image.. if(this.id=='mygalone'){ if($(this).find('li').size()>8){ var t1

[jQuery] click on image doesn't fire event

2009-01-19 Thread CreativeMind
hi all, I hav a slideviewer... which works perfectly when i click on any thumbnail, main image is shown successfully...but i hav put two images (#nextImage,#prevImage) and one counter label..now when i click on next,prev images , sometime they work but not every time.. click event shows as if ima

[jQuery] how to know about previously selected li

2009-01-18 Thread CreativeMind
hi, i m adding a class(e.g tab-selected) in li when i click/select or hover the li, on hover the class is added and removed successfully. but now when i click any other li, class is added successfully, how can i remove the class which was added on previously selected li. how can i know which li wa

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread CreativeMind
wrote: > This should definitely work, with a live test page it would be much > easier to say anything about it. > > What version of jQuery are you using and on which browser does it > occur? > > On Jan 16, 2:48 pm, CreativeMind wrote: > > >  $('li.tabs-selected&

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-16 Thread CreativeMind
i').is('.tabs-selected') > > only tell you if "li" has that class or not, > if you want to select by class do this: > $('li.tabs-selected') > > On Jan 15, 9:11 pm, CreativeMind wrote: > > >  hi, > > here is the html

[jQuery] Re: implemented css class not in html but is in generated html, failed to find

2009-01-15 Thread CreativeMind
hi, here is the html source of a list. Map -- here is the generated html source of a list. Map --- the problem is when i try to find $('li').hasClass('.tabs-selected'), or $('li').is('.tabs-selected') it returns me undefined... but it exists in the generat

[jQuery] implemented css class not in html but is in generated html, failed to find

2009-01-15 Thread CreativeMind
hi, here is the html source of a list. Map -- here is the html source of a list. Map --- the problem is when i try to find $('li span').find('.tabs-selected'), it returns me undefined... but it exists in the generated html..how can i find that class.

[jQuery] Re: .is(":event")

2009-01-15 Thread CreativeMind
http://docs.jquery.com/Events/unbind On Jan 15, 9:24 pm, KidsKilla wrote: > hi everyone! > is there any possibility to find out if there is event binded to the > element? > > some kind of $("#id").is(":event(click)") > > now i'm using $("#id").is("[onclick]"); but it don't works if event is > bi

[jQuery] Re: simple problem

2009-01-08 Thread CreativeMind
when i use the values , they are showing me as if working properly...but when i check them using alert , i can't find any value..

[jQuery] simple problem

2009-01-08 Thread CreativeMind
hi all, i m unable to find the img and its src attribute... when i write alert($(myobj[1][$c]).find('li').html()); i get the output alert($(myobj[1][$c]).find('li').find('a').html()); but when i try alert($(myobj[1][$c]).find('li').find('a').find('img').html()); i get no value or empty val