Displaying 20 results from an estimated 1000 matches similar to: "iframe ... does it have an innerHTML ?"
2006 Jun 27
5
Ajax - Inserting selected elements from request.responseText
After retrieving a URL using an Ajax.Request...
function onComplete (request, json) {
// request.responseText holds the entire page
Only the content contained in elementID = ''source'' is intended for display
At this time, the following code works, but it disturbingly copies the
entire page from the source URL into the target DIV
$(''target'').innerHTML =
2008 Jul 01
5
Attaching event observers to a series of elements - best practice?
Hi all,
New member here. I''ve been working with Prototype for a while, and I
love it. However, there''s one thing I still can''t figure out.
Let''s say I have an array of objects, representing contacts in an
address book:
var contacts = [
{ id: 1, firstName: "Bob", lastName: "Smith" },
{ id: 2, firstName: "Sue", lastName:
2005 Oct 05
5
InPlaceEditor crash on Safari
Quick question..
I often crash my Safari when using ''Enter'' on InPlaceEditor''s for
submitting.
Works fine on firefox(win & Mac) - no javascript errors.
Anyone else seen this behavior?
(Maybe it is just my alterings of InPlaceEditor :-)
Best Regards
Michael Krog
2007 Aug 20
3
Contribution on extending createElement
Hi all,
I work a lot with scripts that modify the DOM, and I have always found
quite annoying that the code would always get very verbose as soon as
I wanted to create even simple structures :
var my_div = document.createElement(''div'');
var my_anchor = document.createElement(''a'');
my_anchor.setAttribute(''href'',my_link);
var my_text =
2006 Jun 29
3
dynamic generation of iframes and writing to them
Hello Everyone,
I would like to get some suggestions on a problem I am trying to address.
- I send a request to a 3rd party server (for ads) and a response is received from them.
- Currently, I display it inline on the page and things work fine but page loading is slow and the 3rd party response can mess up styles, js on my page.
- So, I want to capture this response and dynamically generate
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 Apr 12
11
innerHTML and scripts not running
Hello,
I''m having an issue with getting embedded javascript code to actually
run when loaded via an Ajax.Request() call and the callback function
inserts the generated HTML and js code to my current page. It seems
that the javascript code is not properly parsing.
For example, I''m using the following function showinfo() to return
some html code.
function showInfo(go_url){
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
2006 May 29
3
IFRAME based RJS - responds_to_parent
** File uploads with AJAX mojo **
Respond with RJS to your parent window with a form action targeted to
a hidden IFRAME. Handles all the painful situations like scoping
your JavaScript to your parent window generating the script block for
execution and clearing the IFRAME after execution so the back button
doesn''t re-execute the action.
`plugin install
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
2006 Feb 23
25
reloading fragments of pages
Hello,
I have a treeview, that works with scriptaculous in order to load the nodes
dynamically.
I also have in the main part of the page, a table with the list of elements.
The lists of elements can be drag-dropped on the treeview in order to move
them around
(they are also draggable on other parts of the page)
I need though, to refresh the treeview to reflect changes when a folder was
moved
2006 Jun 16
2
Javascript error?
Hi, I''m trying to get this progress bar plugin working, but I''m
having some trouble.
I''m running Apache 2.0.52 with mod_fcgid on Mac OS X. Everything
seems to be working fine, but the progress bar simply doesn''t work.
In my log I get:
Multipart upload with progress (id: 1, size: 176731770)
Finished processing multipart upload in 18.96244s
but no requests in
2009 Jul 16
2
[PATCH server] updated anyterm/ovirt integration
host static anyterm content locally,
url parameterize anyterm rows/cols/general param
update spec/makefile
Ideally I wanted and tried hard to put all this into a
seperate ovirt-server--anyterm subpackage, but we cannot
'reopen' the ovirt server virtual host defined in
ovirt-server.conf to add the neccessary rewrite rules. it would
be nice to figure out a way to do this
---
2005 Aug 11
7
script.aculo.us V1.5_pre1 released
Heya,
I''ve just released script.aculo.us V1.5_pre1.
Please give it a try!
Important new stuff (since V1.1b1):
* Added a main scriptaculous.js file to load in the other libraries
transparently.
* Fixed a condition where standard a href=xxx links wouldn''t work in
autocomplete results. These do now, the onclick event is not
cancelled. [thx to Jasper Slits]
* Added
2006 Jan 09
6
drag and drop problem
I am working on a resource planning problem. I like to use a nice drag
and drop interface for that. E.g. have a box of persons and a box of
projects, now I would like to assign a persom to project by dragging it
from the available resources box to a recieving project box.
I have studied the amazing drag and drop shopping card code listed here
http://demo.script.aculo.us/shop
What I need to
2008 Jan 22
3
dynamic table/adding rows in IE using 'new Element("tr")'
I''m trying to create a few menus using prototype.js "insert" function.
I create a table using ''new Element("table")'', insert it in DIV and
then add links - one row per link (or the other way round - create a
full table, then insert it).
I initially wrote a code that worked fine in Firefox, but did not in
IE (currently testing with 6.0):
function
2006 Jan 27
1
Execute script tag loaded from Ajax.Updater call
Hello everyone,
I have an ad serving application that give me a chunk of javascript to
put in each page an when then page it loaded, that javascript executes
and it load a banner ad.
Basically, I''m returned this from the server:
<script language="JavaScript1.1" type="text/javascript"
src="http://mysite.com/execute/this_javascript.js">
</script>
2005 Jul 12
8
Tip Sheet for AJAX
Hi all,
I''m making an Amy Hoy style tip sheet PDF for the Prototype and
Scriptaculous AJAX stuff, to be used with Rails. Are there other
resources you would suggest besides the websites themselves (the
previous thread about Highlight reminded me of this)? Is there a
particular focus that would be helpful for such a document? Preferred
fonts or colors?
I must say, once you get
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
2006 Jan 26
4
Question about the Builder module
Hello,
I want to use the builder modules for an admin tool I''m currently
working on but I just all the note that I cannot create td and tr tags
with it. It works fine in FF but not it IE. Can someone please
explain why this is?
Thanks..
<http://zend.com/zce.php?c=ZEND002524&r=212822110>
Jon Whitcraft
Indianapolis Motor Speedway