/*** this peice of code right here should work****/ var prjHeading=Builder.node(''h5'',''Project: ''+project_Title); td=Builder.node(''td'',{id:''nextActionDivLabeler_''+(project_Id.split("_") [1])},[Builder.node(''h5'',''Project: ''+project_Title)]); //td.appendChild(prjHeading);// essentially this line should work tr.appendChild(td); /*** this peice of code right here should work****/ this peice of code doeesnt work can anyone please tell me why,, I have gone over this again and agaun and am unable to find the solution somebody please HELP........ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Colin Mollenhour
2007-Feb-28 04:36 UTC
Re: Builder.node is killing me herein...please help asap
I don''t think anything is wrong with it, but you should try simplifying it to make sure there aren''t any undefined variables being used or the project_Id.split("_") is actually returning an array with at least two elements for example. Any exceptions thrown inside an Ajax.Request/Updater callback will be caught silently unless you register an onException callback (I posted some code that handles these exceptions really well for debugging eralier on this group). Firebug and console.debug are your friends :) Colin snake wrote:> /*** this peice of code right here should work****/ > > var prjHeading=Builder.node(''h5'',''Project: ''+project_Title); > td=Builder.node(''td'',{id:''nextActionDivLabeler_''+(project_Id.split("_") > [1])},[Builder.node(''h5'',''Project: ''+project_Title)]); > //td.appendChild(prjHeading);// essentially this line should work > tr.appendChild(td); > /*** this peice of code right here should work****/ > > this peice of code doeesnt work can anyone please tell me why,, > I have gone over this again and agaun and am unable to find the > solution > > somebody please HELP........ > > > > > >--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
Thanks Colin,, i really appreciate ur help but unfortunately all the variables are full . I have broken my head with firebug console as well but to of no use. see this url--http://www.cando.com/clients/ todo/index.asp , this is an excellent example of dragdrop and builder usage but unfortunately i ahve been able to get it of almost 95% these small issues have taken theier toll on me,,,any advice i mean any advise would be helpful at this juncture...i am hell desperate On Feb 27, 11:36 pm, Colin Mollenhour <eliteii...-NPSFNn/7+NYVo650/ln6uw@public.gmane.org> wrote:> I don''t think anything is wrong with it, but you should try simplifying > it to make sure there aren''t any undefined variables being used or the > project_Id.split("_") is actually returning an array with at least two > elements for example. Any exceptions thrown inside an > Ajax.Request/Updater callback will be caught silently unless you > register an onException callback (I posted some code that handles these > exceptions really well for debugging eralier on this group). Firebug and > console.debug are your friends :) > > Colin > > snake wrote: > > /*** this peice of code right here should work****/ > > > var prjHeading=Builder.node(''h5'',''Project: ''+project_Title); > > td=Builder.node(''td'',{id:''nextActionDivLabeler_''+(project_Id.split("_") > > [1])},[Builder.node(''h5'',''Project: ''+project_Title)]); > > //td.appendChild(prjHeading);// essentially this line should work > > tr.appendChild(td); > > /*** this peice of code right here should work****/ > > > this peice of code doeesnt work can anyone please tell me why,, > > I have gone over this again and agaun and am unable to find the > > solution > > > somebody please HELP........--~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-spinoffs-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---