jQuery4PHP Current Release: v1.7.0 - Stable

jQuery version: v1.8.2

jQueryUI version: Stable (1.8.24: jQuery 1.3.2+)

jQuery4php API

Buttons

Hide navigator Hide source code

Basic


Checkbox: In this way, was builded when the buttonset is ready:
<br/><br/>

<?php echo YsUIButton::initButtonset('chkButtonsetId') ?>
  <?php echo YsUIButton::chekboxButton('chkButtonId1','B') ?>
  <?php echo YsUIButton::chekboxButton('chkButtonId2', 'I') ?>
  <?php echo YsUIButton::chekboxButton('chkButtonId3', 'U') ?>
<?php echo YsUIButton::endButtonset() ?>

<br/>
Radio: In this way, was builded when the buttonset is ready:
<br/><br/>

<?php echo YsUIButton::initButtonset('rdoButtonsetId') ?>
  <?php echo YsUIButton::radioButton('rdoButtonId1','B','name="radio"') ?>
  <?php echo YsUIButton::radioButton('rdoButtonId2','I','name="radio"') ?>
  <?php echo YsUIButton::radioButton('rdoButtonId3','U','name="radio"') ?>
<?php echo YsUIButton::endButtonset() ?>

<br/>
Radio: In this way is faster:
<br/><br/>
<div id="radio">
  <?php echo YsUIButton::radioButton('rdoButtonId11','B','name="radio1"') ?>
  <?php echo YsUIButton::radioButton('rdoButtonId12','I','name="radio1"') ?>
  <?php echo YsUIButton::radioButton('rdoButtonId13','I','name="radio1"') ?>
</div>
<?php echo YsUIButton::buildButtonset('#radio')->execute() ?>








Checkbox: In this way, was builded when the buttonset is ready:


Radio: In this way, was builded when the buttonset is ready:


Radio: In this way is faster:

Comments

  • Support requests, bug reports, and off-topic comments will be deleted without warning.

blog comments powered by Disqus

About

Demos

jQueryUI

Plugins Support - New!

Components - New!

Project Developed by The YepSua Team
SourceForge.net