Displaying 3 results from an estimated 3 matches for "brobert".
Did you mean:
robert
2008 Apr 21
4
Does String.evalScripts() work on well-formed script tags?
Does String.evalScripts() work when the opening SCRIPT tag of a SCRIPT
block contains common attributes? I''ve tried and it does not appear
to be working. Here''s an example:
<script type="text/javascript" charset="ISO-8859-1"
language="JavaScript">
//<![CDATA[
<!--
alert(''look! it works!'');
//-->
//]]>
2008 Feb 07
3
Adding my own extensions with Elements.addMethods()
When I add my own extensions to DOM elements, is there a way to only
add my extensions to the specific types of DOM elements (e.g. SELECT)
to which my extensions apply or are intended to operate?
Based on the Prototype API documentation (http://prototypejs.org/learn/
extensions), it appears that anytime I extend an element, all the
extensions (Prototype''s and my own) are copied to that
2008 Feb 13
0
Element.focusFirstElement() causing issue with Element.addMethods()
Prototype 1.6.0.2
Internet Explorer 7
I''ve found that when I call $(''myform'').focusFirstElement(); to set
focus on the first field in my form, that this statement "wrecks" the
extensions I''ve added using Element.addMethods() if it executes before
Element.addMethods().
When I try to call one of my exenstions, the IE7 JavaScript
interpreter throws an