[Proto-Scripty] Re: $F is returning the field ID instead of the field value

2009-06-11 Thread jhicks
Never mind. I figured it out. My javascript code was within a PHP block and so the $ was getting interpreted as the beginning of a variable. :( On Jun 11, 11:38 am, jhicks wrote: > I'm trying to do something I've done many time before, but I'm getting > different resul

[Proto-Scripty] Re: Getting checked checkbox values

2009-06-11 Thread jhicks
Anyway, I ended up going a different route that is working great. http://pastie.org/508742 Jeremy On Jun 11, 5:07 am, "Alex McAuley" wrote: > Updated your code to include if the checkbox is checked!! > > http://pastie.org/508323 > > HTH > > Alex > >

[Proto-Scripty] $F is returning the field ID instead of the field value

2009-06-11 Thread jhicks
I'm trying to do something I've done many time before, but I'm getting different results. I have a very simple call to $F('MyField') within a function where the html is I'm doing an alert within the function call: alert($F('MyField'); which instead of giving me the value of the field is givi

[Proto-Scripty] Getting checked checkbox values

2009-06-11 Thread jhicks
I've got a group of checkboxes that display on a page. By clicking on a few different links on the side, the order of the checkboxes (and their text) will adjust based on which link was clicked. I'm doing an Ajax update when the link is clicked to get the new html. I need to get the values for al