Re: [Rails-spinoffs] migration to rails

2006-05-26 Thread Francisco Calderon
On 5/26/06, Ryan Gahl <[EMAIL PROTECTED]> wrote: Why not migrate to .NET or JSP?Don't waste time learning yet another spaghetti scripting language, learn a viable application development platform that businesses are looking for talent in. All the tools are now FREE :-), including for .NET. And yes,

[Rails-spinoffs] Event.observe problem

2006-05-18 Thread Francisco Calderon
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

[Rails-spinoffs] radio buttons and $F function

2006-04-27 Thread Francisco Calderon
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 shortcut

Re: [Rails-spinoffs] problem with IE

2006-04-06 Thread Francisco Calderon
hi, i found the answer, the problem is that event handler attributes are functions, not strings. Mozilla browsers parse the string and create a function object, just like they do when they parse the HTML. IE, expects you to set the attribute to a Function object. the new code is.. /// CODE  

[Rails-spinoffs] problem with IE

2006-04-06 Thread Francisco Calderon
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 >     m.setAttribute('onblur',  onblur);     y6.appendChild(m); CODE where "XYZ" is an input

[Rails-spinoffs] Re: problem with Ajax.Updater evalscript and firefox

2006-03-22 Thread Francisco Calderon
i answer me, the problem was i was putting the _javascript_ function inside the page with the form, now i put the functions in the page who call the form and works well, greetsOn 3/22/06, Francisco Calderon <[EMAIL PROTECTED]> wrote: Hello there people, im having a problem with the Ajax.U

[Rails-spinoffs] problem with Ajax.Updater evalscript and firefox

2006-03-22 Thread Francisco Calderon
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 ans

Re: [Rails-spinoffs] help with each

2006-03-17 Thread Francisco Calderon
hello there, what is the diference exactly between the two arrays? On 3/16/06, Ryan Gahl <[EMAIL PROTECTED] > wrote:You first have to convert it to an enumerable array (use the $A() helper method for that)...--    Ing. Francisco J. Calderón S.//   [EMAIL PROTECTED]//   Usuario de GNU/Linux  nº

Re: [Rails-spinoffs] xml handling

2006-03-03 Thread Francisco Calderon
i did it, the problem was i am using var xml = originalRequest.responseText; i need to use this var xml = originalRequest.responseXML; thx a lotOn 3/3/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Make sure the response you are receiving is XML and not Text in case you want to traverse throu

Re: [Rails-spinoffs] xml handling

2006-03-03 Thread Francisco Calderon
On 3/3/06, Maninder, Singh <[EMAIL PROTECTED]> wrote: Make sure the response you are receiving is XML and not Text in case you want to traverse through XML.Check it by checking the responseHeaders(). how? i put this function showResponse(originalRequest){     alert(originalRequest.responseHeader

[Rails-spinoffs] xml handling

2006-03-03 Thread Francisco Calderon
Hello there, im having a problem with the xml handling, i want to get and xml node and put things in an input text but im a little lost, im using this code, but isn't work, what am i doing wrong? -
function getXML(){
    var url = '';
    var myAjax = new Ajax.Re

Re: [Rails-spinoffs] javascript node with Ajax.Updater

2006-02-16 Thread Francisco Calderon
thanks!!! with evalscripts works =D hosnestly i didn't know about evalscript, thanks a lot2006/2/16, Michael Peters <[EMAIL PROTECTED]>: Francisco Calderon wrote:> Hi there, im having a problem with the Ajax.Updater, im using the> Ajax.Updater to get an divider, inside

[Rails-spinoffs] javascript node with Ajax.Updater

2006-02-16 Thread Francisco Calderon
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

Re: [Rails-spinoffs] divider id of container

2006-01-13 Thread Francisco Calderon
thanks a lot, thats gave me an idea, see ya!2006/1/11, Jonathan Koren <[EMAIL PROTECTED]>: I did something similar, but I don't know if this actually answers yourquestion, but might be able to do something similar.I wanted to structure my ondrop callbacks to take both the element thatwas dropped an

[Rails-spinoffs] divider id of container

2006-01-11 Thread Francisco Calderon
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

[Rails-spinoffs] Problem with IE

2005-12-28 Thread Francisco Calderon
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 Intern

[Rails-spinoffs] sortables with revert

2005-12-19 Thread Francisco Calderon
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