Making sub selects

hey, i have a problem making subselects, i have this code and i want to
use it
in rails:

Brutyn NV Odevaere (VME res.) VME Complex Foster
Please select one of the options above first

i also use ajax for this, this is the code
<%= form_remote_tag ( :url => { :action => :new, :id => @caller_id },
:update => “div_info” ,
:complete => "
new Ajax.Updater(‘list’,’/callerids/list/,{asynchronous:true,
valScripts:true});
" ) %>
<%= render_partial ‘form’ %>
<%= submit_tag(“Create”, :id => ‘form-submit-button’) %>
Creating…
<%= end_form_tag %>

Now my problem is: how can i name the remote form???
cuz i need this in my code see ‘var selbox = document.myform.geotagid;’
and
others. i want to use names because in the background i have also forms
for
searching, so i dont want to use numbers like forms[1] or forms[2].

can anyone help me?? or have any expirence in this?
later on i want to write the javascripts value with a loop for each
client.

I have tried it with ajax, that works partial but, i selected the first
list,
the second list is created and the i submit and the change a whole
different
area of the page he shouldnt do.

thx in advance

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs