I know, I know. It's bad in all it's glory This was quick and dirty,
if it's a useful feature then it will be cleaned up for your viewing
pleasure. Thanks!
On Aug 10, 10:08 am, Jonathan Kraska <
jakra...@gmail.com> wrote:
> Also, your conglomerate of php, mysql, html and javascript in a single file
> echo-ed out with php makes me cringe.
>
> Jonathan
Kraskawww.jkraska.com
>
>
>
> On Tue, Aug 10, 2010 at 10:03 AM, Ben Zajac <
ben.za...@gmail.com> wrote:
> > Jon also noticed: $("#crimeType").change(function(){
>
> > Should that be $("#criType").change(function(){ ?
>
> > On Tue, Aug 10, 2010 at 10:01 AM, Ben Zajac <
ben.za...@gmail.com> wrote:
>
> >> .val() works on the <select> element, not the <option> element.
>
> >> var sel = $("#criType option:selected").val();
>
> >> should be either:
>
> >> var sel = $("#criType").val();
>
> >> or
>
> >> var sel = $("#criType option:selected").attr('value');
>