[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 Car

[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 t

[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] Re: Help populating an array via JSON

2008-02-04 Thread Mike Miller
allback. > > -- Josh > > - Original Message - > From: "Mike Miller" <[EMAIL PROTECTED]> > To: "jQuery (English)" > Sent: Monday, February 04, 2008 9:00 AM > Subject: [jQuery] Help populating an array via JSON > > > Hi, > > &

[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 =

[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 tags?

[jQuery] Re: trouble with textarea values

2007-08-28 Thread Mike Miller
t_progress").val(); 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 PR

[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(); $j("#act_progre

[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: $.("#el1").click(function () { anotherFunctionHere; })

[jQuery] Re: Create excel file from table data

2007-08-10 Thread Mike Miller
application/vnd.ms-excel; 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: > > &

[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 th

[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] 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] Re: Anything similar to IE's table.moveRow in jquery?

2007-08-02 Thread Mike Miller
follows: $j("#show_medication").parents('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 > &

[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 loo

[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
he parents("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 PROTEC

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

2007-08-02 Thread Mike Miller
the 'great-grandad' of > #formelement > > 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

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

2007-08-01 Thread Mike Miller
0 (zero) for the > first row. > > Lookup the jquery :xxx qualifiers for more options. > > On Jul 31, 4:16 am, Mike Miller <[EMAIL PROTECTED]> wrote: > > > > > Haven't been able to find any documentation so far that talks about > > how to move rows aroun

[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 fil