Displaying 20 results from an estimated 5000 matches similar to: "Weird data from evalJSON"
2008 Feb 09
1
problem using evalJSON with Ajax
Hi, all
I am trying to use evalJSON with Ajax, but somehow it doesn''t work.
for instance, I have a php file has the following output:
"name": "Violet", "occupation": "character"
and I have a html file with the following javascript:
new Ajax.Request(''/some_url'', { method:''get'', onSuccess:
2007 Dec 20
1
evalJSON() problem
Hey!
When i try to parse the following Variable with evalJSON() i geht an
error "Badly formed JSON String"
var string = ''{nodes[{id:"s1",type:"seminar",title:"Seminar 1",nodes:
[{id:"c1",type:"course",title:"Kurs 1"}]},{id:"c2",type:
"course",title: "Kurs 2"}]};'';
why?
regards
2007 Sep 28
1
evalJSON problem
Hey there,
I have a FCKeditor(a WYSIWYG online html editor) and i want to bring
it to a page by Ajax and JSON by a php request-catcher.
I have sth like this in my ajax request:
new Ajax.Request(''myactions.php'',
{
method:''get'',
parameters: {action:''bringeditor'', id:<?php echo $uid; ?>},
onSuccess: function(transport){
2008 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a
simple mistake. I''m using the following code to read an external json
file and print out its values. The problem is when I try to write the
value to the browser it causes the browser to load like it hasn''t
finished the javascript code. Its writing the value to the screen so I
think its hanging after that
2009 Jul 07
0
[PATCH server] Update app to work with rails 2.3.2
Note that this does not fix gettext for app,
that will be done separately in another patch
as F10/F11 require different setups for that.
In the meantime gettext works if manually changed
in environment.rb to gettext_rails instead of
gettext/rails
Signed-off-by: Jason Guiditta <jason.guiditt at gmail.com>
---
src/app/controllers/application.rb | 200 --------
2003 Dec 24
4
coding logic and syntax in R
Hello,
I am a beginner in R programming and recently heard about this mailing list.
Currently, I am trapped into a simple problem for which I just can't find a
solution. I have a huge dataset (~81,000 observations) that has been
analyzed and the final result is in the form of 0 and 1(one column).
I need to write a code to process this column in a little complicated way.
These 81,000
2008 Apr 22
1
Problem with Prototype 1.6.0.2, Opera 9 and Form.serialize()
Hello,
following code fragment given:
~~~
function jsPostAppend(script, form_id)
{
if(form_id)
//parameters=''&'' + $(form_id).serialize() // first flavour
parameters=''&'' + Form.serialize($(form_id)) // second flavour
[...]
~~~
This works perfect for FF2, IE7 and Safari3 (in both flavours).
With Opera 9.x, I get the following javascript errors:
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
2008 Apr 18
5
show sum of textboxes
Hi all,
I have multiple textboxes containing numbers. I want to add up all the
numbers and show the sum. Can I select the textboxes by class and sum
the content?
This also has to happen realtime: when a number is changed ina textbox
the sum should also change.
can this be done?
regards,
Stijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are
2012 Jun 20
4
binary operators that never return missing values
Hi, I work with data sets with lots of missing values. We often need
to conduct logical tests on numeric vectors containing missing values.
I've searched around for material and conversations on this topic,
but I'm having a hard time finding anything. Has anyone written a
package that deals with this sort of thing? All I want are a group of
functions like the ones I've posted
2010 Jul 12
2
a small puzzle?
I know the following may sound too basic but I thought the mailing list is
for the benefit of all levels of people. I ran a simple if statement on two
numeric vectors (news1o and s2o) which are of equal length. I have done an
str on both of them for your kind perusal below. I am trying to compare the
numbers in both and initiate a new vector s as 1 or 0 depending on if the
elements in the arrays
2008 May 24
5
TypeError : transport.responseText has no properties
Hello all,
I''m using prototype in conjunction with Extjs to build out an Ajax-
driven app. I''m noticing that occasionally there will be Ajax
Requests that will occasionally not complete. After some
investigation, I found that when I made a call to String#evalJSON, it
would throw a TypeError with the following message :
transport.responseText has no properties.
When this
2006 Nov 29
2
problem with indexing a zoo object
My problem is the following : I create 2 zoo objects and then I try to
subset one of them using logic. indicesthatpass is a vector of trues and
falses but when I send it into bckret, it returns an empty bckret.
Obviously it has something to do with bckret being a zoo object and if I
do the same subsctripting off of coredata(bckret), I'm confident it will
work. But, I need to keep the minute
2004 Sep 10
1
Multi-line string constants: proposed patch
R 1.9.1 requires multi-line strings to contain a backslash at the
end of each line (except the last line). As noted by Mark
Bravington (http://tolstoy.newcastle.edu.au/R/help/02b/5199.html)
this requirement appears to be undocumented.
In S-Plus 6.2, multi-line strings do not need a backslash for continuation.
I recently (http://tolstoy.newcastle.edu.au/R/devel/04b/0256.html)
requested
2007 Jul 19
0
ASP.NET AJAX Web Services and Prototype Version 1.5.1.1
I wanted to use a web service published with ASP.NET AJAX from
Prototype Version 1.5.1.1
It''s easier to call an ASP.NET AJAX web service by using an ASP.NET
AJAX page with a proxy class, but I have an application which still
has many Classic ASP pages and using Prototype seemed like a better
idea than hand coding the the interactions, or figuring out how to
include all the right ASP.NET
2007 Nov 07
5
Prototype error - iterator is not a function
I''m starting to learn to use Prototype (v1.5.1.1) along with Mootools.
However I keep bumping into the same problem:
All of the inserts result in the error "iterator is not a function" at
line 542 of Prototype
memo = iterator(memo, value, index);
Am I missing something obvious here? I''m wondering if there''s an
incompatibility between Prototype and Domino
2016 Oct 28
2
Understanding and Cleaning Up Machine Instruction Bundles
> On Oct 27, 2016, at 5:05 PM, Andrew Trick <atrick at apple.com> wrote:
>
>
>> On Oct 27, 2016, at 2:33 PM, Matthias Braun <mbraun at apple.com> wrote:
>>
>> == BUNDLE instruction / operands ==
>> For many backend passes a bundle can appear as a single unit. However one important tool
>> here is having an iterator over all operands of this
2016 Oct 28
0
Understanding and Cleaning Up Machine Instruction Bundles
> On Oct 27, 2016, at 2:33 PM, Matthias Braun <mbraun at apple.com> wrote:
>
> == BUNDLE instruction / operands ==
> For many backend passes a bundle can appear as a single unit. However one important tool
> here is having an iterator over all operands of this unit.
>
> The original RFC indicates that to achieve this without changing a big number
> of passes an
2016 Oct 28
0
Understanding and Cleaning Up Machine Instruction Bundles
> On Oct 27, 2016, at 5:30 PM, Matthias Braun <mbraun at apple.com> wrote:
>
>>
>> On Oct 27, 2016, at 5:05 PM, Andrew Trick <atrick at apple.com <mailto:atrick at apple.com>> wrote:
>>
>>> The system works because the default basic block iterator moves from bundle to
>>> bundle skipping the instructions inside the bundle. Iterating
2009 Nov 06
1
issues with SSOAP when wsdl has ComplexTypes
I recently started trying R and SSOAP and was able to successfully try a "hello
world" service. I am now trying to get a more complicated interface to work with
SSOAP and so far failed miserably at that and so need any help I can
get from here.
The service I am attaching is a prototype for a full service that would
take information to identify a data source and a query to run and
return