vinay,
use "new Element()"
var input = new Element(''input'', {type:
''text'', value: ''default''});
input.observe(''blur'', myOnBlurFunction);
$(''mydiv'').appendChild(input);
var box = new Element(''input'', {type:
''checkbox'', value: ''1''});
$(''mydiv'').appendChild(box);
- Ken Snyder
On Tue, Apr 1, 2008 at 4:05 AM, vinay
<contact.bk-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
wrote:>
> im new to aculo and using in a project .
> i want kw how to generate dynamically input box or check box.
> pls help me.
>
> Thanks
> Binay
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---