I have php function which is called dragAndDrop() and i want to call that function after check mark is marked.
There is my code how i tried to achieve this:
<td nowrap="nowrap">
<label for="drag_drop"><?php echo $AppUI->_('Turn on drag and drop'); ?></label>
</td>
<td>
<input type="checkbox" name="drag_drop" id="drag_drop" value="1" onclick="javascript:document.form_buttons.submit()" <?php echo (dragAndDrop() ? 'checked="checked"' : ''); ?> />
</td>
I found that it can be done through javascript, but I need call php function.
Aucun commentaire:
Enregistrer un commentaire