[jQuery] Re: Check checkbox based on ID list

2008-08-24 Thread GLP
Something like this perhaps ? I do this based on the value attribute, if it's on = check it. The 'data' part is JSON. It's should be easy to convert this to an array. It's actually a workaround for IE troubles I have: $.each(data, function(){ var myid='#check'+

[jQuery] Re: Appreciation

2008-08-25 Thread GLP
Huh, what Javascript groups :) ?? I learned much more about JS reading this group and playing with jQuery than anything else. Besides a few good links to explain that associative arrays really don't exist in JS but you can use them anyway, never needed much more. This is indeed a fine place to

[jQuery] Re: Replace multiple select box options with images

2008-08-25 Thread GLP
Images in in option lists are not conform HTML standards and won't work if you stick to them. You need a solution to mimic the behavior of an optionlist using style sheets and use of tags like for example. There are a few different approaches to find about here. P schreef: > I have a select b

[jQuery] Re: Seat reservation using jquery

2008-08-20 Thread GLP
I think you want to take a look at Jquery Air example: http://www.digital-web.com/extras/jquery_crash_course/ Pankaj schreef: > Hi, > > I am working on an application where I need to book online seats. For > that i need to first populate my page with the seat info (ie: how many > seats are vacan

[jQuery] Re: Can I have multiple $(document).ready() calls in a single page?

2008-08-20 Thread GLP
Hello Matt, I'm doing it all over the place, I think to recall to have read that this is not an issue at all. Give it a try I would suggest and make up your own conclusions. I just know for sure , for me it works without problems. Glenn Matt Wilson schreef: > I've got a bunch of form widgets

[jQuery] Re: delayed action

2008-08-21 Thread GLP
You probably need something like this at the top of the javascript to make setTimeout work under IE: // IE fix, the following don't work in IE6 or IE7 // See: http://webreflection.blogspot.com/2007/06/simple-settimeout-setinterval-extra.html // trackIntervalId = window.setInterval(funct

[jQuery] Re: how to get json or xml to be datasource of autocomplete

2008-08-22 Thread GLP
Something like this could work (quick code scraps here) The html part: (This will give you an input box and a button next to it to do full lookups, once you start typing the onkeyup/onblur events will complete accordingly. ( the href here is how I designed buttons using text when hovered over

[jQuery] Re: getJSON timing problem (probably a simple newbie problem)

2008-08-22 Thread GLP
Just load your JSON data as early as possible. What are you waiting for to not load the data immediately after the 'document is ready' ? cbandes schreef: > Hi - > > I have a simple json file which contains a list of key/path pairs, the > idea is that I will use this to update the links in a nav