[jQuery] div hides ok, but doesn't show up again.

2008-12-04 Thread Polskaya
Hi all, I am trying to load content from another file in several divs on one page. If i use this script: var ct=0; $(".container").each(function () { var id=this.id; $("[id="+id+"]").append("d");//alert('r'); $("#pic"+ct).hide() .load("ajax_getimage.php?url="+id); $("#pic

[jQuery] Re: simple rollover on a tag show or hide div tag in jQuery

2008-10-31 Thread Polskaya
Hi, your thoughts are right. You might look at this plugin, it 'utilizes the power of jQuery selectors by binding events or firing callbacks for matched elements auto-magically, even after the page has been loaded and the DOM updated.' http://blog.brandonaaron.net/2007/08/19/new-plugin-live-query

[jQuery] Re: How do I attach a toggle to a checkbox. I want a table row to fade out/in, when a checkbox is toggled

2008-02-11 Thread Polskaya
d for every checkbox. So give them a dynamic id, with a separator fi: 'go|1' Give the tablerow also a dynamic id, it must be the same number as appears in your checkbox id. Then in the script, get the id from the checkbox, split it, take the number and use it as id for the tablerow to animate. I hope this might help... Polskaya

[jQuery] Re: Can $(document).ready() be put into a separate JS file?

2007-11-26 Thread Polskaya
I don't know why you have this error. This works fine for me: In the header of my index-page: in the jscript.js: $(document).ready(function(){ //--jquery code goes here }); On Nov 26, 5:22 am, Stephen <[EMAIL PROTECTED]> wrote: > Hi, > I have read a few tutorial docs, and they all state th

[jQuery] Re: How to reproduce this effect ?

2007-11-19 Thread Polskaya
Hi, you might want to take a look at jQuery's slideUp and slideDown efect: http://www.codylindley.com/blogstuff/js/jquery/# Example two might get you running... Success :) On Nov 19, 8:47 am, "Armand Datema" <[EMAIL PROTECTED]> wrote: > Hi > > I have to redesign a site to a new cms and Im runn

[jQuery] Re: Toggle all checkboxes, best way?

2007-10-30 Thread polskaya
This is a nice plugin to handle checkboxes, I think: http://www.texotela.co.uk/code/jquery/checkboxes/

[jQuery] Re: Getting Value from Radio Button

2007-10-30 Thread polskaya
oops, sorry for the double post. On Oct 30, 7:36 pm, polskaya <[EMAIL PROTECTED]> wrote: > $('.comp').click(function(){ > alert($('.comp').val()); > > }); > > On Oct 30, 2:31 pm, Snooze <[EMAIL PROTECTED]> wrote: > > > I have a radio

[jQuery] Re: Getting Value from Radio Button

2007-10-30 Thread polskaya
try this: $('.comp').click(function(){ alert($('.comp').val()); }); it alerts 'equal'. On Oct 30, 2:31 pm, Snooze <[EMAIL PROTECTED]> wrote: > I have a radio button defined as: > > > And the following jQuery code: > $('.comp').click(function(){ > alert(reqsearch.compare.value); > > }); > > T

[jQuery] Re: Getting Value from Radio Button

2007-10-30 Thread polskaya
$('.comp').click(function(){ alert($('.comp').val()); }); On Oct 30, 2:31 pm, Snooze <[EMAIL PROTECTED]> wrote: > I have a radio button defined as: > > > And the following jQuery code: > $('.comp').click(function(){ > alert(reqsearch.compare.value); > > }); > > There value it returns is undefine