goodtech
-
Posts
5 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by goodtech
-
-
thanks for your reply
look this link
http://tutorialzine.com/2011/11/chained-ajax-selects-jquery/
class SelectBox{ public $items = array(); public $defaultText = ''; public $title = ''; public function __construct($title, $default){ $this->defaultText = $default; $this->title = $title; } public function addItem($name, $connection = NULL){ $this->items[$name] = $connection; return $this; } public function toJSON(){ return json_encode($this); }}
---------------------
so how can i use link on this select ?
-
Link does not work again on select option
ouch
-
OMG I forgot
guys just u need change like bottom
$carone = '<a href="#">this car is number one</a>';$caseSelect = new SelectBox('only for test','');$caseSelect->addItem($carone) ->addItem('car2') ->addItem('car3') ->addItem('car4');
-
hi guys i have this code
---------------------------
$caseSelect = new SelectBox('only for test','');$caseSelect->addItem('car1') ->addItem('car2') ->addItem('car3') ->addItem('car4');
---------------------------
i want to know , how can i add link (http...) to this option on select
thanks in advance
How can i add link to select option
in PHP
Posted · Edited by goodtech
Thanks alot mate
https://github.com/tuupola/jquery_chained