[jQuery] Re: dynamically change size of select box

2008-07-14 Thread K Bouton
Thanks - worked great. On Jul 11, 8:33 pm, Michael Geary [EMAIL PROTECTED] wrote: Does this work? $('#select_project').html(options).attr({ size: ''+dropsize }); -Mike p.s. I note that you're taking care to use double quotes for your HTML attributes - that's a Good Thing. A

[jQuery] How to create a dynamic parameter in getJSON url?

2008-07-11 Thread K Bouton
How do I add a dynamic parameter in getJSON url? [code] function onSelectChange(){ var whatChecked = $(input:checkbox:checked).val(); $.getJSON(select.php, {whatChecked:somevalue}, function(json) { ...stuff to do } [/code] I want the url that getJSON uses to be dynamic and look

[jQuery] dynamically change size of select box

2008-07-11 Thread K Bouton
How do I dynamically change size of select box depending on the number of responses retreived froma getJSON [code] $.getJSON(select.php, {project:% }, function(json){ var dropsize=json.length +2; var options = ; options += 'option value=%All Projects/option';

[jQuery] Re: How to create a dynamic parameter in getJSON url?

2008-07-11 Thread K Bouton
That did it - Thanks! On Jul 11, 6:19 pm, Leandro Vieira Pinho [EMAIL PROTECTED] wrote: Hi, Try something like it: .. var urlJSON = select.php?param=value; $.getJSON(urlJSON, function(json) { ...stuff to do } On Jul 11, 12:34 pm, K Bouton [EMAIL PROTECTED] wrote: How

[jQuery] Re: link stops working in fragment returned from ajax depending on select

2008-02-05 Thread K Bouton
Anyone have any suggestions. I have tried liveQuery and I have tried it with the Forms plugin but I just can not get the first set of returned links to act as links after the second set of data has been returned. To see it in action http://ncas-cms.nerc.ac.uk/data/startFiles/anim_overlay.php

[jQuery] Re: link stops working in fragment returned from ajax depending on select

2008-01-30 Thread K Bouton
are not bound anymore, since you replaced the DOM information. You can either rebind events with running a rebind function, or you can use live jQueryhttp://brandonaaron.net/docs/livequery/ Should fix your problem. -Kyle On Jan 29, 6:08 am, K Bouton [EMAIL PROTECTED] wrote: I have two dropdown

[jQuery] link stops working in fragment returned from ajax depending on select

2008-01-29 Thread K Bouton
I have two dropdown boxes, which, when clicked, return via ajax some information in a div. Inside that information is are multiple links. When I click on the left select- the links in the div below work fine. If I refresh and click on the right select- the links in the div below work fine. So

[jQuery] Re: link stops working in fragment returned from ajax depending on select

2008-01-29 Thread K Bouton
More info - the links work as expected in IE 7.0.x but not Firefox 2.0.x

[jQuery] using jqueryimpromptu plugin and submit with validation

2008-01-10 Thread K Bouton
I am a jquery newbie who is trying to use the jquery impromptu plugin to create an ok/Cancel button which does some validation before it submits. I currently have a working form which uses a standard javascript confirm prompt - but I want it to be fancier -smile. This is what I have - how do I

[jQuery] Re: cluetip and clicking on href

2008-01-03 Thread K Bouton
Happy New Year. Hope you had a good holiday. Your new version was exactly whatI wanted. Perfect Thanks! K On Dec 21 2007, 4:25 pm, Karl Swedberg [EMAIL PROTECTED] wrote: Hi K, Thanks for the feedback and for the clear description of the problem you're having with the clueTip plugin. It was

[jQuery] cluetip and clicking on href

2007-12-21 Thread K Bouton
I have cluetip working - love it. Easy to set up and use. I have a calendar you hover over a day and if fetches a remote page with events into the cluetip. Perfect. But... I also want the user to be able to click on the day and go to the events page, but ti doesn't seem to work. script

[jQuery] tabs, cookies and keeping state

2007-08-08 Thread K Bouton
I am using Klaus' tabs plugin with ajaxform and tabs remote:true. What I am trying to do is have a user login, then set up tabs based on their database profile. Each tab is a remote tab to a separate php page which requires a parameter to be passed in eg the file the tab call is