Displaying 20 results from an estimated 300 matches similar to: "BUG in PROTOTYPE when set evalScripts: true - Firefox crashes"
2006 Jan 26
0
boot & boot.ci
Dear all,
I've a problem with bootstarp package... I want to bootstrap
correlation ratio of some data.
my code is:
f<-function(d) cov(d$x,d$y)/sqrt(var(x)*var(y))
boot(d,f,R)
As a result I got an error:
Error in statistic(data, original, ...) : unused argument(s) (..
.)
d is a data.frame containing two vectors with labels x and y.
Also, another thing I have problem
2005 Dec 12
7
possible opera+prototype bug in evalscripts?
Hi all,
I use the ajax updater with evalscripts=true.
When I load HTML with included <script> tags, I get this error in Opera 8.51:
------------------- snip -----------------------------
http://ccml.uni-weimar.de/
Timeout thread: delay 10 ms
Error:
name: EvalError
message: Statement on line 258: Illegal use of eval
Backtrace:
Line 258 of linked script
2007 Oct 17
0
Using R.dll in .NET IPC
Hi - I wrapped R.dll up using somebody code online (see below). I am comparing R on .NET IPC with R(D)COM.
I got it all working. Except, I realize that in my client code of the IPC remoting, if I call 'plot' function in R via EvaluateNoReturn, I don't seem to see any results on the R plot window (although the window pops up). Is there anything to do with the code of R.dll wrapper
2006 Nov 27
1
R.DLL mapping by P/Invoke
After a long processing, I was able to create a version of a small C# class
that was able to emulate the rproxy by P/Invoke. This is mostly to find a
workaround a performance problem of the StatConnector.
It's almost work but ... I have strange memory exception when I call the
print function. The variable seems to not survive from one call to the
other.
As there is no debug symbol for
2007 Nov 08
2
Bug or undesired behavior when quota exceeded
Hi,
I have just noticed an undesired behavior when using rsync when disk
quota is exceeded. I do not know how to avoid it (or maybe it can be
considered as a bug).
The following is a scenario that leads to the undesired behavior:
1) I normally execute two following commands to synchronize folders
between a local host and a remote host:
rsync -aCPvu --existing <dir1>
2006 Apr 17
0
FW: evalScripts in IE
Here you go:
Very Basic Example (save them to your desktop and fire ajax_updator.html. Please make sure prototype.js is also present there):
You may find errors and can suggest 100 other approaches, but this should be enough to demonstrate how evalScripts works.
-Mandy.
_______________________________________________
Rails-spinoffs mailing list
2007 May 30
0
Ajax.Updater : About evalScripts and defining functions
I have a problem using ajax.updater, I''ve already read the article
available here http://prototypejs.org/api/ajax/updater but I cannot
implement the recommanded solution.
I''m using "big" script with loads of functions and classes and it
doesn''t work in the loaded page (with ajax.updater).
The script I''m trying to include is available here :
2007 Mar 03
1
Ajax.Updater with evalScripts: true strips curly braces
When I return an html fragment to Ajax.Updater with evalScripts: true set,
and there is a script fragment with curly braces in it (a function
declaration or an object literal), the curly braces are getting stripped out
somehow, and leaving me with invalid JS.
I think this is the case because I put an alert in the evalScripts method
right before the "return eval(script)" and it had no
2007 Nov 13
0
Ajax.Updater evalScripts:true
Hello,
i habe a problem to include <script> code in div container.
function ajaxUriDivJava(url, z)
{
try{$(z).innerHTML="<centrer><img src=''http://
static.mymir.org/wait30trans.gif''></centrer>";}catch(e){}
var pars = '''';
var myAjax = new Ajax.Updater( {success: z}, url,
{ method:
2007 Jun 27
1
Prototype 151; Ajax.Updater vs Ajax.Request and evalScripts=true
Why does Ajax.Updater() and Ajax.Request() differ in how evalScripts
is handled? Or doesn''t it, and I just got it wrong?
I have a module that generates an Ajax request to insert dynamic
content into a div. The dynamic content is plain vanilla HTML with
some inline javascript *functions*
I cannot get the browser to honor/execute/see those javascript
functions when I use .Request()
If I
2007 Nov 19
1
Running a script after evalScripts has completed
Hello,
(I originally posted this on the Prototype-Core group by mistake,
sorry)
I am running a request via Ajax.Updater with evalScripts = true and an
onComplete function.
I find that my onComplete function executes before the script content
has been evaluated. Looking through prototype.js (v. 1.5.1) this seems
to be caused by the scripts being executed as part of this line
(1352):
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!'');
//-->
//]]>
2006 Mar 10
3
[Prototype] understanding evalScripts
Hi,
I have a misunderstanding of what I though evalScripts would do vs
what it actually does. I''m wondering if there''s a way that I can make
it do what I want.
my initial page:
<html>
<head>
<script...
var page = ''initial'';
...
<body>
<div id="replaceMe"
<script...
page = ''in
2007 Oct 12
5
Evalscripts
Hey all,
I''m just checking my understanding. Would someone be so kind as to
comment on the following?
Event.observe(''this_link'', ''click'', function() {
AJAX.Updater(''that_div'', ''my.php'', { evalscripts: true}) });
<div that_div>
</div>
///////
my.php
2007 Mar 01
6
prototype ajax.updater response bigger than 10k on safari
Hi All,
Safari crashes everytime my ajax response is bigger than 10k, i traced
it down and found out that it breaks when evalScript is being called,
maining when extractScript is trying to match the regex.....
is this a known bug on safari?
if yes is there anyway to get around it?
thanks in advance
--~--~---------~--~----~------------~-------~--~----~
You received this message because you
2015 Jan 03
0
filmovix.org - filmovi na računalu
gledaj online filmove potpuno besplatno...
http://pet.prevodim.com/interspire/link.php?M=181705&N=11&L=8&F=T
** ?ta je potrebno za gledanje filmova preko interneta
(http://pet.prevodim.com/interspire/link.php?M=181705&N=11&L=8&F=T)
------------------------------------------------------------
Da biste gledali filmi?e preko weba trebate imati dobar internet
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){
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts.
I have this block of code being returned from an Ajax.Updater call,
as shown by FireBug or one of those other Firefox plugins. I have
tried to boil it down to the minimum code.
<script type="text/javascript">
test = function() { alert("test"); };
</script>
<table
2006 Jul 02
6
remote form w/ evalScripts:true
Hello. I want to select an item from a select list and have that
result in an ajax call that updates two sections on the page. Here is
the code in the controller
def create
...
render :update do |page|
page.replace_html ''list_items'', :partial => ''lists/list_items''
page.replace_html ''add_item'', :partial =>
2006 Apr 15
11
evalScripts in IE
My Ajax.Updater is set for evalScripts and it receives this:
<script language="JavaScript">complete();</script>
It works in FF but not IE. Is the above code the proper way to return
scripts?
Thanks!