search for: insertadjacenthtml

Displaying 7 results from an estimated 7 matches for "insertadjacenthtml".

2006 Jul 21
2
Abstract insertion question
Hi, In the following block of Prototype.js when will the catch() block run? I cannot create conditions in Opera where 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'' || t...
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
2007 Mar 13
2
mime types
I''m trying to use the ajax.Updater function to send a message to the server and display an error message. Ok so far. However if the server detects no error with the data sent I want to open a PDF file in a new window. When I try to do this (using fpdf) the returned PDF is opened as text in the error div. Can anyone point me in the right direction. rgds gmcb
2005 Dec 04
5
Javascript Logging
Hello Everyone, Just wanted to find out if scriptaculous has a patch for a error logging class? Currently, I have found 2 javascript logging scripts (outside of scriptaculous). Lumberjack: http://gleepglop.com/javascripts/logger/ log4js: http://jroller.com/page/stritti?entry=logging_in_javascript_log4js Could you guys shed some light on what would be a good logger class to use with our
2006 Apr 12
7
AJAX automatic print to specific printer??
Is it possible to print directly to an XP Pro default printer without having to go through an intermediate dialog? The clients are XP Pro with IE. The printer is accessed directly through the network, but could easily be setup as a Windows shared printer if that helps us out. I''ve seen where I can use window.print but the user still has to click OK. I would like to avoid any
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
...if (t.tags[tagName]) { - var fragments = Element._getContentFromAnonymousElement(tagName, content.stripScripts()); - if (position == 'top' || position == 'after') fragments.reverse(); - fragments.each(pos.insert.curry(element)); - } - else element.insertAdjacentHTML(pos.adjacency, content.stripScripts()); - - content.evalScripts.bind(content).defer(); - } - - return element; - }; -} - if (Prototype.Browser.Opera) { Element.Methods.getStyle = Element.Methods.getStyle.wrap( function(proceed, element, style) { @@ -2237,12 +2219,36 @@ if (Prot...
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