Displaying 2 results from an estimated 2 matches for "add_visit_for_this_pt".
2006 Apr 24
4
javascript in RoR page - Check ALL/uncheck ALL buttons
I am trying to implement a check all and uncheck all button for my check
boxes.
Here is what I have below. I am getting this error each time:
Error: document.myform.add_visit_for_this_Pt has no properties
Source File: http://localhost:3000/AddPatientVisit/addvisits
Line: 1
Strange that I can''t seem to pass value into the function.
Thanks for your help!
<SCRIPT LANGUAGE="JavaScript">
<!--
// by Nannette Thacker
// http://www.shiningstar.net
// This...
2006 Apr 24
12
pass checked boxes to controller
Noobie question here. :)
I have a form with check boxes on them. I simply want the user to check
the appropriate boxes, click the action (Add Visits). It''s my
understanding, that these check box values go into a hash
(add_visit_for_this_Pt), but I can''t seem to get this hash back to my
controller for processing. Below is my form.
Basically, all the controller is doing/going to do is call an api and
send some data.
Thank you very much for your help!
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN&q...