[jQuery] Checking to see if a SWF is fully loaded

2008-12-05 Thread Mike Miller
Hi, Need to find a way to use jquery to check whether or not a swf has been fully loaded before executing a javaScript function. M

[jQuery] Subheadings in tables

2008-10-22 Thread Mike Miller
Hi am trying to find ways to do this easily with jquery but so far have not found much for what I am looking for. What I would like is an easy way to add subheadings to a table when I perform a sort on the table. The tablesorter plugin works great for sorting the data...but what I would like to

[jQuery] Table grouping

2008-10-21 Thread Mike Miller
Hi am looking to see if there is an easy way to do the following with jquery. I have values in a table and I want to have the table group data depending on the value of one of my columns. For instance let's say my data looks like this: Type Name Fruit Apple Fruit Pear Veggie

[jQuery] selecting id's with similar names

2008-09-19 Thread Mike Miller
Hi..am trying to accomplish the following: I have several input elements on my page...there are a few that I want to alter and their id's follow a similar pattern from a naming convention: id=SOMETHING-fieldname Is there a way to select / filter all of the input elements on the page to only

[jQuery] sortable, draggable and droppable compared with plugin tablednd

2008-09-12 Thread Mike Miller
Hi can anyone tell me if the jquery ui functions sortable, draggable and droppable can be applied to tables? Similar to what the tablednd plugin does? M

[jQuery] Help populating an array via JSON

2008-02-04 Thread Mike Miller
Hi, I have a javascript function as follows: function StateSuggestions() { this.states =[]; $j.getJSON(client/ajax/getMedList.php, function(data){ alert(inside getJSON + data.length); this.states = data; alert(this.states.length); //Value says 10 for (i = 0;

[jQuery] Re: Help populating an array via JSON

2008-02-04 Thread Mike Miller
will be executed without regard to the returned data. What you can do is abstract the code where you are working with the this.states array into a separate function, and then call this abstracted function from the getJSON callback. -- Josh - Original Message - From: Mike Miller [EMAIL

[jQuery] Convert new lines to br

2007-09-18 Thread Mike Miller
Are there any jquery functions that can take a text value and convert any newlines to br tags?

[jQuery] trouble with textarea values

2007-08-28 Thread Mike Miller
Hi, I am trying to do the following: I have a textarea on a page. I want to preserve the text that has been previously entered in the text box. My solution has been to do the following: function commentHistory() { var originalText = $j(#act_progress).text();

[jQuery] Re: trouble with textarea values

2007-08-28 Thread Mike Miller
(); origVal = $j(#originalText).text(); newVal = curVal + \n\n + origVal; $j(#act_progress).val(newVal); alert(newVal); } On Aug 28, 8:41 am, Mike Miller [EMAIL PROTECTED] wrote: Hi, I am trying to do the following: I have

[jQuery] Order of execution with onclick and click

2007-08-27 Thread Mike Miller
Hi, I have an html element that has an onclick attribute set which calls a couple of JS functions. Using jquery I am adding a click event to the same element. Can anyone tell me what the expected execution of js functions will be? ex: element id=el1 onclick=jsfunction1 /

[jQuery] Re: Create excel file from table data

2007-08-10 Thread Mike Miller
; name='excel'); header(Content-Disposition: filename=export.xls); header(Pragma: no-cache); header(Expires: 0); Glen On 8/8/07, Mike Miller [EMAIL PROTECTED] wrote: Hi, Am wondering if this is possible with ajax and jquery. I have a table that contains data I would like to export

[jQuery] Create excel file from table data

2007-08-09 Thread Mike Miller
Hi, Am wondering if this is possible with ajax and jquery. I have a table that contains data I would like to export to excel. Is it possible using the .ajax() method to post the table data (e.g. $ (#tableid)) to the php page on the backend and have it return an excel file? I plan on using the

[jQuery] Nested Tables Question

2007-08-07 Thread Mike Miller
Hi, I need to find a quick way to determine whether or not table elements on the page have any children table elements...as I want to change the style class of the innermost table. Any ideas on how best to do this? M

[jQuery] Nested Tables

2007-08-07 Thread Mike Miller
Hi, I am trying to find a way to determine whether or not a particular table element has a child table element. If it does not have any children tables I want to change the class of the table. If it does have children table elements I do not want to do anything. Any ideas? M

[jQuery] Re: Anything similar to IE's table.moveRow in jquery?

2007-08-02 Thread Mike Miller
or, to look back up the DOM for a table ... var _find = $('#formelement'); while(!_find.is('table')){ _find = _find.parent(); } ...but I would recommend putting another test in this loop, just in case #formelement doesn't have a table above it! Mike Miller-13 wrote: Hi, Thanks for the tip

[jQuery] Re: Anything similar to IE's table.moveRow in jquery?

2007-08-02 Thread Mike Miller
(table eq:(0)) I get a reference to the main table containing all of the nested tables...however when using the find...it is finding rows within the nested table. Is there a way to make the find pertain only to the parent? Mike On Aug 2, 10:44 am, Mike Miller [EMAIL PROTECTED] wrote: Sam...what

[jQuery] rowIndex property

2007-08-02 Thread Mike Miller
I need to know how to access the rowIndex property of a row in a table and I want to assign that to a javascript variable: Something like: var a = $(#tableRow).

[jQuery] Re: Anything similar to IE's table.moveRow in jquery?

2007-08-02 Thread Mike Miller
, Klaus Hartl [EMAIL PROTECTED] wrote: Klaus Hartl wrote: Mike Miller wrote: Ok...so this is working somewhat...the issue I see now is that the find() in the plugins are finding the wrong row. My table structure looks like this: table - row1 - cell 1 -table row 2

[jQuery] Re: Anything similar to IE's table.moveRow in jquery?

2007-08-02 Thread Mike Miller
('table:eq(0)').moveRow(myIndex, myIndex- someNumber, true) Mike On Aug 2, 1:46 pm, Klaus Hartl [EMAIL PROTECTED] wrote: Mike Miller wrote: Thanks for this...it truly is amazing what jquery can do. A quick question for you though regarding the index property. If I want to make this more

[jQuery] Re: Anything similar to IE's table.moveRow in jquery?

2007-08-01 Thread Mike Miller
PROTECTED] wrote: Or for more detailed movement: $('tr:eq(3)').insertBefore('tr:eq(1)'); or $('tr:eq(2)').insertAfter('tr:eq(5)'); Note: the numbers are the row count - beginning at 0 (zero) for the first row. Lookup the jquery :xxx qualifiers for more options. On Jul 31, 4:16 am, Mike

[jQuery] Anything similar to IE's table.moveRow in jquery?

2007-07-30 Thread Mike Miller
Haven't been able to find any documentation so far that talks about how to move rows around with jquery. Don't really need to sort the whole table...rather I want to move one row to another position. Can this be done?

[jQuery] Populating Select Boxes

2007-07-25 Thread Mike Miller
Hi, I am new to jquery and have a problem that I cannot explain. I am trying to populate a select box with values from a database. The select box works fine in FF, but nothing appears to happen in IE. Below is my code. Any help on what this is caused by would be greatly appreciated: HTML