Displaying 20 results from an estimated 700 matches similar to: "Autocomplete - Destroying the object"
2006 Mar 17
10
good javascript xml parser
Anyone know of a javascript function that will take an xml document and
turn it into an associative array?
Basically it would take something like this:
<body>
<item>
<id>1</id>
<name>Bob</name>
</item>
<item>
<id>2</id>
<name>John</name>
</item>
</body>
And turn it into something like this:
{
2008 Jun 26
7
Strange readyStates in prototype Ajax
Hi,
I''ve never posted here before so please forgive me if I''m not
observing proper decorum, yadda yadda yadda :-)
I''ve ran into a very, very strange bug with Prototype I wanted to
share and see if anyone else has seen this. In a few of my projects
involving Ext JS, I''m using the TreePanel control, which uses AJAX to
load child nodes asynchronously. Because I
2007 Feb 12
18
document "expando" properties broken in Konqueror
I noticed that some of my event handlers and scripts evaluated in ajax
responses didn''t work in Konqueror (3.5.5).
document.getElementsByClassName is not defined in these contexts.
I can work around this, by saving document.getElementsByClassName in a
(namespaced) global variable once and reassigning it before each use.
Still, this misfeature is annoying and not restricted to this
2009 Jul 24
6
Routes from raw js (using XMLHttpRequest)
I am making an ajax call from js to call a method (assocboxchange) in
my controller (AssociatesController), using XMLHttpRequest. I know
the XMLHttpRequest works fine because I use it in other places with
success. My problem is my URL I am using for this request doesn;t
access the method in my controller which I (think) I am specifying. I
am having it post to /channels/assocboxchange/" with
2005 Oct 25
2
Content-Type: application/rdf+xml
Hi,
I am trying to parse the response received from a rdf file using DOM.
However, I am not able to get anything in the responseXML. It always returns null.
Following is the content type I receive from the server.
Content-Type: application/rdf+xml
Can someone let me know how I can receive this as an xmlObj?
Thanks in advance,
Mandy.
_______________________________________________
2009 Apr 12
3
Multi-button form
It cannot be this difficult, especially in rails. Here is my form code
in a partial for the index action of a controller:
<% form_tag({:controller => controller_name, :action => ''index''},
{:method => :get, :class => ''form''}) do %>
<div class="columns">
<div class="column left">
<p>
2006 Apr 15
1
Begin with Autocompleter
Hi list:
I''m a young developer that need a little help with scriptaculous "Autocompleter". I work with PRADO framework (http://www.xisc.com) and PHP as a script language. Now this is a little function in JavaScript for make a AJAX call and show the results without reload the entire page. See below:
1 function makeRequest(url,element) {
2 var http_request = false;
3 if
2005 Oct 11
0
aborting xmlhttp requests?
Hi,
I just wanted to find out if it is good thing to cancel any existing xmlhttprequests using the abort method (when there are existing connections) when the next request is fired?
Does the scriptaculous / prototype library take care of this or does the browser automatically take care of this?
Is something like the following necessary?
// check for existing requests
2006 Apr 17
7
Serve static XML files how?
Hi,
a Javascript in one of my Rails templates needs to load a static XML
file. I tried several places to put the actual XML file, and I also
tried to make the file a rails template (tried both .rhtml and .rxml)
and access it via a controller action. None of these ways worked. Does
the lighttpd server know how to serve XML files, or do I need to
configure it first? Or, is there a good workaround?
2006 Mar 16
23
AJAX on Mobile Internet Explorer
Hi!
I try to get AJAX running on a mobile Windows Mobile 5.0 based device
and failed. There should be a JavaScript support but nothing happens.
Have any of you experience with the rails javascripts on a this platform
or are there any hints, documentation on the net?
tia,
--
Daniel V?lkerts
Protected by Anti Pesto.
2002 Nov 08
3
Question about version 2.0.6 & 2.0.7
Hi,
This is my first time mailing to this site.
I am running two different versions of Samba on two different servers. 2.0.6
on server A & 2.0.7 on server B
In the smb.conf file for 2.0.6 I have a parameter, allow hosts=, that
contains multipul IP addresses on each entry &
in the global entry. On server B, 2.0.7, I do not have this parameter
defined on any entry.
My question is :
2005 Oct 18
3
Ajax.Request / XmlHttpRequest details
Does anyone know a good reference for the various statuses that
XmlHttpRequest''s readyState property can have? I mean, I know what
the states are, but I''m unclear on the circumstances under which each
occurs...
In a simple test I wrote, I''m seeing the loaded, interactive and
complete states (i.e. my Ajax.Request instance calls its onLoaded,
onInteractive and
2006 Jan 18
3
Partial Problems
Hey guys,
I''m having a little trouble working out partials.
I have successfully made a partial work in my list.rhtml, but as I see it on
the 15min introductry video. They guy uses one partial on multipul pages.
At the moment I am trying this in my show.rhtml, I write <%= render :partial
=> "journal" %> and I get this.
NoMethodError in Write#show
>
> Showing
2007 Dec 03
3
DOMContentLoaded error on IE6
Hi,
I am loading prototype dynamically using the following js:
var scr=document.createElement(''script'');
scr.setAttribute("type","text/javascript");
scr.setAttribute("src","./static/js/lib/prototype.js");
document.getElementsByTagName("head")
[0].appendChild(scr);
on IE6
2011 Aug 28
1
[LLVMdev] LLVM supports Unicode?
geovanisouza92 at gmail.com wrote:
> I'm trying create a new programming language, and I want that it have
> Unicode support (support for read and manipulate rightly the source-code and
> string literals).
LLVM IR iteself only supports one string ty, which is an array of
i8 (8 bit integers). In your compile you can use utf-8 and any
utf8 string literal can be stored in an i8 array
2007 May 15
9
NS_ERROR_NOT_AVAILABLE
Exception:[Exception... "Component returned failure code: 0x80040111
(NS_ERROR_NOT_AVAILABLE) [nsIXMLHttpRequest.status]" nsresult:
"0x80040111 (NS_ERROR_NOT_AVAILABLE)" location: "JS frame ::
prototype.js :: anonymous :: line 920" data: no]
Hi,
i read about this problem and i know, that calling
nsIXMLHttpRequest.status causes it.
prototype has a try-catch-block
2011 May 05
1
[LLVMdev] Could LLVM or Clang go backward to modify c source code?
OK. Thank you.
What I want to do is: Fix source code in-place, then feed it to compiler
normally.
I assume I can fix source code in-place using clang::SourceManager, but I
cannot find the appropriate API.
Now I know that way is infeasible.
Thanks again.
2011/5/5 Joshua Warner <joshuawarner32 at gmail.com>
> Wen-Han,
>
> It sounds like there are two problems here: first is
2006 Nov 23
3
questions about extended attributes support across *nix & osx (hfs+) filesys
i've built up rsync on both opensuse & osx from src.
on osx, it's v2.6.3 w/ both apple's "Extended Attributes" patches:
http://www.opensource.apple.com/darwinsource/10.4.8.ppc/rsync-24/patches/EA.diff
http://www.opensource.apple.com/darwinsource/10.4.8.ppc/rsync-24/patches/PR-3945747-endian.diff
and the 'lartmaker' fix (iteself, slightly fixed ...):
2011 May 05
0
[LLVMdev] Could LLVM or Clang go backward to modify c source code?
Forgot to CC the list.
On Wed, May 4, 2011 at 10:16 PM, Joshua Warner <joshuawarner32 at gmail.com>wrote:
> Wen-Han,
>
> It sounds like there are two problems here: first is detecting when free is
> not properly called, and figuring out where to insert the call - which seems
> like an intractable problem by iteself. Second is a reversible translation
> from C to LLVM IR.
2002 Mar 27
0
new ICQ, and com dlls
Maybe im the only one.. but I find putting the message type [WINE] in
the header
a very usefull tool when ppl like me get alot of mail...
anyway, I tried to install the new version of ICQ using wine, and I got
a bad version for
'50comupd.exe' (which is com components), wine iteself installs 4.01 ,
not 5.0 .
I installed 5.0, and it seems to install correctly, however I guess it
doesnt do it