Displaying 1 result from an estimated 1 matches for "zip_geo".
2006 Aug 16
1
How to pass an array to a javascript function.
Hi - I''m having a bit of trouble with my application. I have this view
that calls a javascript function "zip_map". I want to pass to it a
scalar array "@zip_geo" but I don''t know how to pass an array to a
javascript function in rails. This is what the code looks like:
THE .rhtml file:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns=&qu...