search for: textnode

Displaying 5 results from an estimated 5 matches for "textnode".

Did you mean: textmode
2006 Apr 27
5
proposing $E & $T
...e is already a DOM element $E processes extra arguments for generating DOM trees... * When extra argument is an element reference, it''s appended to output * Extra string arguments become attribute/value of output. * [Exception] When the only extra argument is a string, it is appended as a textnode. (example 1) var x = $E(''p'',''this is a paragraph''); (example 2) var x = $E(''a'',''href'',''http:/\/cnn.com'',$T(''this is a link'')) What do you think and where do I post these; should I include t...
2006 Apr 27
14
cleanWhitespace and parentNode
Hey cats, I seem to have ran into a problem in IE trying to use parentNode with the cleanWhitespace method. doing something like: var div = $(''mydiv''); Element.cleanWhitespace(div); works really great, but try doing: var div = $(''mydiv''); Element.cleanWhitespace(div.parentNode); or var div = $(''mydiv''); div = div.parentNode;
2008 Jan 05
2
replacing " with "
Python-markdown currently replaces all straight quotes (`"`) with the html entity (`"`). Someone recently complained about this in a [bug report][]. As it turns out the quote was the symptom that brought the real problem to light[^1]. In any event, the reporter pointed out that markdown.pl does not replace straight quotes with the html entity. I know John Gruber has mentioned before
2006 Jun 27
14
iframe ... does it have an innerHTML ?
...hidden iframe, how could I add a document in a string to that element? e.g., var sDocument = ''<html><head></head><body>Hello world.</body></html>''; I''ve tried several variations of appendChild, innerHTML, document.innerHTML, createTextNode. Argh! _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2007 Aug 25
2
insert HTML <select> value into a textarea - Works in IE6, not in FireFox or Opera
...area, and then it stops working. (the <select> is not sending to the text area anymore) With Opera 9.02, the select control doesn''t work at all. 1) Does prototype do anything "internally" differently for whatever it''s equivalent of var txtNode=document.createTextNode(selectValue); var textArea=document.getElementById(targetTextArea); textArea.appendChild(txtNode); is ? 2) Should I be using some other way of accessing the textarea other than the "appendChild" method? Any other ideas appreciated. Mike ============================== http://s...