[Proto-Scripty] readAttribute problem

2010-05-10 Thread vtsuper
Dear sir, the following is the offical example of read attribute. But would you tell me how to make it return the text 'Prototype'? a id=tag href=/tags/prototype rel=tag title=view related bookmarks. my_widget=some info.Prototype/a $('tag').readAttribute('href'); // - '/tags/prototype'

[Proto-Scripty] event order part2

2009-11-27 Thread vtsuper
I have post a question before http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/e7c9e808777c8ba7/f2af8212bc699643?lnk=gstq=event+order#f2af8212bc699643 I would like to solve this problem accroding to this site

[Proto-Scripty] $F() cannot get radio button values?

2009-07-29 Thread vtsuper
I have a simple question, is $F() cannot get radio button values? Should I use the old method document.form.xxx[0].checked to check the value??? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Prototype

[Proto-Scripty] script.aculo.us compare Jquery UI

2009-03-06 Thread vtsuper
Today I read the JQuery UI 1.7 http://jqueryui.com/demos/ I found that their document is clear, their demo has been cover most of the cases. For example Draggable, Droppable. It is really convenient for the developer. I remeber that about 1 to 2 years before, script.aculo.us has been developed

[Proto-Scripty] Re: passing parameter

2008-11-09 Thread vtsuper
thank you for your informationI think Ihave to rewrite most of my object...thanks anyway On Nov 9, 12:50 pm, kangax [EMAIL PROTECTED] wrote: On Nov 8, 12:23 am, vtsuper [EMAIL PROTECTED] wrote: here are the third style var test = new Frm('frm1',{method:'post',url:'testing.php

[Proto-Scripty] Re: passing parameter

2008-11-07 Thread vtsuper
Dear all, any new ideas about this question Victor On 11月7日, 上午12時53分, vtsuper [EMAIL PROTECTED] wrote: yes...this is my question Or are you asking which style to use when you're defining your own functions and classes? Both ways should be doing the same things...but what I want

[Proto-Scripty] Re: passing parameter

2008-11-07 Thread vtsuper
here are the third style var test = new Frm('frm1',{method:'post',url:'testing.php'}); var test = new Frm('frm1','post','testing.php'); var test = new Frm({id:'frm1',method:'post',url:'testing.php'}); which style that the prototypejs developer suggest us to use?? On 11月8日, 上午10時53分, vtsuper

[Proto-Scripty] Re: passing parameter

2008-11-06 Thread vtsuper
with. Or are you asking which style to use when you're defining your own functions and classes? HTH, -- T.J. Crowder tj / crowder software / com On Nov 6, 11:38 am, vtsuper [EMAIL PROTECTED] wrote: Dear all, I have a small question. when should I pass parameter by variables? var