[jQuery] [jEditable] select editinplace has empty pulldown

2008-11-30 Thread Rodent of Unusual Size
I'm trying to set up some select form elements for in-place editing using jEditable, but in every case the pulldown is always empty. Firebug doesn't reports any errors or problems. As far as I can tell, I'm doing this according to the documentation at the jEditable site. Is this me again? Test

[jQuery] Re: [jEditable] select editinplace has empty pulldown

2008-11-30 Thread Rodent of Unusual Size
Bingo. Thanks again!

[jQuery] Javascript, or only Javascript-inna-browser?

2008-11-30 Thread Rodent of Unusual Size
Is jQuery supposed to be specifically targeted at Web client-side (i.e., browser) usage? Or to make Javascript easier in general? Most of its functionality seems aimed at the former, but there are a number of aspects that I can see would be useful in now-client environments. I ask because

[jQuery] Re: jeditable tooltip for empty table cell becomes content

2008-11-29 Thread Rodent of Unusual Size
On Nov 29, 1:32 pm, Mika Tuupola [EMAIL PROTECTED] wrote: Click to edit is also default value for parameter placeholder. Jeditable inserts the placeholder to element if it is empty (otherwise there is nothing to click). If you really want the empty you can do something like.

[jQuery] Re: Appending text works; appending element doesn't

2008-11-29 Thread Rodent of Unusual Size
On Nov 29, 1:26 pm, ricardobeat [EMAIL PROTECTED] wrote: Ha, there it is. Yes, I never use the 'application/xhtml+xml' mime, because of this and other incompatibilities. Is there anything you can do with it that you can't with text/html? Sure. Embedded SVG, math, et cetera.. and you're

[jQuery] Re: Appending text works; appending element doesn't

2008-11-28 Thread Rodent of Unusual Size
On Nov 25, 11:24 am, ricardobeat [EMAIL PROTECTED] wrote: Your code, exactly as it is, works perfectly for me. I didn't include the tablesorter plugin in my test. Removing the tablesorter artifact (left over when I trimmed to a minimum test case) had no effect. Changing the document's IMT

[jQuery] jeditable tooltip for empty table cell becomes content

2008-11-28 Thread Rodent of Unusual Size
New demonstration case for another problem I've noticed with jeditable: http://apache.pastebin.ca/1270021 I'm making cells in a table editable, and passing jeditable a string for the hover tooltip. However, if the cell in question has no content (e.g., td/td) jeditable stuffs the tooltip into

[jQuery] Re: Appending text works; appending element doesn't

2008-11-24 Thread Rodent of Unusual Size
I still can't find anything wrong, and someone on the #jquery channel confirmed it. So does _anyone_ have any idea what's going on here? Thanks..

[jQuery] Re: Appending text works; appending element doesn't

2008-11-20 Thread Rodent of Unusual Size
I can't see anything I'm doing wrong here, but it still won't work. I've tried this: code var span = $('spanElem/span'); span.appendTo(this); /code but then Firebug says: code Node cannot be inserted at the specified point in the hierarchy code: 3 this.appendChild( elem ); [jquery.js line

[jQuery] Re: Appending text works; appending element doesn't

2008-11-20 Thread Rodent of Unusual Size
Sorry about the markup; forgot this group/forum doesn't like it..

[jQuery] Appending text works; appending element doesn't

2008-11-18 Thread Rodent of Unusual Size
Test case at http://apache.pastebin.ca/1261109 When the H1 is edited and the OK button clicked, the callback is invoked. It *should* add some plaintext to the end of the H1 content, and also a span element. However, it doesn't add the span. I have run through this with Firebug and set a

[jQuery] Re: jeditable and XHTML?

2008-11-14 Thread Rodent of Unusual Size
On Nov 14, 5:58 am, mbraybrook [EMAIL PROTECTED] wrote: I can't see anything wrong with the JS, can you perhaps provide a more complete picture? .: Are you calling the JS when the DOM is ready? Yes. .: Are you posting the changes to a URL that is prepared to handle it? It never gets to

[jQuery] Re: jeditable and XHTML?

2008-11-14 Thread Rodent of Unusual Size
On Nov 14, 1:45 pm, Mika Tuupola [EMAIL PROTECTED] wrote: On Nov 14, 2008, at 1:23 AM, Rodent of Unusual Size wrote: Can you try latest from github: http://github.com/tuupola/jquery_jeditable/tree/master/jquery.jeditab... Brilliant! Works a treat now. Thanks for the heads up! You betcha

[jQuery] jeditable and XHTML?

2008-11-13 Thread Rodent of Unusual Size
Is there a known problem with jQuery/jeditable and XHTML? I keep running into this 'invalid string' message with JS and XHTML. First Dojo, now here.. it's getting discouraging. What am I doing wrong? Anyway, is there anything obviously wrong with the fragment at

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread Rodent of Unusual Size
On Nov 11, 8:33 am, MorningZ [EMAIL PROTECTED] wrote: Yuck, why patch the js file when a custom parser could just be built? before that can happen though, something needs to be made more clear in the examples above, you pretty much are just ignoring letters for sorting purposes? Yup, as I

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-11 Thread Rodent of Unusual Size
On Nov 11, 9:37 am, MorningZ [EMAIL PROTECTED] wrote: Here's an example if my question above is answered by yes, that's correct http://paste.pocoo.org/show/90863/ That only handles the aspect of ignoring the alpha characters. It does *not* appear to handle the issue of sorting 40125 before

[jQuery] Custom sorter/parser for tablesorter

2008-11-10 Thread Rodent of Unusual Size
I'm just discovering jQuery and finding it really interesting. Usual sort of 'learn by doing' thing. I've been playing with the tablesorter plugin, but I've run into a wall. Particularly since I'm far from expert in Javascript. :-) I want to be able to sort a table on a column containing

[jQuery] Re: Custom sorter/parser for tablesorter

2008-11-10 Thread Rodent of Unusual Size
On Nov 11, 12:29 am, Mike Nichols [EMAIL PROTECTED] wrote: I submitted a patch a long time ago to do this that implemented a natural sorting algorithm for this but it would never get applied and I couldn't get a response..I assumed the project was light or dead. I can send you the patched .js