Antivirus
11-20-2007, 04:22 PM
Hello,
I'm having a problem passing the static value of '1' within my function foo below...
onclick="foo($post[postid], <if condition="$vboptions[my_option]">true<else />false</if>, 1); return false;"
the boolean value passes just fine, however the 1 gets lost every time... I've tried enclosing it within '1' with no loch, i know this has to be simple, but my brain is starting to hurt. Thanks :)
##### SOLVED
(doh... stoopid me - it was somethign else)
I'm having a problem passing the static value of '1' within my function foo below...
onclick="foo($post[postid], <if condition="$vboptions[my_option]">true<else />false</if>, 1); return false;"
the boolean value passes just fine, however the 1 gets lost every time... I've tried enclosing it within '1' with no loch, i know this has to be simple, but my brain is starting to hurt. Thanks :)
##### SOLVED
(doh... stoopid me - it was somethign else)