i have been sarching still can not find correct one, one of the suggestion is below,
i would like to learn your idea.
this works in some manners, i mean the disable works but buttons value which is written on (continue) strange. it seems buttons value "continue" is written twice. i mean like to button together in same window.
<?php echo tep_draw_button(IMAGE_BUTTON_CONTINUE, 'triangle-1-e ', null, 'primary', array('disabled' => 'true')); ?>
in html_out.php
i added
if ( isset($params['disabled']) && $params['disabled'] == 'true') {
$args[] = 'disabled: true';
}
before
if (empty($title)) {
$args[] = 'text:false';
}
the answerer is written like this but i do not understand
i mean button is described disabled and this makes button able and disable i think i do not need this.
and for a <a> link button :
<script type="text/javascript">
$( "#element_id" ).button({ disabled : true }).click(function() {return false;});
</script>
suggestions are welcome