Question : How do I open a lightwindow and submit params via post?

hi, i've got the following problem:
within a view of my rails program i'm trying to open a form in a lightwindow. for this form need one predefined value (the category id from where the form is opened from)

that's why i have to send a parameter - I tried to send this parameter via get, which didn't work. the lightwindow just didn't open. i guess the reason for that is, that the opening lightwindow is not a new browserwindow and therefore can't receive any params via get. so i have to find another solution:

can i call lightwindow and submit the parameters somehow via post?
this is my code:
Code Snippet:
1:
<%= image_tag "new_idea.png" %><%= lightwindow_link_to 'new idea', "/notes/new?cat_id=#{category.id}" %>
Open in New Window Select All

Answer : How do I open a lightwindow and submit params via post?

ok, so i solved the problem differently, by creating a new note within the categories controller. that way i didn't have to submit any parameters.
Random Solutions  
 
programming4us programming4us