search for: tolowercase

Displaying 20 results from an estimated 30 matches for "tolowercase".

Did you mean: lowercase
2006 Mar 17
1
Autocompleter.Local problem/desparate plea for help...
...) { var ret = []; // Beginning matches var entry = instance.getToken (); var firstMatch= -1; for (var i = 0; i < instance.options.array.length; i++) { var wasMatch = false; var elem = instance.options.array[i]; var foundPos = instance.options.ignoreCase ? elem.toLowerCase().indexOf(entry.toLowerCase()) : elem.indexOf(entry); while (foundPos != -1) { if (foundPos == 0 && elem.length != entry.length) { wasMatch = true; if (firstMatch < 0){ firstMatch=i; } ret.push("<li class=\"selected\"...
2006 Feb 14
1
Firefox java script error in prototype.js
...refox I have the following javascript error: Error: element has no properties Source File: http://localhost:3000/javascripts/prototype.js Line: 1280 and the javascript code at prototype: Form.Element = { serialize: function(element) { element = $(element); var method = element.tagName.toLowerCase(); var parameter = Form.Element.Serializers[method](element); if (parameter) { var key = encodeURIComponent(parameter[0]); if (key.length == 0) return; if (parameter[1].constructor != Array) parameter[1] = [parameter[1]]; return parameter[1].map(function(v...
2007 Aug 31
0
observe_field is not working everytime in IE 6.0
...I read in on of the blog and I have made changes in prototype.js to get it worked. I have added code mentioned below in Event Observer function of protype.js file. Previously my prototype.js like this registerCallback: function(element) { if (element.type) { switch (element.type.toLowerCase()) { case ''checkbox'': case ''radio'': Event.observe(element, ''click'', this.onElementEvent.bind(this)); break; default: Event.observe(element, ''change'', this.onE...
2006 Jul 21
2
Abstract insertion question
...it will run. Thanks, Peter if (this.element.insertAdjacentHTML) { /* IE and Opera */ try { this.element.insertAdjacentHTML(this.adjacency, this.content); } catch (e) { // when will this run? can feature detection be used instead? var tagName = this.element.tagName.toLowerCase(); if (tagName === ''tbody'' || tagName === ''tr'') { this.insertContent(this.contentFromAnonymousTable()); } else { throw e; } } }
2006 Feb 21
1
Appending new tr into a table
...at IE treats innerHTML of a table as read only, but going through the following post, I assume there is some fix for it. http://www.robsanheim.com/2005/10/11/prototype-insertion-ie-6-trs-and-invalid-target-element-for-this-operation/ The solution suggested the following - if (this.element.tagName.toLowerCase() == ''tbody'' || this.element.tagName.toLowerCase() == ''tr'') { this.insertContent(this.contentFromAnonymousTable()); I added the extra "tr" line but it still doesn''t work for me. I can always do a Element.update() but it''s unnecessary...
2006 Apr 10
3
autocomplete 2nd field based on 1st field''s input
I''m trying to populate a field named "file_name" based on the input of a field named "title". So, for instance, based on the following input in the "title" field: My Title Is Awesome I would want the following "file_name" to be autocompeted on the fly: My_Title_Is_Awesome I''ve been going over all the autocomplete examples out there,
2008 Apr 18
1
element has no properties error.
...) && !$F(''email'').blank() && $F(''pword'') == $F(''checkPassword'')) { $(''submNewUser'').enable(); } }); }); would do the trick. But this throws an error: element has no properties var method = element.tagName.toLowerCase(); I''m guessing it has something to do with the fact that I''m checking the value of an empty field, but I thought you had to use the blank function for it... So is this a bug or am I missing something stupid? --~--~---------~--~----~------------~-------~--~----~ You received this...
2006 May 31
9
How can I make this thing work on IE?
Hello... i''ve been read lots of posts talking about this kind o mess in IE... but no one tells how could this be possible to work... :-) Any suggestions?? thanks... <html> <head> <script src="prototype.js"></script> </head> <body> <table border=1> <tbody> <tr id="0" name="0"> <td>LINE
2006 May 19
6
Multiple dynamic Sortables
I''m writing an appliation that contains several dynamically created lists. I had hoped that the following method for using the Sortable library from scriptaculous would work: 1) create the list 2) create a Sortable for it 3) create another list 4) create a Sortable for it and so on. Unfortunately this doesn''t work. I can''t find any info in the documentation for
2006 Jun 22
8
Ajax in IE 5.5 / Win 98
Are Ajax requests available in IE 5.5 / Win 98? Sam _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2005 Sep 27
8
prototype.js
Hi *, We don''t know if you guys are the right audience, but we got a problem with prototype.js we need to solve. Essentially, it is a compatibility bug with the IE. We wrote a component so it updates itself periodically using AJAX. we used the prototype.js to accomplish this (using the periodicalUpdater object). now the component works fine using firefox or opera, but NOT with IE. the
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...< instance.options.choices ; i++) { + for (var i = 0; i < instance.options.array.length && + ret.length < instance.options.choices ; i++) { var elem = instance.options.array[i]; - var foundPos = instance.options.ignoreCase ? - elem.toLowerCase().indexOf(entry.toLowerCase()) : + var foundPos = instance.options.ignoreCase ? + elem.toLowerCase().indexOf(entry.toLowerCase()) : elem.indexOf(entry); while (foundPos != -1) { - if (foundPos == 0 && elem.length != entry.length) {...
2006 Oct 26
0
Prototype: focusFirstElement and tabindex -1 ?
...tion(element) { return element.type != ''hidden'' && !element.disabled && element.getAttribute(''tabindex'') >= 0 && [''input'', ''select'', ''textarea''].include(element.tagName.toLowerCase()); }); }, Is there a place to sugest changes in prototype or is this group it? I just thought maybe other could need the same fix. Hope this can help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Rub...
2007 Aug 24
0
7 commits - libswfdec/swfdec_as_context.c libswfdec/swfdec_as_interpret.c libswfdec/swfdec_as_object.h libswfdec/swfdec_as_string.c test/trace
...guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) { - const char *string = swfdec_as_object_to_string (cx, object); + const char *string = swfdec_as_string_object_to_string (cx, object); int from, to, len; len = g_utf8_strlen (string, -1); @@ -500,7 +513,7 @@ void swfdec_as_string_toLowerCase (SwfdecAsContext *cx, SwfdecAsObject *object, guint argc, SwfdecAsValue *argv, SwfdecAsValue *ret) { - const char *string = swfdec_as_object_to_string (cx, object); + const char *string = swfdec_as_string_object_to_string (cx, object); char *s; s = g_utf8_strdown (string, -1); @@ -5...
2009 Jul 20
9
Upgrade server to run on Rails 2.3.2/F11
Note that one of the 8 patches (#6) will be sent separately in reply to this email, as some of the replaced lines are too long, so git won't let me send the email. However, there is nothing wrong with that patch, and it should be applied in the sequence listed below. Note also that I assume this will be tested on a clean f11 install, rather than an upgrade of an existing ovirt server
2007 Nov 24
1
[Bug 13381] New: swfdec_swf_decoder_eof brokern transmission error
...ot; Unsupported movie property pluginspage with value "http://www.macromedia.com/go/getflashplayer" unhandled event 19 Loading stream: http://www.screenweek.it/mymovies/programmazione/thomasc.swf SWFDEC: WARN : swfdec_as_interpret.c(920): swfdec_action_call_method: no function named "toLowerCase" on object unknown Loading stream: http://www.paginegialle.it/pg/cgi/closer.swf?v=339 SWFDEC: WARN : swfdec_shape_parser.c(279): swfdec_shape_parser_finish: fillstyle 0 has no path SWFDEC: ERROR: swfdec_swf_decoder.c(357): swfdec_swf_decoder_parse_one: data after last frame SWFDEC: ERROR: swfd...
2006 Mar 13
2
Prototype ajax/javascript q
I''m trying to send to my application the coords x,y on an "input type image" in a html form, but x,y variables are not present in the POST_DATA (are not submitted). Any other field (hidden inputs) are being sent when I click on the image input form field. I use rails 1.0 and prototype 1.4, browsers Seamonkey 2.0, Firefox 1.x and Konqueror, Linux, and I''m just a
2006 May 12
0
draft-proposal for Ajax.History - History/Bookmark handling in Ajax apps
...h prototype/scriptaculous. The arisen source code: Ajax.History = { initialize: function(options) { this.options = Object.extend({ interval: 200 },options||{}); this.callback = this.options.callback || Prototype.emtpyFunction; if(navigator.userAgent.toLowerCase().indexOf(''msie'') > 0) this.locator = new Ajax.History.Iframe(''ajaxHistoryHandler'', this.options.iframeSrc); else this.locator = new Ajax.History.Hash(); this.currentHash = ''''; this.locked = fal...
2006 Jun 29
11
Autocompleter without a default choice
Hi, I have an ajax auto completer for a text field in a form. All''s good. Unfortunately, I also want the form to be submitted when the user hits ''return'' in the text field. This combination of circumstances means that if the user is typing his entry and then hits return to submit it is possible that dang auto completer will pop up and complete his entry for even if he
2019 Aug 07
0
samba-tool PTR with /16 network
...ne else's IP range, but then again, I hope it isn't, because if it is, his DC is internet resolvable. Rowland -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba -- function jsUcfirst(string) { string = string.toLowerCase(); return string.charAt(0).toUpperCase() + string.slice(1); } function change(id,type) { var idorg = id*10; if (idorg == 20) { document.getElementById(id ).innerHTML = (document.getElementById(idorg ).value).toUpperCase(); } else if (idorg == 10) { document.getElementById(id ).innerHTML = jsUcfirst...