Hi Tobie,

THanks a lot for the replies!

I ended up using $(this).up('.filter').submit(); and it works like a
charm and its not as expansive as what Vladimir suggested too :).
I walked through my custom JS and figured out where exactly it broke.

There are places in my JS where i do something like

chem_mark = parseFloat($('student_chem_mark').innerHTML) || 0.00;

OR initializing a float variable with 0 to calculate some stuff and
then INSERTING THE SAME variable back into the page

avg_percent = 0.00
$('student_avg').value = avg_percent.

In both these cases, IE works only when I use "var chem_mark =" or
"var avg_percent =". I dont know the whole idea behind it but it just
works now :D. Any idea what the story is behind it?
also, i dont have to mention 'var ' when I do the following

chem_mark = parseFloat($('student_chem_mark').value) || 0.00;

for this of course, 'student_chem_mark' has to be an input field.

On May 16, 10:20 pm, Tobie Langel <tobie.lan...@gmail.com> wrote:
> > Could you tell me what the right syntax is that I should be using for
> > IE to be able to interpret my code?
> You should have a look at the following tutorial:
> http://prototypejs.org/learn/extensions
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com
To unsubscribe from this group, send email to 
For more options, visit this group at 

Reply via email to