Alright, but the way trying to set this Element over new Element()
also doesn't work.
IE7 won´t do it.
On Jun 23, 1:44 pm, artemy tregoubenko [EMAIL PROTECTED] wrote:
Afaik, IE won't let you change type of an input after input is created.
You need to create input with correct type. This can
Is it possible to observe events in iframe?
var iframe = new Element('iframe');
iframe.observe('mouseup', function (e) { ... }); // Not works ;-(
I found that in FF, I can
iframe.contentWindow.document.addEventListener('mouseup', function (e)
{...}, true); // Works
But, how to do it with
Prototype shortcuts are tailored to work in current window. However you
can use generic prototype methods like this:
Event.observe(iframe.contentWindow.document, 'mouseup', function (e){})
On Tue, 24 Jun 2008 16:52:28 +0400, AlannY [EMAIL PROTECTED] wrote:
Is it possible to observe events
This is not a discussion suitable for prototype core.
But you can do something like the following for IE:
var new_input = new Element('input', {'type':'password', 'name':
field.getAttribute('name')});
old_field.parentNode.replaceChild(new_input,old_field);
On Tue, Jun 24, 2008 at 2:42 PM,
Receiving unexpected porn ads through this mailing list :-(
Owner, thanks for removing the sender adress ([EMAIL PROTECTED]) from
this group.
Original Message
Received: by 10.106.193.17 with SMTP id q17gr2758prf.0; Tue, 24 Jun
2008 15:13:57 -0700 (PDT)
X-Sender: