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 <[EMAIL PROTECTED]> 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@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to