2013-06-10, 04:02 PM
Hey,
I'm wondering myself how to use show/hide in a plugin based on the value of a checkbox.
For example, my checkbox is in a table like this:
If the value clicked to 'yes', how to display an the following defined rows? I know it's something with jquery/javascript, but I can't get it working on the ACP of MyBB.
Is there anyone who has experience with this?
Thx,
Tankey
I'm wondering myself how to use show/hide in a plugin based on the value of a checkbox.
For example, my checkbox is in a table like this:
$form_container->output_row('Test <em>*</em>', 'This is just an easy test thingy for MyBB', $form->generate_yes_no_radio('test_sec', $input['test_sec'], true, array('id' => 'test_sec_yes'), array('id' => 'test_sec_no')), 'test_sec');
If the value clicked to 'yes', how to display an the following defined rows? I know it's something with jquery/javascript, but I can't get it working on the ACP of MyBB.
Is there anyone who has experience with this?
Thx,
Tankey