[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread Christophe Porteneuve
Hey there! jdalton a écrit : I am trying to do something like $$('a:contains(next )'); but I get a js error when executing that. I'd really like you to tell me what exactly you think this selector should fetch... It's not a CSS3 selector at all (:contains does not seem to be part of the CSS

[Rails-spinoffs] Re: InPlaceRichEditor v1.1 released

2007-05-05 Thread rmuzslai
Hi, First of all congratulations for the great work, this is the component I need!! I have a little suggestion (or comment). If somebody uses the loadTextURL option then scriptaculous strips all html tags off from the text. So we need to update tinymce with the right text:

[Rails-spinoffs] Re: InPlaceRichEditor v1.1 released

2007-05-05 Thread rmuzslai
Hi, First of all congratulations for the great work, this is the component I need!! I have a little suggestion (or comment). If somebody uses the loadTextURL option then scriptaculous strips all html tags off from the text. So we need to update tinymce with the right text:

[Rails-spinoffs] Re: InPlaceRichEditor v1.1 released

2007-05-05 Thread rmuzslai
Sorry for the double post! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Spinoffs group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group,

[Rails-spinoffs] Re: InPlaceRichEditor v1.1 released

2007-05-05 Thread rmuzslai
Sorry for the double post! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Spinoffs group. To post to this group, send email to rubyonrails-spinoffs@googlegroups.com To unsubscribe from this group,

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread tobie
It's not a CSS3 selector at all (:contains does not seem to be part of the CSS 3 Selectors spec). Hi Christophe, Sorry to contradict you, but it is: http://www.w3.org/TR/2001/CR-css3-selectors-2003/#content-selectors - Tobie --~--~-~--~~~---~--~~ You

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread Christophe Porteneuve
Hey Tobie! tobie a écrit : Sorry to contradict you, but it is: http://www.w3.org/TR/2001/CR-css3-selectors-2003/#content-selectors Except it's not in the latest version: http://www.w3.org/TR/css3-selectors/ The version you're alluding to is almost 6 years old. The :contains

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread tobie
Haha, you're right... sorry about that! On May 5, 7:00 am, Christophe Porteneuve [EMAIL PROTECTED] wrote: Hey Tobie! tobie a écrit : Sorry to contradict you, but it is: http://www.w3.org/TR/2001/CR-css3-selectors-2003/#content-selectors Except it's not in the latest version:

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Christophe Porteneuve wrote: jdalton a écrit : I am trying to do something like $$('a:contains(next )'); but I get a js error when executing that. I'd really like you to tell me what exactly you think this selector should fetch... It's not a

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread jdalton
Hey guys, Thanks for clearing that up. Like I said I am rather new to the xpath (mainly because its not cross browser at the moment) and css3 syntax. I recognize the power it holds and it has peeked my curiosity. Do you know of any resources for finding good usage examples? P.S. Here is a

[Rails-spinoffs] Problem with escape

2007-05-05 Thread Gabriel F.
Hello, I have a little problem with the escape function. Here is my code: function saveData() { new Ajax.Request(post.php, {method:post, parameters:'message='+escape(document.getElementById(shoutitmessage).value) }

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 jdalton wrote: Like I said I am rather new to the xpath (mainly because its not cross browser at the moment) and css3 syntax. CSS3 fails under the same not cross browser umbrella given its current status (both as standardization and

[Rails-spinoffs] Re: Problem with escape

2007-05-05 Thread Marius Feraru
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Gabriel F. wrote: new Ajax.Request(post.php, method:post, parameters:'message='+escape(document.getElementById(shoutitmessage).value) }); If I have the escape function in my script I can't post some characters e.g. ä,ö,ü,ß but if I don't have

[Rails-spinoffs] Re: does $$() or Element.getElementBySelector() support something like: $$('a:contains(next )');

2007-05-05 Thread jdalton
@Marius Feraru - Thanx for the tips. I will fix the effected php code 8), so it won't fail badly. ;-P --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Spinoffs group. To post to this group, send

[Rails-spinoffs] Re: Problem with escape

2007-05-05 Thread Ken Snyder
Gabriel F. wrote: Hello, I have a little problem with the escape function. Here is my code: function saveData() { new Ajax.Request(post.php, {method:post, parameters:'message='+escape(document.getElementById(shoutitmessage).value)

[Rails-spinoffs] Re: Apache redirects

2007-05-05 Thread grigora
On Apr 11, 7:44 am, Tom Gregory [EMAIL PROTECTED] wrote: What I'm saying is the browser performs the redirect automatically-- so your AJAX object won't see the 302 (et al) header in its status. It will see whatever status code from the page it redirected to--in your case, probably 200. Yes,