Displaying 20 results from an estimated 400 matches similar to: "xml handling"
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 Apr 06
4
problem with IE
hello there, im having a little problem with Internet Exploiter, im doing
this:
//// CODE ////
var m = $(''XYZ'').cloneNode(false)
m.setAttribute(''id'', ''XYZ_2'');
m.value = '''';
var onblur = "alert(''hola'');";
m.setAttribute(''onblur'', onblur);
2006 Jan 11
3
divider id of container
Hi there, i need to drag an draggable element to an child div node inside an
another div container, but i create the child node dynamicly with ids like ''
div_ + i '' where ''i'' is a incremental variable, thats the problem because i
need get the id of this child nodes to manipulate it, somebody knows how if
i drag the element to that child node i can get the id of
2006 May 18
1
Event.observe problem
Hello there, i have a textbox, i fill the textbox with a date from a
javascript popup calendar, im using the like this
Event.observe(''myTextBoxId'', ''change'', function(){ alert(''epale!'');});
and is not working, if i put the alert inside the input element in the
onchange attribute it works, is that a prototype bug?
--
//
// Ing. Francisco
2006 Feb 16
2
javascript node with Ajax.Updater
Hi there, im having a problem with the Ajax.Updater, im using the
Ajax.Updater to get an divider, inside the div i have a javascript node that
i use to do javascript stuff, the problem is when i get the divider i get
whole the html but not the javascript node, thats a bug?
*anybody know what''s happening?*
--
//
// Ing. Francisco J. Calderón S.
//
2005 Dec 28
1
Problem with IE
Hi there, let me introduce myself, i am a web developer from venezuela, my
english is not the best, sorry by that...
i am developing a form builder, is simple, just dragging form elements to a
droppable container, all works well but im showing to my friends and...
surprise!!! doesn''t work in Internet Exploiter, i am a linux user with
firefox, im looking in internet how fix it but i dont
2006 Sep 19
1
Problem using POST with IE 6
Hey guys, hope one of you can help me.
I have the following code that works with Firefox but not within IE.
The basic premise is that when using a POST to send to my page, IE
doesn''t seem to send it and therefore doesn''t fire the database update.
GET''s work fine in IE but due to the potential volume of text, a GET
is not realistic.
In Firefox, GETs and POSTs work as
2006 Mar 16
20
help with each
can you please tell me why this is not working? i got the example for how
to use each online and copied it to a t (except i added the if). its
telling me items.each does not exist.
var items = document.getElementsByClassName(''editView'');
if (items.length > 0){
items.each(function (result){
thisid = result.id;
thiskey = thisid.replace(/se_item_/gi, '''');
2006 Apr 06
4
function onComplete how to overload?
Hi all. I my apps I need to use Ajax.Request Object. One of the object options is onComplete fuction which looks like this:
funcion onComplete (originalResponse)
{
..some operations
}
I need pass to function one more parameter, how to do it? is is possible? I can''t use AJAX Updater because result of Ajax Call is uploaded to the div that I defined earlier, and in my situations I
2005 Dec 13
2
Ajax.Request onComplete
Hello,
I have a small class where i want to use attributes of the instance when an
ajax call returns, so I wrote:
*var* MyClass = Class.create();
MyClass.prototype = {
initialize: *function*(form_id, rendered_id) {
this.form_id = form_id;
*var* edit_form = $(form_id);
*var* rendered_node = $(rendered_id);
*if* (!edit_form || !rendered_node) {
this.enabled = *false*;
2006 Feb 21
2
Ajax status
Hello All. I''m making ajax call to some url but to connect and
get data from that url first I check session for user which using
AJAX. If session is expired I redirect Ajax call to other url.
That url return form to login. There is one problem - I check in
function onResponse(OriginalRequest) OriginalRequest status and
status is always 200 - whatever I''m logged or not. So i
2008 Jan 30
3
Ajax.Request - nothing in responseText, I need it!!
I am at a complete loss here and I need a solution asap! Any help is
GREATLY appreciated!!! I have my request going out to a php script
that sends a query to my db and then echos the return data into html
format. this script works fine when I go to the url in a browser and
send the correct params.
However, in my ajax request, nothing gets returned?! Here is my
code...
2006 Feb 09
5
Ajax.Updater not populating element - please help
Hello everyone,
This is related to my post a few days ago regarding multi select
lists. I''ve rewritten the code and now can''t seem to get the
Ajax.Updater in getModels() to "execute", and the element never gets
populated.
I know it''s something obvious and hope someone could point it out to me.
Thanks for any help.
Here''s my code:
<script
2006 Mar 07
1
Ajax.Responders- how to get responseText?
Hi All. In my site I have situation that I always want to execute some piece of code when AJAX call happen. I am using function onCreate and onComplete from tutorial:http://www.sergiopereira.com/articles/prototype.js.html
but I don''k how to manipulate Ajax responseText in this function. Does anyone know how to do it?
Gregor
----------------------------------------------------
Zagraj o
2006 Apr 27
0
radio buttons and $F function
Hello there, i working with prototype but i have a little doubt, I''ll always
use the shortcut $F to get values in a form, that''s ok, but what happens if
i need get the value of one of three radio buttons value? normally i get
the radio button value with document.formName.radioName but the shortcuts on
prototype works with the id, there is a prototype way to do this??
greets
--
2005 Dec 19
0
sortables with revert
Hi all, im starting to use ajax and i need to do two lists of dividers (A
and B), one of the containers have the source (A) and the other the receiver
container (B), what i need is drag objets from the A to B but what i need
when i drag an A.1 object to B, i fill the B container but the A.1 object
stay in his A container, if i need put more A.1 objects in B i can do cause
the A.1 object stay in
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
2007 Mar 13
3
showResponse() Callback not being called in Firefox
Hello All ---
I am using the AJAX Object to send form data to a PHP page. In IE, I
am able to get a call back thru the showResponse(); However, in
Firefox, the callback never gets executed. Here is my code:
function showResponse()
{
alert(''Thank You. Your information has been sent'');
}
function processForm()
{
var url = "sendEmail.php";
var name =
2006 Mar 23
4
XML parser fixed
Hi, I changed the XML parser who have been write by Greg (Gregory Hill)
and changed some things.
It did not work in IE and Safari and opera.
I fixed some bugs. Now it works fine in IE, Safari, Firefox and Opera.
/* --------------------------------------- */
XMLParser = Class.create();
Object.extend(XMLParser.prototype,
{
initialize: function (XMLFile, options)
{
2007 Mar 01
3
Ajax.PeriodicalUpdater using Effect.Highlight to highlight newly loaded div
Hi folks. So far I have managed to get dataloading into a div froma
php script. This script just passes the time on the server in a div to
the javascript below. I am trying to get the last loaded data to call
Effect.Highlight but it seems to highlight the 2nd last data instead.
Can anyone see what''s going wrong here? I''ve tried everywhere to solve
this.
Check the code in action