Displaying 20 results from an estimated 1000 matches similar to: "Javascript Code inside an Ajax response"
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
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
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!
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 Mar 22
4
Ajax.Updater not fully work in IE7
My code snapshot: correct work in FF , Opera and Safari, but in IE7 -
isn''t return result
<form action="test.php" method="POST">
<div id="country" style="border: 1px solid #ccc; width: auto"></div>
<br/>
<a href="javascript:getTest()">test</a>
</form>
<script
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 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
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
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!'');
//-->
//]]>
2007 Dec 05
8
3.0.27a, ubuntu server7.10 auth issues
I have upgraded to version 3.0.27a on ubuntu 7.10 server and now the
getent command wont display the active directory users, but wbinfo will.
It worked fine with 3.0.26a and I have not changed my configuration.
I do however have this in my winbind log:
[2007/12/04 13:39:01, 0] nsswitch/winbindd.c:request_len_recv(544)
request_len_recv: Invalid request size received: 2084 (expected
2006 Mar 22
2
problem with Ajax.Updater evalscript and firefox
Hello there people, im having a problem with the Ajax.Updater evalscripts, i
fill and div with a form that i get with the Ajax.Updater, that form had a
javascript validation, i put evalScripts true but when i get the form i had
an unexpected close in the firefox, i had a long time looking the answer but
nothing yet, somebody with the same problem? or the answer?
greets
--
//
// Ing. Francisco
2006 Mar 18
9
RJS - not working in IE
I searched thru all the postings about RJS, and I didn''t find one person
who complained of problems specific to IE, but that''s what I''ve got.
My environment is:
Rails 1.0 + RJS Plugin
Updated Javascripts to Scriptaculous 1.5.3 (for evalScripts support)
Monkeypatched in_place_editor to support evalScripts
I have just started using RJS, and I have two .rjs templates.
2011 Feb 21
4
Distribuir paquete Windows
Buenos días,
Trabajo en Linux (Fedora) y he creado un paquete de R para uso interno,
llamado Ind, el cual he instalado en Linux y me funciona perfectamente.
Ahora quiero distribuirlo entre mis compañeros y algunos trabajan con
Windows, por lo que he tratado de instalarlo en Windows 7 (hice en mi
portátil una partición del disco y tengo tanto Fedora como Windows 7).
Según he leído en algunos
2005 Dec 31
9
RJS Templates not conducting callbacks
I''ve run across a weird problem with RJS that I''m trying to figure out:
I have an application that was running 0.13.1 that I recently upgraded
to Rails 1.0. I wanted to use RJS templates, so I installed the plugin
and updated my prototype javascript file via ''rake update_prototype.''
I attempted to test the templates out via the following code, but the
AJAX
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 =>
2010 Sep 28
2
Problema con read.spss
Hola,
Tengo problemas a la hora de cargar un archivo que originalmente está en
SPSS.
Trabajo con Fedora y uso R mediante el plugin Rgedit en gedit.
Además en Fedora no tengo SPSS, sino PSPP
Para cargar el archivo he probado estas dos cosas (escribo también el
mensaje de error que me genera R):
>library_(foreign)
>read.spss("guille.sav",to.data.frame = T)
Error en
2006 Jul 20
4
VMWare
Hi,
I want to run a windows machine on my CENTOS 4.3 laptop 1.8 GHz 768 Mbytes RAM.
first
what should i choose VMPlayer or VMWare server?
Second where can I find some guidelines to have this done?
thanks,
Guillermo Garron
2006 Feb 28
5
browser-crash with Ajax.Updater
Hi,
on my page I start an ajax-request which returns rhtml-code (I use
Rails) looping over some objects. When I place the following code within
the loop my browser (FF) crashs:
<script>
var set_std_objekt = function (id) {
new Ajax.Updater(''divname'', ''/dosomestuff'', {
asynchronous:true,
evalScripts:true
})
}
</script>
<a
2015 Apr 10
2
pop3 retr responses too large lines - Fails with current python's poplib
El vie, 10-04-2015 a las 10:21 +0900, Timo Sirainen escribi?:
> On 09 Apr 2015, at 06:52, Guillermo M. Narvaja <guillermo.narvaja at fierro.com.ar> wrote:
> >
> > Since December 2014, clients using the Python poplib library (getmail in
> > my case) started to limit the line length of RETR and other command
> > responses sent from the server to 2048 bytes:
>
2006 Mar 17
5
Making Share Visible To Particular Users Only
Dear Friends,
Is It Possible to Make a *Share* Visible to a List of Users *Only* ?
e.g. If have shares Likes Account, Sales, Support
Then I would Like make respective *share* visible
*only* to persons in respective dept.
Thanks and Best Regards.