[jQuery] Re: load(), cache and IE8

2009-07-23 Thread LexHair
Works like a champ!! Thanks so much. On Jul 23, 9:48 am, MorningZ wrote: > Add a random query string parameter onto the url of the .load() call > (see the code for the AutoComplete plugin for an example) > > On Jul 23, 9:37 am, LexHair wrote: > > > I have a table which

[jQuery] load(), cache and IE8

2009-07-23 Thread LexHair
I have a table which has an image, an icon and some text in each cell. I can click an icon in the table cell firing a $.get which delinks (deletes) the image from the server. The table is refreshed with a load () call in the callback function. I use the load() call since I'm only interested in loa

[jQuery] Re: [autocomplete]

2009-06-15 Thread LexHair
How about this? (#hidden is the id of the hidden input field you want to fill in.) $('#autocomplete').autocomplete({serviceUrl:'/your_directory/ your_file.php', onSelect: function(value, data){ $('#hidden').val(data); } }); On Jun 12, 5:22 pm, shaded wrote: > im

[jQuery] jQuery Cache and AJAX question

2009-06-09 Thread LexHair
I store a jQuery object ($remove=$(’img.remove’);) in global space at document(ready). Later in the script, I use an AJAX get call which removes one of the images with that class and reloads the div container. The reload has a callback function which needs the number of elements with the 'remove'

[jQuery] Re: Selector Help

2009-01-20 Thread LexHair
7;); > >         if($$.is(':checked')) { >                 $text[0].value = 'Email Checked'; >                 $text[1].value = 'Contact Checked'; >         } >         else >                 $checkbox.val(''); > > }); > > On

[jQuery] Selector Help

2009-01-18 Thread LexHair
I have a table structure with a multiple rows containing a checkbox input and 4 text inputs with distinct classes. I want to prefill two of the text inputs in the same row where the checkbox is checked. Example code for the first two rows: I nee